System.Runtime.Serialization.Formatters.Binary.SerStack.Push C# (CSharp) Method

Push() private method

private Push ( object obj ) : void
obj object
return void
        internal void Push(object obj)
        {
            if (_top == (_objects.Length - 1))
            {
                IncreaseCapacity();
            }
            _objects[++_top] = obj;
        }

Usage Example

示例#1
0
 private void PutOp(ObjectProgress op)
 {
     if (_opPool == null)
     {
         _opPool = new SerStack("opPool");
     }
     _opPool.Push(op);
 }
All Usage Examples Of System.Runtime.Serialization.Formatters.Binary.SerStack::Push