Ejemplo n.º 1
0
        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::HelloUWP.HelloUWP_XamlTypeInfo.XamlMember   xamlMember = null;
            global::HelloUWP.HelloUWP_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "Prism.Unity.Windows.PrismUnityApplication.Container":
                userType          = (global::HelloUWP.HelloUWP_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Prism.Unity.Windows.PrismUnityApplication");
                xamlMember        = new global::HelloUWP.HelloUWP_XamlTypeInfo.XamlMember(this, "Container", "Microsoft.Practices.Unity.IUnityContainer");
                xamlMember.Getter = get_0_PrismUnityApplication_Container;
                xamlMember.SetIsReadOnly();
                break;

            case "Prism.Windows.PrismApplication.IsSuspending":
                userType          = (global::HelloUWP.HelloUWP_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Prism.Windows.PrismApplication");
                xamlMember        = new global::HelloUWP.HelloUWP_XamlTypeInfo.XamlMember(this, "IsSuspending", "Boolean");
                xamlMember.Getter = get_1_PrismApplication_IsSuspending;
                xamlMember.SetIsReadOnly();
                break;

            case "Prism.Windows.Mvvm.ViewModelLocator.AutoWireViewModel":
                userType   = (global::HelloUWP.HelloUWP_XamlTypeInfo.XamlUserType)GetXamlTypeByName("Prism.Windows.Mvvm.ViewModelLocator");
                xamlMember = new global::HelloUWP.HelloUWP_XamlTypeInfo.XamlMember(this, "AutoWireViewModel", "Boolean");
                xamlMember.SetTargetTypeName("Windows.UI.Xaml.DependencyObject");
                xamlMember.SetIsAttachable();
                xamlMember.Getter = get_2_ViewModelLocator_AutoWireViewModel;
                xamlMember.Setter = set_2_ViewModelLocator_AutoWireViewModel;
                break;
            }
            return(xamlMember);
        }
Ejemplo n.º 2
0
 private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
 {
     global::HelloUWP.HelloUWP_XamlTypeInfo.XamlMember xamlMember = null;
     // No Local Properties
     return(xamlMember);
 }