public void Update(IKProtocolEndpoint <TNodeId> endpoint) { var b = false; using (sync.BeginWriteLock()) b = set.AddFirst(endpoint); if (b) { OnCollectionChanged(new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, endpoint)); } }
public StyleRenderer AddFirst(string path) { _paths.AddFirst(path); return(this); }