Share via


TemplateBindingExtensions Class

 

Extension methods for ITemplateBinding.

Namespace:   Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.TemplateBindingExtensions

Syntax

public static class TemplateBindingExtensions
[ExtensionAttribute]
public ref class TemplateBindingExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
type TemplateBindingExtensions = class end
<ExtensionAttribute>
Public NotInheritable Class TemplateBindingExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateSubstitution(ITemplateBinding, ITemplateParameter, Boolean)

Bind a Boolean value to a parameter.

System_CAPS_pubmethodSystem_CAPS_static CreateSubstitution(ITemplateBinding, ITemplateParameter, Int32)

Bind an integer to a parameter.

System_CAPS_pubmethodSystem_CAPS_static CreateSubstitution(ITemplateBinding, ITemplateParameter, IParameterableElement)

Bind a type to a parameter.

System_CAPS_pubmethodSystem_CAPS_static CreateSubstitution(ITemplateBinding, ITemplateParameter, String)

Bind a string to a parameter.

System_CAPS_pubmethodSystem_CAPS_static CreateTemplateBinding(IClassifier, IClassifier)

Bind the given classifier to given template classifier. If required, add parameter substitutions using CreateSubstitution.

System_CAPS_pubmethodSystem_CAPS_static CreateTemplateParameter(IClassifier, IParameterableElement)

Creates a template parameter that references given parameteredElement.

System_CAPS_pubmethodSystem_CAPS_static CreateTemplateParameter(IClassifier, TemplateParameterKind, String)

Creates a template parameter with the given name.

System_CAPS_pubmethodSystem_CAPS_static CreateTemplateSignature(IClassifier)

Creates a template signature on the given classifier.

System_CAPS_pubmethodSystem_CAPS_static FindTemplateParameter(IClassifier, String)

Find a template parameter by name.

Remarks

For more information about UML diagrams, see Create models for your app.

For more information about using the UML API, see Extend UML models and diagrams.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace

Return to top