A class that contains a list of named schemas. This is used when reading or writing a schema/protocol. This prevents reading and writing of duplicate schema definitions within a protocol or schema file More...
Public Member Functions | |
SchemaNames () | |
Constructor More... | |
bool | Contains (SchemaName name) |
Checks if given name is in the map More... | |
bool | Add (SchemaName name, NamedSchema schema) |
Adds a schema name to the map if it doesn't exist yet More... | |
bool | Add (NamedSchema schema) |
Adds a named schema to the list More... | |
bool | TryGetValue (string name, string space, string encspace, out NamedSchema schema) |
Tries to get the value for the given name fields More... | |
IEnumerator< KeyValuePair < SchemaName, NamedSchema > > | GetEnumerator () |
Returns the enumerator for the map More... | |
Properties | |
IDictionary< SchemaName, NamedSchema > | Names [get] |
Map of schema name and named schema objects More... | |
A class that contains a list of named schemas. This is used when reading or writing a schema/protocol. This prevents reading and writing of duplicate schema definitions within a protocol or schema file
|
inline |
Constructor
|
inline |
Adds a schema name to the map if it doesn't exist yet
name | schema name |
schema | schema object |
|
inline |
Adds a named schema to the list
schema | schema object |
|
inline |
Checks if given name is in the map
name | schema name |
|
inline |
Returns the enumerator for the map
|
inline |
Tries to get the value for the given name fields
name | name of the schema |
space | namespace of the schema |
encspace | enclosing namespace of the schema |
schema | schema object found |
|
get |
Map of schema name and named schema objects