Пример #1
0
        public static void StaticWrite(DateTime instant, int duration, string action_name, string sessionId, int espaceId, int tenantId,
                                       int userId, int extensionId, string executedBy, string errorId, string requestKey,
                                       string eSpaceName, string extensionName, string applicationName, ObjectKey applicationKey, string username)
        {
            ExtensionLogDefinition log = new ExtensionLogDefinition(instant, duration, action_name, sessionId, espaceId, tenantId, userId,
                                                                    extensionId, executedBy, errorId, requestKey, eSpaceName, extensionName, applicationName, applicationKey, username);

            log.Write();
        }
Пример #2
0
 public ExtensionLogDefinition(ExtensionLogDefinition obj) :
     this(obj.Instant, obj.Duration, obj.Action_Name, obj.SessionId, obj.UserId, obj.EspaceId,
          obj.TenantId, obj.Extension_Id, obj.ExecutedBy, obj.ErrorId, obj.RequestKey,
          obj.EspaceName, obj.ExtensionName, obj.ApplicationName, obj.ApplicationKey, obj.Username)
 {
 }