public Framework.AssetBase TearDown(AssetBase asset) { if (asset == null) return null; Framework.AssetBase r = new Framework.AssetBase(); r.CreatorID = UUID.Parse(asset.CreatorID); r.Data = asset.Data; r.Description = asset.Description; r.Flags = asset.Flags; r.ID = UUID.Parse(asset.ID); r.Name = asset.Name; r.Type = (int)asset.Type; return r; }
public Framework.AssetBase TearDown(AssetBase asset) { if (asset == null) return null; Framework.AssetBase r = new Framework.AssetBase { CreatorID = UUID.Parse(asset.CreatorID), Data = asset.Data, Description = asset.Description, Flags = asset.Flags, ID = UUID.Parse(asset.ID), Name = asset.Name, Type = asset.Type }; return r; }