예제 #1
0
파일: AndFilter.cs 프로젝트: hapm/NetSync
        public bool Matches(SynchronizableObject obj)
        {
            foreach (IFilter filter in filters) {
                if (!filter.Matches(obj))
                    return false;
            }

            return true;
        }
예제 #2
0
 public GenericPropertyCollection(SynchronizableObject obj)
 {
     this.syncObject = obj;
 }
예제 #3
0
파일: NotFilter.cs 프로젝트: hapm/NetSync
 public bool Matches(SynchronizableObject obj)
 {
     return !filter.Matches(obj);
 }