コード例 #1
0
        private void process(NavigationEvent e)
        {
            object t  = new KaVEData.Tools.NavigationEvent();
            var    ce = CreateEventData <KaVEData.Tools.NavigationEvent>(e, ref t);

            ce.Location       = e.Location.Identifier;
            ce.NavigationType = e.TypeOfNavigation.ToString("G");
            ce.Target         = e.Target.ToString();
            ce.Details        = ce.Location + "\\" + ce.NavigationType + "\\" + ce.Target;

            _baseContext.Events.Add(ce);
        }
コード例 #2
0
 protected bool Equals(NavigationEvent other)
 {
     return(base.Equals(other) && Target.Equals(other.Target) && Location.Equals(other.Location) &&
            TypeOfNavigation == other.TypeOfNavigation);
 }