Exemple #1
0
 /// <summary>
 /// Creates a new <see cref="LoginSession"/>.
 /// </summary>
 /// <param name="facilityCode"></param>
 public static void Create(string facilityCode)
 {
     // set the current session before attempting to access other services, as these will require authentication
     _current = new LoginSession(facilityCode);
 }
		/// <summary>
		/// Creates a new <see cref="LoginSession"/>.
		/// </summary>
		/// <param name="facilityCode"></param>
		public static void Create(string facilityCode)
		{
			// set the current session before attempting to access other services, as these will require authentication
			_current = new LoginSession(facilityCode);
		}
Exemple #3
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="args"></param>
 /// <param name="application"></param>
 protected internal RisDesktopWindow(DesktopWindowCreationArgs args, Desktop.Application application)
     : base(args, application)
 {
     // set the current session before attempting to access other services, as these will require authentication
     LoginSession.Create(SessionManager.FacilityCode);
 }