public static IDayViewModel DayFromThisMonth(int day, DateTime month, IZohoClient zohoClient)
 {
     return new DayViewModel(zohoClient)
     {
         IsActive = true,
         Day = day,
         Date = new DateTime(month.Year, month.Month, day)
     };
 }
示例#2
0
 public SubscriptionApi(IZohoClient zohoClient)
 {
     this.zohoClient     = zohoClient;
     this.Products       = new ZsProductApi(this.zohoClient);
     this.Plans          = new ZsPlanApi(this.zohoClient);
     this.Addons         = new ZsAddonApi(this.zohoClient);
     this.Coupons        = new ZsCouponApi(this.zohoClient);
     this.Customers      = new ZsCustomerApi(this.zohoClient);
     this.Cards          = new ZsCardApi(this.zohoClient);
     this.ContactPersons = new ZsContactPersonApi(this.zohoClient);
     this.Subscriptions  = new ZsSubscriptionApi(this.zohoClient);
     this.HostedPage     = new ZsHostedPageApi(this.zohoClient);
     this.Invoices       = new ZsInvoiceApi(this.zohoClient);
 }
示例#3
0
 public ZsInvoiceApi(IZohoClient client)
 {
     this.client = client;
 }
示例#4
0
 public ZsProductApi(IZohoClient client)
 {
     this.client = client;
 }
 public ZsContactPersonApi(IZohoClient client)
 {
     this.client = client;
 }
示例#6
0
 public ZsHostedPageApi(IZohoClient client)
 {
     this.client = client;
 }
示例#7
0
 public ZohoCommand(IZohoClient zoho, IOrderCloudClient oc)
 {
     _zoho = zoho;
     _oc   = oc;
     _zoho.AuthenticateAsync();
 }
示例#8
0
 public ZsCouponApi(IZohoClient client)
 {
     this.client = client;
 }
 public LoginController(IZohoClient zohoClient, IDialogService dialogService, IDateTimeService dateTimeService)
 {
     this.zohoClient = zohoClient;
     this.dialogService = dialogService;
     this.dateTimeService = dateTimeService;
 }
示例#10
0
 public ZsCustomerApi(IZohoClient client)
 {
     this.client = client;
 }
 public JobService(IZohoClient zohoClient)
 {
     this.zohoClient = zohoClient;
 }
示例#12
0
 public ZsSubscriptionApi(IZohoClient client)
 {
     this.client = client;
 }
 private DayViewModel(IZohoClient zohoClient)
 {
     this.zohoClient = zohoClient;
     DeleteCommand = new RelayCommand(DeleteTimeLog);
 }
 public DaysService(IZohoClient zohoClient, IAuthenticationStorage auth, IJobService jobService)
 {
     this.zohoClient = zohoClient;
     this.auth = auth;
     this.jobService = jobService;
 }
示例#15
0
 public ZsPlanApi(IZohoClient client)
 {
     this.client = client;
 }
示例#16
0
 public ZsAddonApi(IZohoClient client)
 {
     this.client = client;
 }
示例#17
0
 public ZsSettingsApi(IZohoClient client)
 {
     this.client = client;
 }
示例#18
0
 public ZsCardApi(IZohoClient client)
 {
     this.client = client;
 }
 public static IDayViewModel DayFromOtherMonth(IZohoClient zohoClient)
 {
     return new DayViewModel(zohoClient) {IsActive = false};
 }