コード例 #1
0
        public void Dispose()
        {
            Proxy = null;
            Flags = ProxyFlags.ZERO;

            Written.Clear();

            EntityProxyEnvelopePool.Release(this);
        }
コード例 #2
0
        public EntityProxyEnvelope CreateEnvelope()
        {
            EntityProxyEnvelope env = EntityProxyEnvelopePool.Acquire();

            env.Proxy              = this;
            env.Flags              = this.Flags;
            env.ControlTokenLost   = this.ControlTokenLost;
            env.ControlTokenGained = this.ControlTokenGained;
            return(env);
        }