Example #1
0
 public void Clone(EventLR model)
 {
     Name                       = model.Name;
     Sort                       = model.Sort;
     EventId                    = model.EventId;
     RegularExpression          = model.RegularExpression;
     GapNormal                  = model.GapNormal;
     Documentation              = model.Documentation;
     FoldingEventId             = model.FoldingEventId;
     DocumentMap                = model.DocumentMap;
     Level                      = model.Level;
     DisplayDurationFromParent  = model.DisplayDurationFromParent;
     DisplayDurationFromSibling = model.DisplayDurationFromSibling;
     IgnoreDocumentation        = model.IgnoreDocumentation;
     Network                    = model.Network;
     HighlightColor             = model.HighlightColor;
     DocumentMapHighlightColor  = model.DocumentMapHighlightColor;
     IgnoreName                 = model.IgnoreName;
     Example                    = model.Example;
     SourceType                 = model.SourceType;
     Categories                 = (List <Category>)model.Categories.Clone();
     SourceTypes                = (List <string>)model.SourceTypes.Clone();
     ValueNames                 = (List <string>)model.ValueNames.Clone();
     EventValues                = (List <EventValue>)model.EventValues.Clone();
     EventLookupValues          = (List <EventLookupValue>)model.EventLookupValues.Clone();
 }
Example #2
0
        public EventLR Clone()
        {
            var e = new EventLR();

            e.Clone(this);
            return(e);
        }