StandardModelingAdapter Class
Represents a basic DSL based model adapter.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.Modeling.Integration.ModelBusAdapter
Microsoft.VisualStudio.Modeling.Integration.ModelingAdapter
Microsoft.VisualStudio.Modeling.Integration.StandardModelingAdapter
Namespace: Microsoft.VisualStudio.Modeling.Integration
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Integration.10.0.dll)
Syntax
'Declaração
<CLSCompliantAttribute(False)> _
Public MustInherit Class StandardModelingAdapter _
Inherits ModelingAdapter
[CLSCompliantAttribute(false)]
public abstract class StandardModelingAdapter : ModelingAdapter
[CLSCompliantAttribute(false)]
public ref class StandardModelingAdapter abstract : public ModelingAdapter
[<AbstractClass>]
[<CLSCompliantAttribute(false)>]
type StandardModelingAdapter =
class
inherit ModelingAdapter
end
public abstract class StandardModelingAdapter extends ModelingAdapter
The StandardModelingAdapter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
StandardModelingAdapter(ModelBusReference, ModelBusAdapterManager, ModelElement) | Constructor | |
StandardModelingAdapter(ModelBusReference, ModelBusAdapterManager, Store) | Constructor |
Top
Properties
Name | Description | |
---|---|---|
AdapterManager | ModelBusAdapterManager instance that creates this ModelBusAdapter instance. (Inherited from ModelBusAdapter.) | |
AdapterModelRoot | ||
AdapterStore | ||
DisplayName | The display name of the ModelBusAdapter (Inherited from ModelBusAdapter.) | |
Disposed | True if this ModelBusAdapter instance has been disposed, false otherwise. (Inherited from ModelBusAdapter.) | |
DocumentHandler | ModelingDocumentHandler used by this ModelingAdapter. The DocumentHandler is used by the ModelBusAdapter to configure the model wrapped by it. You can set this property only if it has not been set already. (Inherited from ModelingAdapter.) | |
Reference | (Inherited from ModelBusAdapter.) |
Top
Methods
Name | Description | |
---|---|---|
Dispose() | (Inherited from ModelBusAdapter.) | |
Dispose(Boolean) | Clean-up this ModelBusAdapter instance. Triggers a dispose of the DocumentHandler, if it has one. (Inherited from ModelingAdapter.) | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Equals(ModelBusAdapter) | True if this ModelBusAdapter is the same as the given ModelBusAdapter instance, false otherwise. (Inherited from ModelBusAdapter.) | |
Finalize | Destructor. (Inherited from ModelBusAdapter.) | |
GetDefaultView | Obtains the PrimaryView associated with this Model, if one is available. (Overrides ModelBusAdapter.GetDefaultView().) | |
GetElementDisplayName | Extension point for letting the DSL author decide the Display name for a particular model element | |
GetElementId | Get the Element Id of a ModelElement. This element Id will be used to build the modelbus reference of the model element | |
GetElementReference | Get the reference of a given object instance supposed to be exposed by this adapter. (Overrides ModelBusAdapter.GetElementReference(Object).) | |
GetElementReferences | Get back all referenced objects that conform to a given data contract. (Inherited from ModelBusAdapter.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetReferenceStatus | Validates the element and the view (if applicable) and returns the status (Overrides ModelBusAdapter.GetReferenceStatus().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetView | Gets a specific view associated with this Model based on the ModelBusView reference (Overrides ModelBusAdapter.GetView(ModelBusReference).) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ResolveElementReference | Given an identifier for an Element, returns the actual object represented by this reference. (Overrides ModelBusAdapter.ResolveElementReference(ModelBusReference).) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TrySetDocumentHandler | If the ModelingDocumentHandler is not already set (by the constructor for e.g.), then sets it to the value passed as a parameter. Otherwise, returns false. (Inherited from ModelingAdapter.) |
Top
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.