Beispiel #1
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlMember   xamlMember = null;
            global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "BatteryTriggers.CustomStateTriggers.BatteryPercentageTrigger.BaterryPercentage":
                userType   = (global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlUserType)GetXamlTypeByName("BatteryTriggers.CustomStateTriggers.BatteryPercentageTrigger");
                xamlMember = new global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlMember(this, "BaterryPercentage", "BatteryTriggers.CustomStateTriggers.BatteryPercentageTrigger.BaterryPercentageState");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_0_BatteryPercentageTrigger_BaterryPercentage;
                xamlMember.Setter = set_0_BatteryPercentageTrigger_BaterryPercentage;
                break;

            case "BatteryTriggers.CustomStateTriggers.BatteryStatusTrigger.BatteryStatus":
                userType   = (global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlUserType)GetXamlTypeByName("BatteryTriggers.CustomStateTriggers.BatteryStatusTrigger");
                xamlMember = new global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlMember(this, "BatteryStatus", "BatteryTriggers.CustomStateTriggers.BatteryStatusTrigger.BatteryChargingStatus");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_1_BatteryStatusTrigger_BatteryStatus;
                xamlMember.Setter = set_1_BatteryStatusTrigger_BatteryStatus;
                break;
            }
            return(xamlMember);
        }
Beispiel #2
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlMember xamlMember = null;
            global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "BatteryTriggers.CustomStateTriggers.BatteryPercentageTrigger.BaterryPercentage":
                userType = (global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlUserType)GetXamlTypeByName("BatteryTriggers.CustomStateTriggers.BatteryPercentageTrigger");
                xamlMember = new global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlMember(this, "BaterryPercentage", "BatteryTriggers.CustomStateTriggers.BatteryPercentageTrigger.BaterryPercentageState");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_0_BatteryPercentageTrigger_BaterryPercentage;
                xamlMember.Setter = set_0_BatteryPercentageTrigger_BaterryPercentage;
                break;
            case "BatteryTriggers.CustomStateTriggers.BatteryStatusTrigger.BatteryStatus":
                userType = (global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlUserType)GetXamlTypeByName("BatteryTriggers.CustomStateTriggers.BatteryStatusTrigger");
                xamlMember = new global::BatteryTriggers.BatteryTriggers_XamlTypeInfo.XamlMember(this, "BatteryStatus", "BatteryTriggers.CustomStateTriggers.BatteryStatusTrigger.BatteryChargingStatus");
                xamlMember.SetIsDependencyProperty();
                xamlMember.Getter = get_1_BatteryStatusTrigger_BatteryStatus;
                xamlMember.Setter = set_1_BatteryStatusTrigger_BatteryStatus;
                break;
            }
            return xamlMember;
        }