/// <summary> /// Adds the schemas to the schema manager. /// </summary> void AddUserSchemas() { while (addedSchemas.Count > 0) { XmlSchemaManager.AddUserSchema(addedSchemas[0]); addedSchemas.RemoveAt(0); } }
/// <summary> /// Removes the schemas from the schema manager. /// </summary> void RemoveUserSchemas() { while (removedSchemaNamespaces.Count > 0) { XmlSchemaManager.RemoveUserSchema(removedSchemaNamespaces[0]); removedSchemaNamespaces.RemoveAt(0); } }