コード例 #1
0
 /// <summary>
 /// Unregisters an annotation schema with the registry.
 /// </summary>
 /// <param name="schema">The annotation schema to unregister.</param>
 public void Unregister(AnnotationSchema schema)
 {
     this.internalSchemas.Remove(schema);
 }
コード例 #2
0
 /// <summary>
 /// Registers an annotation schema with the registry.
 /// </summary>
 /// <param name="schema">The annotation schema to register.</param>
 public void Register(AnnotationSchema schema)
 {
     this.internalSchemas.Add(schema);
 }