Zetbox.API.Server.Mocks.TestObjClassImpl.ToStream C# (CSharp) Method

ToStream() public method

public ToStream ( ZetboxStreamWriter sw, HashSet auxObjects, bool eagerLoadLists ) : void
sw ZetboxStreamWriter
auxObjects HashSet
eagerLoadLists bool
return void
        public override void ToStream(ZetboxStreamWriter sw, HashSet<IStreamable> auxObjects, bool eagerLoadLists)
        {
            base.ToStream(sw, auxObjects, eagerLoadLists);
            int? id = this.BaseTestObjClass == null ? (int?)null : this.BaseTestObjClass.ID;
            sw.Write(id);
            sw.Write(this._StringProp);
            sw.Write((int)this.TestEnumProp);
            sw.WriteCollectionEntries(this.TestNamesImpl);
        }