Ejemplo n.º 1
0
        protected virtual void Dispose(bool disposing)
        {
            if (!disposed)
            {
                if (disposing)
                {
                    // TODO: dispose managed state (managed objects).
                }

                // TODO: free unmanaged resources (unmanaged objects) and override a finalizer below.

                EntityAPI.DeleteEntity(pointer);

                // TODO: set large fields to null.

                disposed = true;
            }
        }
Ejemplo n.º 2
0
 public Entity()
 {
     pointer = EntityAPI.CreateEntityPointer();
 }