VsValidationContext Constructor (array<String , IEnumerable<ModelElement>, IServiceProvider, Type)
Constructor.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'Dichiarazione
Public Sub New ( _
customCategories As String(), _
subjects As IEnumerable(Of ModelElement), _
serviceProvider As IServiceProvider, _
modelExplorerToolWindowType As Type _
)
public VsValidationContext(
string[] customCategories,
IEnumerable<ModelElement> subjects,
IServiceProvider serviceProvider,
Type modelExplorerToolWindowType
)
public:
VsValidationContext(
array<String^>^ customCategories,
IEnumerable<ModelElement^>^ subjects,
IServiceProvider^ serviceProvider,
Type^ modelExplorerToolWindowType
)
new :
customCategories:string[] *
subjects:IEnumerable<ModelElement> *
serviceProvider:IServiceProvider *
modelExplorerToolWindowType:Type -> VsValidationContext
public function VsValidationContext(
customCategories : String[],
subjects : IEnumerable<ModelElement>,
serviceProvider : IServiceProvider,
modelExplorerToolWindowType : Type
)
Parameters
- customCategories
Type: array<System.String[]
A list of custom specified string. This allows the validation method with the given string to be validated.
- subjects
Type: System.Collections.Generic.IEnumerable<ModelElement>
object to be validated
- serviceProvider
Type: System.IServiceProvider
- modelExplorerToolWindowType
Type: System.Type
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.