Ejemplo n.º 1
0
 public _MappingIterator_438(Collection4 executionPath, IEnumerator baseArg1) : base
         (baseArg1)
 {
     this.executionPath = executionPath;
 }
Ejemplo n.º 2
0
 public _ICallbackInfoCollector_274(LocalTransaction _enclosing, Collection4 deleted
                                    )
 {
     this._enclosing = _enclosing;
     this.deleted    = deleted;
 }
Ejemplo n.º 3
0
 internal override void CacheDirty(Collection4 col)
 {
 }
 public ExcludingReflector(Collection4 excludedClasses)
 {
     _excludedClasses = excludedClasses;
 }
Ejemplo 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;
 }
Ejemplo n.º 7
0
 public _IEventListener4_51(Collection4 updated)
 {
     this.updated = updated;
 }
Ejemplo n.º 8
0
 public _TraverseFieldCommand_31(Collection4 expectedNames)
 {
     this.expectedNames = expectedNames;
 }
Ejemplo 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;
 }
Ejemplo n.º 12
0
 public _IListener4_37(KnownClassesCollector _enclosing, Collection4 classes)
 {
     this._enclosing = _enclosing;
     this.classes    = classes;
 }
Ejemplo n.º 13
0
 private IListener4 NewCollectingClassListener(Collection4 classes)
 {
     return(new _IListener4_37(this, classes));
 }
 public ExcludingReflector(ByRef loaderClass, Collection4 excludedClasses)
 {
     _excludedClasses = excludedClasses;
 }
Ejemplo n.º 15
0
 public virtual void Sync()
 {
     _writes.Add(_currentWrite);
     _currentWrite = new Collection4();
 }
Ejemplo n.º 16
0
 public _IVisitor4_51(Collection4 currentContent)
 {
     this.currentContent = currentContent;
 }
Ejemplo n.º 17
0
 public _IFunction4_11(Collection4 calls)
 {
     this.calls = calls;
 }
 public _IVisitor4_197(Collection4 collectionOfSlots)
 {
     this.collectionOfSlots = collectionOfSlots;
 }
Ejemplo n.º 19
0
 public _IVisitor4_527(Collection4 allNodeIDs)
 {
     this.allNodeIDs = allNodeIDs;
 }
Ejemplo 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);
                }
            }
        }
Ejemplo n.º 21
0
 public Collection4Iterator(Collection4 collection, List4 first) : base(first)
 {
     _collection = collection;
     _initialVersion = CurrentVersion();
 }
 public ClassIDIterator(Collection4 classes) : base(classes.GetEnumerator())
 {
 }