예제 #1
0
파일: Xmls.cs 프로젝트: lsoft/DpdtInject
        public MethodBindContainerXml(
            ClassTypeInfoXml clusterTypeInfo,
            MethodDeclarationInfoXml methodDeclaration,
            BindingXml[] bindings
            )
        {
            if (clusterTypeInfo is null)
            {
                throw new ArgumentNullException(nameof(clusterTypeInfo));
            }

            if (methodDeclaration is null)
            {
                throw new ArgumentNullException(nameof(methodDeclaration));
            }

            if (bindings is null)
            {
                throw new ArgumentNullException(nameof(bindings));
            }

            ClusterTypeInfo   = clusterTypeInfo;
            MethodDeclaration = methodDeclaration;
            Bindings          = bindings;
        }
예제 #2
0
파일: Xmls.cs 프로젝트: lsoft/DpdtInject
 public ClusterBindContainerXml(
     ClassTypeInfoXml clusterTypeInfo,
     MethodBindContainerXml[] methodBindContainers
     )
 {
     ClusterTypeInfo      = clusterTypeInfo;
     MethodBindContainers = methodBindContainers;
 }
예제 #3
0
파일: Xmls.cs 프로젝트: lsoft/DpdtInject
 public BindingXml(
     string identifier,
     string targetRepresentation,
     ClassTypeInfoXml[] fromTypes,
     ClassTypeInfoXml toType,
     ConstructorArgumentsXml constructorArguments,
     string scopeString,
     int scopeEnumValue,
     bool isConditional,
     bool isConventional,
     PositionXml position
     )
 {
     UniqueUnstableIdentifier = identifier;
     TargetRepresentation     = targetRepresentation;
     FromTypes            = fromTypes;
     ToType               = toType;
     ConstructorArguments = constructorArguments;
     ScopeString          = scopeString;
     ScopeEnumValue       = scopeEnumValue;
     IsConditional        = isConditional;
     IsConventional       = isConventional;
     Position             = position;
 }