메소드 | 설명 | |
---|---|---|
AddProperties ( IEnumerable |
Adds multiple properties to the schema.
|
|
AddProperty ( object key, PropertyAttributes attributes = PropertyAttributes.FullAccess ) : |
Adds a property to the schema.
|
|
CreateEmptySchema ( ) : |
Creates a hidden class schema with no properties.
|
|
DeleteProperty ( object key ) : |
Deletes a property from the schema.
|
|
EnumeratePropertyNamesAndValues ( object values ) : IEnumerable |
Enumerates the property names and values for this schema.
|
|
GetPropertyIndex ( object key ) : int |
Gets the zero-based index of the property with the given name.
|
|
GetPropertyIndexAndAttributes ( object key ) : |
Gets the zero-based index of the property with the given name and the attributes associated with the property.
|
|
SetPropertyAttributes ( object key, PropertyAttributes attributes ) : |
Modifies the attributes for a property in the schema.
|
메소드 | 설명 | |
---|---|---|
CreatePropertiesDictionary ( ) : SchemaProperty>.Dictionary |
Creates the properties dictionary.
|
|
HiddenClassSchema ( SchemaProperty>.Dictionary |
Creates a new HiddenClassSchema instance from a modify or delete operation.
|
|
HiddenClassSchema ( SchemaProperty>.Dictionary |
Creates a new HiddenClassSchema instance from an add operation.
|
public AddProperties ( IEnumerable |
||
properties | IEnumerable |
The properties to add. |
리턴 |
public AddProperty ( object key, PropertyAttributes attributes = PropertyAttributes.FullAccess ) : |
||
key | object | The property key of the property to add. |
attributes | PropertyAttributes | The property attributes. |
리턴 |
public static CreateEmptySchema ( ) : |
||
리턴 |
public DeleteProperty ( object key ) : |
||
key | object | The property key of the property to delete. |
리턴 |
public EnumeratePropertyNamesAndValues ( object values ) : IEnumerable |
||
values | object | The array containing the property values. |
리턴 | IEnumerable |
public GetPropertyIndex ( object key ) : int | ||
key | object | The property key (either a string or a Symbol). |
리턴 | int |
public GetPropertyIndexAndAttributes ( object key ) : |
||
key | object | The property key (either a string or a Symbol). |
리턴 |
public SetPropertyAttributes ( object key, PropertyAttributes attributes ) : |
||
key | object | The property key of the property to modify. |
attributes | PropertyAttributes | The new attributes. |
리턴 |