public static void StaticWrite(IAppInfo appInfo, ISessionInfo sessionInfo, DateTime instant, int duration, string screen, string msisdn, string screenType, string accessMode, string executedBy, int viewstateBytes, int sessionBytes, int sessionRequests) { ScreenLog log = new ScreenLog(); log.Write(appInfo, sessionInfo, instant, duration, screen, msisdn, screenType, accessMode, executedBy, viewstateBytes, sessionBytes, sessionRequests); }
public ScreenLog(ScreenLog obj) { log = new ScreenLogDefinition(); Instant = obj.Instant; Duration = obj.Duration; Screen = obj.Screen; SessionId = obj.SessionId; EspaceId = obj.EspaceId; TenantId = obj.TenantId; UserId = obj.UserId; Msisdn = obj.Msisdn; ScreenType = obj.ScreenType; AccessMode = obj.AccessMode; ExecutedBy = obj.ExecutedBy; SessionBytes = obj.SessionBytes; ViewstateBytes = obj.ViewstateBytes; SessionRequests = obj.SessionRequests; RequestKey = obj.RequestKey; ActionName = obj.ActionName; ClientIP = obj.ClientIP; EspaceName = obj.EspaceName; ApplicationName = obj.ApplicationName; ApplicationKey = obj.ApplicationKey; Username = obj.Username; }