示例#1
0
文件: Xmls.cs 项目: lsoft/DpdtInject
 public BindingXml()
 {
     UniqueUnstableIdentifier = null !;
     TargetRepresentation     = null !;
     FromTypes            = null !;
     ToType               = null !;
     ConstructorArguments = null !;
     ScopeString          = null !;
     Position             = null !;
 }
示例#2
0
文件: Xmls.cs 项目: lsoft/DpdtInject
        public MethodDeclarationInfoXml(
            PositionXml position,
            string methodName
            )
        {
            if (position is null)
            {
                throw new ArgumentNullException(nameof(position));
            }

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

            Position   = position;
            MethodName = methodName;
        }
示例#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;
 }