コード例 #1
0
 public ObjectTypeConstructor(MemberDeclarationOptions declaration, Parameter[] parameters, ObjectPropertyInitializer[] initializers, ObjectTypeConstructor?baseConstructor = null)
 {
     Declaration     = declaration;
     Parameters      = parameters;
     Initializers    = initializers;
     BaseConstructor = baseConstructor;
 }
コード例 #2
0
 public ObjectTypeProperty(MemberDeclarationOptions declaration, string description, bool isReadOnly, Property?schemaProperty, CSharpType?initializeWithType, bool emptyAsUndefined)
 {
     Description        = description;
     IsReadOnly         = isReadOnly;
     SchemaProperty     = schemaProperty;
     InitializeWithType = initializeWithType;
     EmptyAsUndefined   = emptyAsUndefined;
     Declaration        = declaration;
 }
コード例 #3
0
 public EnumTypeValue(MemberDeclarationOptions declaration, string description, Constant value)
 {
     Description = description;
     Value       = value;
     Declaration = declaration;
 }