Example #1
0
 internal SAMQuerySet(List <string> schemaTypes, DirectoryEntries entries, DirectoryEntry ctxBase, int sizeLimit, SAMStoreCtx storeCtx, SAMMatcher samMatcher)
 {
     this.schemaTypes = schemaTypes;
     this.entries     = entries;
     this.sizeLimit   = sizeLimit;
     this.storeCtx    = storeCtx;
     this.ctxBase     = ctxBase;
     this.matcher     = samMatcher;
     this.enumerator  = this.entries.GetEnumerator();
 }
Example #2
0
		internal SAMQuerySet(List<string> schemaTypes, DirectoryEntries entries, DirectoryEntry ctxBase, int sizeLimit, SAMStoreCtx storeCtx, SAMMatcher samMatcher)
		{
			this.schemaTypes = schemaTypes;
			this.entries = entries;
			this.sizeLimit = sizeLimit;
			this.storeCtx = storeCtx;
			this.ctxBase = ctxBase;
			this.matcher = samMatcher;
			this.enumerator = this.entries.GetEnumerator();
		}
Example #3
0
        // We will iterate over all principals under ctxBase, returning only those which are in the list of types and which
        // satisfy ALL the matching properties.
        internal SAMQuerySet(
            List <string> schemaTypes,
            DirectoryEntries entries,
            DirectoryEntry ctxBase,
            int sizeLimit,
            SAMStoreCtx storeCtx,
            SAMMatcher samMatcher)
        {
            GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "SAMQuerySet: creating for path={0}, sizelimit={1}", ctxBase.Path, sizeLimit);

            _schemaTypes = schemaTypes;
            _entries     = entries;
            _sizeLimit   = sizeLimit;   // -1 == no limit
            _storeCtx    = storeCtx;
            _ctxBase     = ctxBase;
            _matcher     = samMatcher;

            _enumerator = _entries.GetEnumerator();
        }
Example #4
0
        // We will iterate over all principals under ctxBase, returning only those which are in the list of types and which
        // satisfy ALL the matching properties.
        internal SAMQuerySet(
                        List<string> schemaTypes,
                        DirectoryEntries entries,
                        DirectoryEntry ctxBase,
                        int sizeLimit,
                        SAMStoreCtx storeCtx,
                        SAMMatcher samMatcher)
        {
            GlobalDebug.WriteLineIf(GlobalDebug.Info, "SAMQuerySet", "SAMQuerySet: creating for path={0}, sizelimit={1}", ctxBase.Path, sizeLimit);

            _schemaTypes = schemaTypes;
            _entries = entries;
            _sizeLimit = sizeLimit;     // -1 == no limit
            _storeCtx = storeCtx;
            _ctxBase = ctxBase;
            _matcher = samMatcher;

            _enumerator = _entries.GetEnumerator();
        }