Метод | Описание | |
---|---|---|
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. |
Результат |