コード例 #1
0
        /// <inheritdoc />
        public GatheringTool Convert(ItemDTO value, object state)
        {
            var entity = new MiningTool();

            this.Merge(entity, value, state);
            return(entity);
        }
コード例 #2
0
 public new void Initialize()
 {
     _miningTool = _entity.GetBehavior <MiningTool>();
     _toolSwitch = _entity.GetSwitch <MiningTool>();
     base.Initialize();
 }
コード例 #3
0
 // Implement this method in a buddy class to set properties that are specific to 'MiningTool' (if any)
 partial void Merge(MiningTool entity, ItemDTO dto, object state);