public Session(INiconicoContext context) { this.context = context; this.IsLogin = new ReactiveProperty <bool>(context.IsLogin); this.User = context.User.ToReactiveProperty().AddTo(this.disposables); context.User.Subscribe(value => this.IsLogin.Value = value is not null); }
public FirefoxSharedLogin(IFirefoxCookieManager firefoxCookieManager, ILogger logger, INicoHttp http, INiconicoContext context, ICookieManager cookieManager, IFirefoxProfileManager firefoxProfileManager) : base(http, cookieManager, context) { this.firefoxCookieManager = firefoxCookieManager; this.logger = logger; this.firefoxProfileManager = firefoxProfileManager; }
public SharedLoginBase(INicoHttp http, ICookieManager cookieManager, INiconicoContext context) { this.cookieManager = cookieManager; this.http = http; this.context = context; }
public Webview2SharedLogin(IWebview2LocalCookieManager webview2LocalCookieManager, ILogger logger, INicoHttp http, ICookieManager cookieManager, INiconicoContext context) : base(http, cookieManager, context) { this.webview2LocalCookieManager = webview2LocalCookieManager; this.logger = logger; }
public StoreFirefoxSharedLogin(IStoreFirefoxCookieManager firefoxCookie, ILogger logger, INicoHttp http, INiconicoContext context, ICookieManager cookieManager, IStoreFirefoxProfileManager profileManager) : base(firefoxCookie, logger, http, context, cookieManager, profileManager) { }