예제 #1
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::LocalNote.LocalNote_XamlTypeInfo.XamlMember   xamlMember = null;
            global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "LocalNote.MainPageData.Notes":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Notes", "System.Collections.ObjectModel.ObservableCollection`1<LocalNote.LocalNoteModel>");
                xamlMember.Getter = get_0_MainPageData_Notes;
                xamlMember.Setter = set_0_MainPageData_Notes;
                break;

            case "LocalNote.LocalNoteModel.Id":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.LocalNoteModel");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Id", "Int32");
                xamlMember.Getter = get_1_LocalNoteModel_Id;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.LocalNoteModel.Title":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.LocalNoteModel");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Title", "String");
                xamlMember.Getter = get_2_LocalNoteModel_Title;
                xamlMember.Setter = set_2_LocalNoteModel_Title;
                break;

            case "LocalNote.LocalNoteModel.Content":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.LocalNoteModel");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Content", "String");
                xamlMember.Getter = get_3_LocalNoteModel_Content;
                xamlMember.Setter = set_3_LocalNoteModel_Content;
                break;

            case "LocalNote.LocalNoteModel.File":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.LocalNoteModel");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "File", "Windows.Storage.StorageFile");
                xamlMember.Getter = get_4_LocalNoteModel_File;
                xamlMember.Setter = set_4_LocalNoteModel_File;
                break;

            case "LocalNote.MainPageData.ShownNotes":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "ShownNotes", "System.Collections.ObjectModel.ObservableCollection`1<LocalNote.LocalNoteModel>");
                xamlMember.Getter = get_5_MainPageData_ShownNotes;
                xamlMember.Setter = set_5_MainPageData_ShownNotes;
                break;

            case "LocalNote.MainPageData.NotesFolder":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "NotesFolder", "Windows.Storage.StorageFolder");
                xamlMember.Getter = get_6_MainPageData_NotesFolder;
                xamlMember.Setter = set_6_MainPageData_NotesFolder;
                break;

            case "LocalNote.MainPageData.AddNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "AddNoteCommand", "LocalNote.AddCommand");
                xamlMember.Getter = get_7_MainPageData_AddNoteCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.MainPageData.SaveNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SaveNoteCommand", "LocalNote.SaveCommand");
                xamlMember.Getter = get_8_MainPageData_SaveNoteCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.MainPageData.EditNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "EditNoteCommand", "LocalNote.EditCommand");
                xamlMember.Getter = get_9_MainPageData_EditNoteCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.MainPageData.DeleteNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "DeleteNoteCommand", "LocalNote.DeleteCommand");
                xamlMember.Getter = get_10_MainPageData_DeleteNoteCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.MainPageData.SelectedNote":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SelectedNote", "LocalNote.LocalNoteModel");
                xamlMember.Getter = get_11_MainPageData_SelectedNote;
                xamlMember.Setter = set_11_MainPageData_SelectedNote;
                break;

            case "LocalNote.MainPageData.CurrentNoteReadOnly":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "CurrentNoteReadOnly", "Boolean");
                xamlMember.Getter = get_12_MainPageData_CurrentNoteReadOnly;
                xamlMember.Setter = set_12_MainPageData_CurrentNoteReadOnly;
                break;

            case "LocalNote.MainPageData.CurrentNoteContent":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "CurrentNoteContent", "String");
                xamlMember.Getter = get_13_MainPageData_CurrentNoteContent;
                xamlMember.Setter = set_13_MainPageData_CurrentNoteContent;
                break;

            case "LocalNote.MainPageData.SearchText":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SearchText", "String");
                xamlMember.Getter = get_14_MainPageData_SearchText;
                xamlMember.Setter = set_14_MainPageData_SearchText;
                break;
            }
            return(xamlMember);
        }
예제 #2
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::LocalNote.LocalNote_XamlTypeInfo.XamlMember   xamlMember = null;
            global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "LocalNote.MainPageData.Notes":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Notes", "System.Collections.Generic.List`1<LocalNote.LocalNoteModel>");
                xamlMember.Getter = get_0_MainPageData_Notes;
                xamlMember.Setter = set_0_MainPageData_Notes;
                break;

            case "LocalNote.LocalNoteModel.Id":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.LocalNoteModel");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Id", "Int32");
                xamlMember.Getter = get_1_LocalNoteModel_Id;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.LocalNoteModel.Title":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.LocalNoteModel");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Title", "String");
                xamlMember.Getter = get_2_LocalNoteModel_Title;
                xamlMember.Setter = set_2_LocalNoteModel_Title;
                break;

            case "LocalNote.LocalNoteModel.Content":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.LocalNoteModel");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Content", "String");
                xamlMember.Getter = get_3_LocalNoteModel_Content;
                xamlMember.Setter = set_3_LocalNoteModel_Content;
                break;

            case "LocalNote.MainPageData.enableEditbtn":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "enableEditbtn", "Boolean");
                xamlMember.Getter = get_4_MainPageData_enableEditbtn;
                xamlMember.Setter = set_4_MainPageData_enableEditbtn;
                break;

            case "LocalNote.MainPageData.AddNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "AddNoteCommand", "LocalNote.AddCommand");
                xamlMember.Getter = get_5_MainPageData_AddNoteCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.MainPageData.SaveNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SaveNoteCommand", "LocalNote.SaveCommand");
                xamlMember.Getter = get_6_MainPageData_SaveNoteCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.MainPageData.EditNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "EditNoteCommand", "LocalNote.EditCommand");
                xamlMember.Getter = get_7_MainPageData_EditNoteCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.MainPageData.DeleteNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "DeleteNoteCommand", "LocalNote.DeleteCommand");
                xamlMember.Getter = get_8_MainPageData_DeleteNoteCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.MainPageData.SelectedNote":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SelectedNote", "LocalNote.LocalNoteModel");
                xamlMember.Getter = get_9_MainPageData_SelectedNote;
                xamlMember.Setter = set_9_MainPageData_SelectedNote;
                break;
            }
            return(xamlMember);
        }
예제 #3
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::LocalNote.LocalNote_XamlTypeInfo.XamlMember   xamlMember = null;
            global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "LocalNote.ViewModels.MainPageData.Notes":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Notes", "System.Collections.ObjectModel.ObservableCollection`1<LocalNote.Note>");
                xamlMember.Getter = get_0_MainPageData_Notes;
                xamlMember.Setter = set_0_MainPageData_Notes;
                break;

            case "LocalNote.Note.ID":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.Note");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "ID", "Int32");
                xamlMember.Getter = get_1_Note_ID;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.Note.Title":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.Note");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Title", "String");
                xamlMember.Getter = get_2_Note_Title;
                xamlMember.Setter = set_2_Note_Title;
                break;

            case "LocalNote.Note.Content":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.Note");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Content", "String");
                xamlMember.Getter = get_3_Note_Content;
                xamlMember.Setter = set_3_Note_Content;
                break;

            case "LocalNote.Note.File":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.Note");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "File", "Windows.Storage.StorageFile");
                xamlMember.Getter = get_4_Note_File;
                xamlMember.SetIsReadOnly();
                break;

            case "LocalNote.ViewModels.MainPageData.SelectedNote":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SelectedNote", "LocalNote.Note");
                xamlMember.Getter = get_5_MainPageData_SelectedNote;
                xamlMember.Setter = set_5_MainPageData_SelectedNote;
                break;

            case "LocalNote.ViewModels.MainPageData.AddNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "AddNoteCommand", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_6_MainPageData_AddNoteCommand;
                xamlMember.Setter = set_6_MainPageData_AddNoteCommand;
                break;

            case "LocalNote.ViewModels.MainPageData.SaveNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SaveNoteCommand", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_7_MainPageData_SaveNoteCommand;
                xamlMember.Setter = set_7_MainPageData_SaveNoteCommand;
                break;

            case "LocalNote.ViewModels.MainPageData.EditNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "EditNoteCommand", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_8_MainPageData_EditNoteCommand;
                xamlMember.Setter = set_8_MainPageData_EditNoteCommand;
                break;

            case "LocalNote.ViewModels.MainPageData.DeleteNoteCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "DeleteNoteCommand", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_9_MainPageData_DeleteNoteCommand;
                xamlMember.Setter = set_9_MainPageData_DeleteNoteCommand;
                break;

            case "LocalNote.ViewModels.MainPageData.AboutCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "AboutCommand", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_10_MainPageData_AboutCommand;
                xamlMember.Setter = set_10_MainPageData_AboutCommand;
                break;

            case "LocalNote.ViewModels.MainPageData.ExitCommand":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "ExitCommand", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_11_MainPageData_ExitCommand;
                xamlMember.Setter = set_11_MainPageData_ExitCommand;
                break;

            case "LocalNote.ViewModels.MainPageData.ActiveContent":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "ActiveContent", "String");
                xamlMember.Getter = get_12_MainPageData_ActiveContent;
                xamlMember.Setter = set_12_MainPageData_ActiveContent;
                break;

            case "LocalNote.ViewModels.MainPageData.AddButtonIsEnabled":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "AddButtonIsEnabled", "Boolean");
                xamlMember.Getter = get_13_MainPageData_AddButtonIsEnabled;
                xamlMember.Setter = set_13_MainPageData_AddButtonIsEnabled;
                break;

            case "LocalNote.ViewModels.MainPageData.SaveButtonIsEnabled":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SaveButtonIsEnabled", "Boolean");
                xamlMember.Getter = get_14_MainPageData_SaveButtonIsEnabled;
                xamlMember.Setter = set_14_MainPageData_SaveButtonIsEnabled;
                break;

            case "LocalNote.ViewModels.MainPageData.EditButtonIsEnabled":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "EditButtonIsEnabled", "Boolean");
                xamlMember.Getter = get_15_MainPageData_EditButtonIsEnabled;
                xamlMember.Setter = set_15_MainPageData_EditButtonIsEnabled;
                break;

            case "LocalNote.ViewModels.MainPageData.DeleteButtonIsEnabled":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "DeleteButtonIsEnabled", "Boolean");
                xamlMember.Getter = get_16_MainPageData_DeleteButtonIsEnabled;
                xamlMember.Setter = set_16_MainPageData_DeleteButtonIsEnabled;
                break;

            case "LocalNote.ViewModels.MainPageData.SearchBoxIsEnabled":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "SearchBoxIsEnabled", "Boolean");
                xamlMember.Getter = get_17_MainPageData_SearchBoxIsEnabled;
                xamlMember.Setter = set_17_MainPageData_SearchBoxIsEnabled;
                break;

            case "LocalNote.ViewModels.MainPageData.NoteContentIsReadOnly":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "NoteContentIsReadOnly", "Boolean");
                xamlMember.Getter = get_18_MainPageData_NoteContentIsReadOnly;
                xamlMember.Setter = set_18_MainPageData_NoteContentIsReadOnly;
                break;

            case "LocalNote.ViewModels.MainPageData.Filter":
                userType          = (global::LocalNote.LocalNote_XamlTypeInfo.XamlUserType)GetXamlTypeByName("LocalNote.ViewModels.MainPageData");
                xamlMember        = new global::LocalNote.LocalNote_XamlTypeInfo.XamlMember(this, "Filter", "String");
                xamlMember.Getter = get_19_MainPageData_Filter;
                xamlMember.Setter = set_19_MainPageData_Filter;
                break;
            }
            return(xamlMember);
        }