public GraphLabelledEntity AddLabels(Type type) { TypeManager.GetLabels(type).ToList().ForEach(p => { if (!((List <string>)Labels).Contains(p)) { ((List <string>)Labels).Add(p); } }); return(this); }
public GraphLabelledEntity RemoveLabels(Type type) { TypeManager.GetLabels(type).ToList().ForEach(p => ((List <string>)Labels).Remove(p)); return(this); }