示例#1
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::LightsDemo.LightsDemo_XamlTypeInfo.XamlMember   xamlMember = null;
            global::LightsDemo.LightsDemo_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "ArduinoBluetooth.Connection.BluetoothConnectionManager.BluetoothCancelCommand":
                userType          = (global::LightsDemo.LightsDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ArduinoBluetooth.Connection.BluetoothConnectionManager");
                xamlMember        = new global::LightsDemo.LightsDemo_XamlTypeInfo.XamlMember(this, "BluetoothCancelCommand", "ArduinoBluetooth.RelayCommand");
                xamlMember.Getter = get_0_BluetoothConnectionManager_BluetoothCancelCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "ArduinoBluetooth.Connection.BluetoothConnectionManager.BluetoothDisconnectCommand":
                userType          = (global::LightsDemo.LightsDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ArduinoBluetooth.Connection.BluetoothConnectionManager");
                xamlMember        = new global::LightsDemo.LightsDemo_XamlTypeInfo.XamlMember(this, "BluetoothDisconnectCommand", "ArduinoBluetooth.RelayCommand");
                xamlMember.Getter = get_1_BluetoothConnectionManager_BluetoothDisconnectCommand;
                xamlMember.SetIsReadOnly();
                break;

            case "ArduinoBluetooth.Connection.BluetoothConnectionManager.State":
                userType          = (global::LightsDemo.LightsDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ArduinoBluetooth.Connection.BluetoothConnectionManager");
                xamlMember        = new global::LightsDemo.LightsDemo_XamlTypeInfo.XamlMember(this, "State", "ArduinoBluetooth.Connection.BluetoothConnectionState");
                xamlMember.Getter = get_2_BluetoothConnectionManager_State;
                xamlMember.Setter = set_2_BluetoothConnectionManager_State;
                break;
            }
            return(xamlMember);
        }
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::LightsDemo.LightsDemo_XamlTypeInfo.XamlMember xamlMember = null;
            global::LightsDemo.LightsDemo_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "ArduinoBluetooth.Connection.BluetoothConnectionManager.BluetoothCancelCommand":
                userType = (global::LightsDemo.LightsDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ArduinoBluetooth.Connection.BluetoothConnectionManager");
                xamlMember = new global::LightsDemo.LightsDemo_XamlTypeInfo.XamlMember(this, "BluetoothCancelCommand", "ArduinoBluetooth.RelayCommand");
                xamlMember.Getter = get_0_BluetoothConnectionManager_BluetoothCancelCommand;
                xamlMember.SetIsReadOnly();
                break;
            case "ArduinoBluetooth.Connection.BluetoothConnectionManager.BluetoothDisconnectCommand":
                userType = (global::LightsDemo.LightsDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ArduinoBluetooth.Connection.BluetoothConnectionManager");
                xamlMember = new global::LightsDemo.LightsDemo_XamlTypeInfo.XamlMember(this, "BluetoothDisconnectCommand", "ArduinoBluetooth.RelayCommand");
                xamlMember.Getter = get_1_BluetoothConnectionManager_BluetoothDisconnectCommand;
                xamlMember.SetIsReadOnly();
                break;
            case "ArduinoBluetooth.Connection.BluetoothConnectionManager.State":
                userType = (global::LightsDemo.LightsDemo_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ArduinoBluetooth.Connection.BluetoothConnectionManager");
                xamlMember = new global::LightsDemo.LightsDemo_XamlTypeInfo.XamlMember(this, "State", "ArduinoBluetooth.Connection.BluetoothConnectionState");
                xamlMember.Getter = get_2_BluetoothConnectionManager_State;
                xamlMember.Setter = set_2_BluetoothConnectionManager_State;
                break;
            }
            return xamlMember;
        }