Share via


TemplateBindingExtensions Class

Extension methods for ITemplateBinding.

Inheritance Hierarchy

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

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

Syntax

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

The TemplateBindingExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member CreateSubstitution(ITemplateBinding, ITemplateParameter, IParameterableElement) Bind a type to a parameter.
Public methodStatic member CreateSubstitution(ITemplateBinding, ITemplateParameter, Boolean) Bind a Boolean value to a parameter.
Public methodStatic member CreateSubstitution(ITemplateBinding, ITemplateParameter, Int32) Bind an integer to a parameter.
Public methodStatic member CreateSubstitution(ITemplateBinding, ITemplateParameter, String) Bind a string to a parameter.
Public methodStatic member CreateTemplateBinding Bind the given classifier to given template classifier. If required, add parameter substitutions using CreateSubstitution.
Public methodStatic member CreateTemplateParameter(IClassifier, IParameterableElement) Creates a template parameter that references given parameteredElement.
Public methodStatic member CreateTemplateParameter(IClassifier, TemplateParameterKind, String) Creates a template parameter with the given name.
Public methodStatic member CreateTemplateSignature Creates a template signature on the given classifier.
Public methodStatic member FindTemplateParameter Find a template parameter by name.

Top

Remarks

For more information about UML diagrams, see Developing Models for Software Design.

For more information about using the UML API, see Extending 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

Reference

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace