Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiEventLogBase"/> class.
 /// </summary>
 /// <param name="eventLogBase">The event log base.</param>
 public ApiEventLogBase(ApiEventLogBase eventLogBase)
     : base(eventLogBase)
 {
     if (eventLogBase != null)
     {
         this.ExceptionKey = eventLogBase.ExceptionKey;
         this.ResourceEntityKey = eventLogBase.ResourceEntityKey;
         this.CultureCode = eventLogBase.CultureCode;
         this.ClientIdentifier = eventLogBase.ClientIdentifier;
         this.ApiFullName = eventLogBase.ApiFullName;
         this.IpAddress = eventLogBase.IpAddress;
         this.RawUrl = eventLogBase.RawUrl;
         this.UserAgent = eventLogBase.UserAgent;
         this.ResourceName = eventLogBase.ResourceName;
         this.ExceptionKey = eventLogBase.ExceptionKey;
         this.Platform = eventLogBase.Platform;
         this.DeviceType = eventLogBase.DeviceType;
         this.OperatorCredential = eventLogBase.OperatorCredential;
     }
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiEventLog"/> class.
 /// </summary>
 public ApiEventLog(ApiEventLogBase eventLogBase)
     : base(eventLogBase)
 {
     this.Key = Guid.NewGuid();
     this.CreatedStamp = DateTime.UtcNow;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiEventCriteria" /> class.
 /// </summary>
 public ApiEventCriteria(ApiEventLogBase eventLogBase)
     : base(eventLogBase)
 {
 }