Ejemplo n.º 1
0
            public PropertyInfoResponse(Item.PropertyInfo prop)
            {
                ID                   = prop.ID;
                Value                = prop.Value;
                ParamValue           = prop.ParamValue;
                IsAdditionalProperty = prop.IsAdditionalProperty;

                // UNDONE:
                //Description = ItemDefs.GetPropDescription(prop);
            }
Ejemplo n.º 2
0
            /// <summary>
            /// Return property object
            /// </summary>
            /// <returns></returns>
            public Item.PropertyInfo GetProperty()
            {
                var prop = new Item.PropertyInfo
                {
                    ID                   = ID,
                    Value                = Value,
                    ParamValue           = ParamValue,
                    IsAdditionalProperty = IsAdditionalProperty,
                };

                return(prop);
            }