/// <summary> /// Initializes a new instance of the <see cref="SiriusUIv3SafeComApp"/> class. /// </summary> /// <param name="device">The device.</param> public SiriusUIv3SafeComApp(SiriusUIv3Device device) { _controlPanel = device.ControlPanel; }
/// <summary> /// Initializes a new instance of the <see cref="SiriusUIv3WindowsAuthenticator"/> class. /// </summary> /// <param name="controlPanel">The <see cref="SiriusUIv3ControlPanel"/> object.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/> object.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/> object.</param> public SiriusUIv3WindowsAuthenticator(SiriusUIv3ControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) : base(controlPanel, credential, pacekeeper) { }
/// <summary> /// Creates an <see cref="IAppAuthenticator" /> for the specified <see cref="AuthenticationProvider"/> value. /// </summary> /// <param name="provider">The <see cref="AuthenticationProvider"/> value.</param> /// <param name="controlPanel">The <see cref="SiriusUIv3ControlPanel"/>.</param> /// <param name="credential">The <see cref="AuthenticationCredential"/>.</param> /// <param name="pacekeeper">The <see cref="Pacekeeper"/>.</param> /// <returns></returns> public static IAppAuthenticator Create(AuthenticationProvider provider, SiriusUIv3ControlPanel controlPanel, AuthenticationCredential credential, Pacekeeper pacekeeper) { object[] constructorParameters = new object[] { controlPanel, credential, pacekeeper }; return(_instance.FactoryCreate(provider, constructorParameters)); }