Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return |
public AddProperty ( object key, PropertyAttributes attributes = PropertyAttributes.FullAccess ) : |
||
key | object | The property key of the property to add. |
attributes | PropertyAttributes | The property attributes. |
return |
public static CreateEmptySchema ( ) : |
||
return |
public DeleteProperty ( object key ) : |
||
key | object | The property key of the property to delete. |
return |
public EnumeratePropertyNamesAndValues ( object values ) : IEnumerable |
||
values | object | The array containing the property values. |
return | IEnumerable |
public GetPropertyIndex ( object key ) : int | ||
key | object | The property key (either a string or a Symbol). |
return | int |
public GetPropertyIndexAndAttributes ( object key ) : |
||
key | object | The property key (either a string or a Symbol). |
return |
public SetPropertyAttributes ( object key, PropertyAttributes attributes ) : |
||
key | object | The property key of the property to modify. |
attributes | PropertyAttributes | The new attributes. |
return |