public static StateLinkList <TState> operator -(StateLinkList <TState> list, TState state) { StateLinkBase link = state; list.list.Remove(link); return(list); }
public bool Contains(TState state) { StateLinkBase link = state; return(list.Contains(link)); }
public void Add(TState state) { StateLinkBase link = state; list.Add(link); }
public void Insert(int index, TState state) { StateLinkBase link = state; list.Insert(index, link); }
public void Remove(TState state) { StateLinkBase link = state; list.Remove(link); }