Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 認証インタフェース
- public interface IAuthenticate
- {
- Task<bool> Authenticate();
- }
- public class App : Application
- {
- public static IAuthenticate Authenticator { get; private set; }
- public App ()
- {
- MainPage = new TodoList();
- }
- // 認証インターフェイスをプラットフォーム固有の実装で初期化
- public static void Init(IAuthenticate authenticator)
- {
- Authenticator = authenticator;
- }
- // 以下省略
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement