コード例 #1
0
        // tag0005
        /// <summary>
        /// There are no comments for CalendarView in the schema.
        /// </summary>
        public IEventCollection GetCalendarView(global::System.DateTimeOffset startDateTime, global::System.DateTimeOffset endDateTime)
        {
            var cvPath = GetPath("CalendarView");

            if (cvPath == null)
            {
                throw new global::System.Exception("cannot find entity");
            }

            var query = Context.CreateQuery <Event>(cvPath, true);

            query = query.AddQueryOption("startDateTime", startDateTime.ToString(DateTimeOffsetZuluFormat));

            query = query.AddQueryOption("endDateTime", endDateTime.ToString(DateTimeOffsetZuluFormat));

            return(new EventCollection(query, Context, this, cvPath));
        }
コード例 #2
0
 private void Update_date(global::System.DateTimeOffset obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED | DATA_CHANGED)) != 0)
     {
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj7, obj.ToString(), null);
     }
 }
コード例 #3
0
 private void Update_client_desktop_ViewModels_ChoresViewModel_SelectedChore_EndDate(global::System.DateTimeOffset obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED | DATA_CHANGED)) != 0)
     {
         // Pages\EditChorePage.xaml line 28
         if (!isobj3TextDisabled)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj3, obj.ToString(), null);
         }
     }
 }
コード例 #4
0
ファイル: UIPreviewPanel.g.cs プロジェクト: ktpm489/UWPEP
 private void Update_Entry_RawEntry_DateCreated(global::System.DateTimeOffset obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj8, obj.ToString(), null);
     }
 }
コード例 #5
0
ファイル: ChoresPage.g.cs プロジェクト: BeXeB/ThirdSemester
 private void Update_EndDate(global::System.DateTimeOffset obj, int phase)
 {
     if ((phase & ((1 << 0) | NOT_PHASED)) != 0)
     {
         // Pages\ChoresPage.xaml line 59
         if (!isobj6TextDisabled)
         {
             XamlBindingSetters.Set_Windows_UI_Xaml_Controls_TextBlock_Text(this.obj6, obj.ToString(), null);
         }
     }
 }