System.Runtime.Serialization.Formatters.Binary.ObjectProgress.Init C# (CSharp) Method

Init() private method

private Init ( ) : void
return void
        internal void Init()
        {
            isInitial = false;
            count = 0;
            expectedType = BinaryTypeEnum.ObjectUrt;
            expectedTypeInformation = null;

            name = null;
            objectTypeEnum = InternalObjectTypeE.Empty;
            memberTypeEnum = InternalMemberTypeE.Empty;
            memberValueEnum = InternalMemberValueE.Empty;
            dtType = null;  

            // Array Information
            numItems = 0;
            nullCount = 0;
            //binaryTypeEnum
            typeInformation = null;

            // Member Information
            memberLength = 0;
            binaryTypeEnumA = null;
            typeInformationA = null;
            memberNames = null;
            memberTypes = null;

            pr.Init();
        }

Usage Example

        private ObjectProgress GetOp()
        {
            ObjectProgress progress = null;

            if ((this.opPool != null) && !this.opPool.IsEmpty())
            {
                progress = (ObjectProgress)this.opPool.Pop();
                progress.Init();
                return(progress);
            }
            return(new ObjectProgress());
        }
All Usage Examples Of System.Runtime.Serialization.Formatters.Binary.ObjectProgress::Init