public GraphLabelledEntity RemoveLabel(Type type) { string label = TypeManager.GetLabel(type); ((List <string>)Labels).Remove(label); return(this); }
public GraphLabelledEntity AddLabel(Type type) { string label = TypeManager.GetLabel(type); if (!((List <string>)Labels).Contains(label)) { ((List <string>)Labels).Add(label); } return(this); }
public virtual GraphEntity OfType(Type type) { EntityType = TypeManager.GetLabel(type); return(this); }