Beispiel #1
0
 public ServiceLog()
 {
     ResponseTime  = new DateTimeRange();
     TransactionId = Guid.Empty;
     Request       = string.Empty;
     Result        = ServiceResult.Success.ToString();
     Message       = string.Empty;
     Note          = string.Empty;
     ServiceCode   = string.Empty;
     Type          = ServiceLogType.CloudService;
 }
Beispiel #2
0
        public ServiceLog(ServiceRequest request)
        {
            ResponseTime = new DateTimeRange();
            Request      = string.Empty;
            Result       = ServiceResult.Success.ToString();
            Message      = string.Empty;
            Note         = string.Empty;
            ServiceCode  = string.Empty;
            Type         = ServiceLogType.CloudService;

            TransactionId   = request.TransactionId;
            Request         = request.ToString();
            ApplicationCode = request.ApplicationCode;
        }