コード例 #1
0
        public static AccountServices GetInstance()
        {
            if (instance == null)
            {
                instance = new AccountServices();
            }

            return instance;
        }
コード例 #2
0
 protected override void Initialize(System.Web.Routing.RequestContext requestContext)
 {
     base.Initialize(requestContext);
     accountServices = AccountServices.GetInstance();
 }
コード例 #3
0
        protected override void Initialize(System.Web.Routing.RequestContext requestContext)
        {
            accountServices = AccountServices.GetInstance();
            eventServices = EventServices.GetInstance();
            apiServices = ApiServices.GetInstance();
            commentServices = CommentServices.GetInstance();

            base.Initialize(requestContext);
        }
コード例 #4
0
        //public IMembershipService MembershipService { get; set; }
        protected override void Initialize(RequestContext requestContext)
        {
            if (FormsService == null) { FormsService = new FormsAuthenticationService(); }
            //if (MembershipService == null) { MembershipService = new AccountMembershipService(); }
            accountServices = AccountServices.GetInstance();

            base.Initialize(requestContext);
        }
コード例 #5
0
 private AccountServices getAccountService()
 {
     if (accountService == null) accountService = AccountServices.GetInstance();
     return accountService;
 }
コード例 #6
0
 public OmniService()
 {
     eventServices = new EventServices();
     accountServices = new AccountServices();
 }