Esempio n. 1
0
 public _MappingIterator_438(Collection4 executionPath, IEnumerator baseArg1) : base
         (baseArg1)
 {
     this.executionPath = executionPath;
 }
Esempio n. 2
0
 public _ICallbackInfoCollector_274(LocalTransaction _enclosing, Collection4 deleted
                                    )
 {
     this._enclosing = _enclosing;
     this.deleted    = deleted;
 }
Esempio n. 3
0
 internal override void CacheDirty(Collection4 col)
 {
 }
 public ExcludingReflector(Collection4 excludedClasses)
 {
     _excludedClasses = excludedClasses;
 }
Esempio n. 5
0
 private CallbackObjectInfoCollections NewCallbackObjectInfoCollections(Collection4
                                                                        added, Collection4 updated, Collection4 deleted)
 {
     return(new CallbackObjectInfoCollections(new ObjectInfoCollectionImpl(added), new
                                              ObjectInfoCollectionImpl(updated), new ObjectInfoCollectionImpl(deleted)));
 }
 public _IRunnable_66(IPausableBlockingQueue4 queue, Collection4 list)
 {
     this.queue = queue;
     this.list  = list;
 }
Esempio n. 7
0
 public _IEventListener4_51(Collection4 updated)
 {
     this.updated = updated;
 }
Esempio n. 8
0
 public _TraverseFieldCommand_31(Collection4 expectedNames)
 {
     this.expectedNames = expectedNames;
 }
Esempio n. 9
0
 public AscendingQueryExecutor(Transaction trans, IdListQueryResult result, Collection4
                               executionPath)
 {
     _trans         = trans;
     _container     = _trans.Container();
     _result        = result;
     _executionPath = executionPath;
 }
 public virtual void RemoveAllListeners()
 {
     _listeners = null;
 }
 private DiagnosticProcessor(Collection4 listeners)
 {
     _listeners = listeners;
 }
Esempio n. 12
0
 public _IListener4_37(KnownClassesCollector _enclosing, Collection4 classes)
 {
     this._enclosing = _enclosing;
     this.classes    = classes;
 }
Esempio n. 13
0
 private IListener4 NewCollectingClassListener(Collection4 classes)
 {
     return(new _IListener4_37(this, classes));
 }
 public ExcludingReflector(ByRef loaderClass, Collection4 excludedClasses)
 {
     _excludedClasses = excludedClasses;
 }
Esempio n. 15
0
 public virtual void Sync()
 {
     _writes.Add(_currentWrite);
     _currentWrite = new Collection4();
 }
Esempio n. 16
0
 public _IVisitor4_51(Collection4 currentContent)
 {
     this.currentContent = currentContent;
 }
Esempio n. 17
0
 public _IFunction4_11(Collection4 calls)
 {
     this.calls = calls;
 }
 public _IVisitor4_197(Collection4 collectionOfSlots)
 {
     this.collectionOfSlots = collectionOfSlots;
 }
Esempio n. 19
0
 public _IVisitor4_527(Collection4 allNodeIDs)
 {
     this.allNodeIDs = allNodeIDs;
 }
Esempio n. 20
0
        internal static void FlattenCollection1(ObjectContainerBase stream, Object obj, Collection4 collection4)
        {
            Array arr = obj as Array;

            if (arr != null)
            {
                IReflectArray reflectArray = stream.Reflector().Array();

                Object[] flat = new Object[arr.Length];

                reflectArray.Flatten(obj, reflectArray.Dimensions(obj), 0, flat, 0);
                for (int i = 0; i < flat.Length; i++)
                {
                    FlattenCollection1(stream, flat[i], collection4);
                }
            }
            else
            {
                // If obj implements IEnumerable, add all elements to collection4
                IEnumerator enumerator = GetCollectionEnumerator(obj, true);

                // Add elements to collection if conversion was succesful
                if (enumerator != null)
                {
                    if (enumerator is IDictionaryEnumerator)
                    {
                        IDictionaryEnumerator dictEnumerator = enumerator as IDictionaryEnumerator;
                        while (enumerator.MoveNext())
                        {
                            FlattenCollection1(stream, dictEnumerator.Key, collection4);
                        }
                    }
                    else
                    {
                        while (enumerator.MoveNext())
                        {
                            // recursive call to flatten Collections in Collections
                            FlattenCollection1(stream, enumerator.Current, collection4);
                        }
                    }
                }
                else
                {
                    // If obj is not a Collection, it still needs to be collected.
                    collection4.Add(obj);
                }
            }
        }
Esempio n. 21
0
 public Collection4Iterator(Collection4 collection, List4 first) : base(first)
 {
     _collection = collection;
     _initialVersion = CurrentVersion();
 }
 public ClassIDIterator(Collection4 classes) : base(classes.GetEnumerator())
 {
 }