private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType userType;
            string typeName = _typeNameTable[typeIndex];
            global::System.Type type = _typeTable[typeIndex];

            switch (typeIndex)
            {

            case 0:   //  HeartbeatBg.ChartControl
                userType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Canvas"));
                userType.Activator = Activate_0_ChartControl;
                userType.AddMemberName("DataPointCount");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Canvas
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.Panel
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  Int32
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 4:   //  HeartbeatBg.ProgressRingWithText
                userType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_4_ProgressRingWithText;
                userType.AddMemberName("IsActive");
                userType.AddMemberName("Text");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  Boolean
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  String
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  HeartbeatBg.HeartBeatPage
                userType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_HeartBeatPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 10:   //  HeartbeatBg.MainPage
                userType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  HeartbeatBg.SettingsPage
                userType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_SettingsPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return xamlType;
        }
Beispiel #2
0
        private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex)
        {
            global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType xamlType = null;
            global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType       userType;
            string typeName = _typeNameTable[typeIndex];

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

            switch (typeIndex)
            {
            case 0:   //  HeartbeatBg.ChartControl
                userType           = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Canvas"));
                userType.Activator = Activate_0_ChartControl;
                userType.AddMemberName("DataPointCount");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Windows.UI.Xaml.Controls.Canvas
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  Windows.UI.Xaml.Controls.Panel
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 3:   //  Int32
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 4:   //  HeartbeatBg.ProgressRingWithText
                userType           = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.UserControl"));
                userType.Activator = Activate_4_ProgressRingWithText;
                userType.AddMemberName("IsActive");
                userType.AddMemberName("Text");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  Boolean
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 7:   //  String
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 8:   //  HeartbeatBg.HeartBeatPage
                userType           = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_8_HeartBeatPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 9:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 10:   //  HeartbeatBg.MainPage
                userType           = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_10_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 11:   //  HeartbeatBg.SettingsPage
                userType           = new global::HeartbeatBg.HeartbeatBg_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_11_SettingsPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;
            }
            return(xamlType);
        }