Condividi tramite


StandardExtensionLocator.GetExtendingDomainModels Method (Type, Boolean)

Returns a list of domain model types that extend the specified domain model.

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

Syntax

'Dichiarazione
Public Function GetExtendingDomainModels ( _
    domainModelType As Type, _
    recurse As Boolean _
) As IEnumerable(Of Type)
public IEnumerable<Type> GetExtendingDomainModels(
    Type domainModelType,
    bool recurse
)
public:
virtual IEnumerable<Type^>^ GetExtendingDomainModels(
    Type^ domainModelType, 
    bool recurse
) sealed
abstract GetExtendingDomainModels : 
        domainModelType:Type * 
        recurse:bool -> IEnumerable<Type> 
override GetExtendingDomainModels : 
        domainModelType:Type * 
        recurse:bool -> IEnumerable<Type> 
public final function GetExtendingDomainModels(
    domainModelType : Type, 
    recurse : boolean
) : IEnumerable<Type>

Parameters

  • domainModelType
    Type: System.Type
    Type of the domain model being extended.
  • recurse
    Type: System.Boolean
    Indicates whether only extensions of the specified domain model type should be returned, or whether extensions of its dependencies and extensions of extensions should be included.

Return Value

Type: System.Collections.Generic.IEnumerable<Type>
A list of domain model types that extend the specified type

Implements

IExtensionLocator.GetExtendingDomainModels(Type, Boolean)

.NET Framework Security

See Also

Reference

StandardExtensionLocator Class

GetExtendingDomainModels Overload

Microsoft.VisualStudio.Modeling Namespace