public void Write(ISink s, short msk = 0xff) { s.Put(nameof(seq), seq); s.Put(nameof(acct), acct); s.Put(nameof(name), name); s.Put(nameof(amt), amt); s.Put(nameof(bal), bal); }
public override void Write(ISink s, short msk = 0xff) { base.Write(s, msk); s.Put(nameof(id), id); s.Put(nameof(weburl), weburl); s.Put(nameof(secret), secret); }
public void Write(ISink s, byte proj = 0x0f) { s.Put(nameof(shard), shard); s.Put(nameof(descr), descr); s.Put(nameof(logging), logging); s.Put(nameof(cipher), cipher); s.Put(nameof(certpasswd), certpasswd); s.Put(nameof(@ref), @ref); }
public virtual void Write(ISink s, short msk = 0xff) { if ((msk & BORN) == BORN) { s.Put(nameof(typ), typ); s.Put(nameof(created), created); s.Put(nameof(creator), creator); } s.Put(nameof(state), state); s.Put(nameof(name), name); s.Put(nameof(tip), tip); if ((msk & LATER) == LATER) { s.Put(nameof(adapted), adapted); s.Put(nameof(adapter), adapter); } }
public void Produce() { sink.Put(new T()); }