DynamicAdapterManagerAttribute Class

 

Custom attribute used to indicate that an adapter manager supports any arbitrary LogicalAdapterId. Using this attribute on an AdapterManager implies that the AdapterManager can be used generically to support multiple different Adapters or multiple different Models. The MEF based ModelBus ConfigurationManager will query such AdapterManagers to discover which AdapterIds they support at runtime rather than just rely on MEF meta-data thus allowing the AdapterManager to dynamically support arbitrary models.

Namespace:   Microsoft.VisualStudio.Modeling.Integration
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.12.0.dll)

System::Object
  System::Attribute
    Microsoft.VisualStudio.Modeling.Integration::DynamicAdapterManagerAttribute

[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false)]
public ref class DynamicAdapterManagerAttribute sealed : Attribute

NameDescription
System_CAPS_pubpropertyIsDynamic

The MEF meta-data exposed by this Attribute. Indicates whether the AdapterManager supports any arbitrary LogicalAdapterId or not.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Provides an alternative to using the standard MEF [ExportMetadata(...)] attribute

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

Return to top
Show: