public void Dispose() { Proxy = null; Flags = ProxyFlags.ZERO; Written.Clear(); EntityProxyEnvelopePool.Release(this); }
public EntityProxyEnvelope CreateEnvelope() { EntityProxyEnvelope env = EntityProxyEnvelopePool.Acquire(); env.Proxy = this; env.Flags = this.Flags; env.ControlTokenLost = this.ControlTokenLost; env.ControlTokenGained = this.ControlTokenGained; return(env); }