Example #1
0
        protected new static void DeserializeInto(IDictionary <string, object> dict, TicketItem into)
        {
            TextItem.DeserializeInto(dict, into);
            DateItem item = (DateItem)into;

            item.DateFormat = dict["format"].ToString();
        }
Example #2
0
        public new static TicketItem Deserialize(IDictionary <string, object> dict)
        {
            DateItem item = new DateItem();

            DeserializeInto(dict, item);
            return(item);
        }
Example #3
0
        public override TicketItem Clone()
        {
            DateItem item = new DateItem();

            copyBaseSettingsInto(item);
            copyTextSettingsInto(item);
            item.DateFormat = this.DateFormat;
            return(item);
        }