예제 #1
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {
            case 0:   //  Codify.VisualStudioOnline.BuildLight.UI.Converters.BooleanToVisibilityConverter
                userType           = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_BooleanToVisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Object
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Codify.VisualStudioOnline.BuildLight.UI.Converters.InvertedBooleanToVisibilityConverter
                userType           = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_2_InvertedBooleanToVisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  Codify.VisualStudioOnline.BuildLight.UI.Converters.BuildStatusToBrushConverter
                userType           = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_3_BuildStatusToBrushConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Codify.VisualStudioOnline.BuildLight.UI.Converters.MessageStatusToBrushConverter
                userType           = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_4_MessageStatusToBrushConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Codify.VisualStudioOnline.BuildLight.UI.Behaviours.PasswordBehaviour
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("IsPasswordControl");
                userType.AddMemberName("Password");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Boolean
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  String
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 9:   //  Codify.VisualStudioOnline.BuildLight.MainPage
                userType           = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_MainPage;
                userType.AddMemberName("ViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 12:   //  Codify.VisualStudioOnline.BuildLight.MainPageViewModel
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Codify.VisualStudioOnline.BuildLight.UI.NotifyPropertyChanged"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Codify.VisualStudioOnline.BuildLight.UI.NotifyPropertyChanged
                userType           = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_13_NotifyPropertyChanged;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }
예제 #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  Codify.VisualStudioOnline.BuildLight.UI.Converters.BooleanToVisibilityConverter
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_BooleanToVisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Object
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Codify.VisualStudioOnline.BuildLight.UI.Converters.InvertedBooleanToVisibilityConverter
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_2_InvertedBooleanToVisibilityConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 3:   //  Codify.VisualStudioOnline.BuildLight.UI.Converters.BuildStatusToBrushConverter
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_3_BuildStatusToBrushConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 4:   //  Codify.VisualStudioOnline.BuildLight.UI.Converters.MessageStatusToBrushConverter
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_4_MessageStatusToBrushConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Codify.VisualStudioOnline.BuildLight.UI.Behaviours.PasswordBehaviour
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("IsPasswordControl");
                userType.AddMemberName("Password");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 6:   //  Boolean
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  Windows.UI.Xaml.DependencyObject
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  String
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 9:   //  Codify.VisualStudioOnline.BuildLight.MainPage
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_9_MainPage;
                userType.AddMemberName("ViewModel");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 10:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 12:   //  Codify.VisualStudioOnline.BuildLight.MainPageViewModel
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Codify.VisualStudioOnline.BuildLight.UI.NotifyPropertyChanged"));
                userType.SetIsReturnTypeStub();
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 13:   //  Codify.VisualStudioOnline.BuildLight.UI.NotifyPropertyChanged
                userType = new global::Codify.VisualStudioOnline.BuildLight.Codify_VisualStudioOnline_BuildLight_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_13_NotifyPropertyChanged;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }