Example #1
0
 //------------------------------------------------------------------------------------------------------------------------
 public TimelineDescriptor(TimelineDescriptorKey tldKey, eTimelineDescriptorType Type, eTimelineDescriptorOperationType Operation, DateTime Timestamp, TimelineInfo Info, string Message = "")
 {
     this.TimelineDescriptorKey = tldKey;
     this.Type       = Type;
     this.Operation  = Operation;
     this.DateTimeTS = Timestamp;
     this.Info       = Info;
     this.Message    = Message;
 }
Example #2
0
        public override object ConvertFrom(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value)
        {
            if (value == null)
            {
                return(null);
            }

            if (value is string)
            {
                return(TimelineDescriptorKey.ConvertFromString(value as string));
            }
            else
            {
                return(base.ConvertFrom(context, culture, value));
            }
        }