79 this.attributeType = attributeType;
80 if (attributeType !=
null)
84 if (arguments !=
null)
CodeAttributeDeclaration(CodeTypeReference attributeType)
Initializes a new instance of the T:System.CodeDom.CodeAttributeDeclaration class using the specified...
Represents a collection of T:System.CodeDom.CodeAttributeArgument objects.
string BaseType
Gets or sets the name of the type being referenced.
Represents an argument used in a metadata attribute declaration.
CodeAttributeArgumentCollection Arguments
Gets the arguments for the attribute.
Represents an attribute declaration.
CodeAttributeDeclaration(string name, params CodeAttributeArgument[] arguments)
Initializes a new instance of the T:System.CodeDom.CodeAttributeDeclaration class using the specified...
CodeAttributeDeclaration(string name)
Initializes a new instance of the T:System.CodeDom.CodeAttributeDeclaration class using the specified...
CodeAttributeDeclaration()
Initializes a new instance of the T:System.CodeDom.CodeAttributeDeclaration class.
void AddRange(CodeAttributeArgument[] value)
Copies the elements of the specified T:System.CodeDom.CodeAttributeArgument array to the end of the c...
CodeAttributeDeclaration(CodeTypeReference attributeType, params CodeAttributeArgument[] arguments)
Initializes a new instance of the T:System.CodeDom.CodeAttributeDeclaration class using the specified...
Specifies that the class can be serialized.
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
Represents a reference to a type.
string Name
Gets or sets the name of the attribute being declared.
CodeTypeReference AttributeType
Gets the code type reference for the code attribute declaration.