GeneralNameInSetValidatorT Constructor |
Namespace:
SD.LLBLGen.Pro.ApplicationCore.Validation
Assembly:
SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.4.0.0 (5.4.0)
Syntax public GeneralNameInSetValidator(
T element,
Func<T, string> nameRetrieverFunc,
IEnumerable<T> containingSet,
string elementDescription,
Project containingProject
)
Public Sub New (
element As T,
nameRetrieverFunc As Func(Of T, String),
containingSet As IEnumerable(Of T),
elementDescription As String,
containingProject As Project
)
Parameters
- element
- Type: T
The element. - nameRetrieverFunc
- Type: SystemFuncT, String
The name retriever function. - containingSet
- Type: System.Collections.GenericIEnumerableT
The containing set element is part of and in which element's name has to be unique. - elementDescription
- Type: SystemString
The element description, like 'Document Definition'. - containingProject
- Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProject
The containing project.
See Also