private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // HlsPlayer.ViewModels.Base.ViewModelLocator userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_ViewModelLocator; userType.AddMemberName("MainViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // HlsPlayer.ViewModels.MainViewModel userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("HlsPlayer.ViewModels.Base.ViewModelBase")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 3: // HlsPlayer.ViewModels.Base.ViewModelBase userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsLocalType(); xamlType = userType; break; case 4: // Microsoft.Xaml.Interactivity.Interaction userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Behaviors"); xamlType = userType; break; case 5: // Microsoft.Xaml.Interactivity.BehaviorCollection userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection")); userType.CollectionAdd = VectorAdd_5_BehaviorCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // Windows.UI.Xaml.DependencyObjectCollection xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // Windows.UI.Xaml.DependencyObject xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // HlsPlayer.Behaviors.MediaStreamSourceBehavior userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_8_MediaStreamSourceBehavior; userType.AddMemberName("Media"); userType.AddMemberName("AssociatedObject"); userType.SetIsLocalType(); xamlType = userType; break; case 9: // Windows.Media.Streaming.Adaptive.AdaptiveMediaSource userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 10: // HlsPlayer.MainView userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_MainView; userType.SetIsLocalType(); xamlType = userType; break; case 11: // Windows.UI.Xaml.Controls.Page xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 12: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return(xamlType); }
private global::Windows.UI.Xaml.Markup.IXamlType CreateXamlType(int typeIndex) { global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType xamlType = null; global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType userType; string typeName = _typeNameTable[typeIndex]; global::System.Type type = _typeTable[typeIndex]; switch (typeIndex) { case 0: // HlsPlayer.ViewModels.Base.ViewModelLocator userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.Activator = Activate_0_ViewModelLocator; userType.AddMemberName("MainViewModel"); userType.SetIsLocalType(); xamlType = userType; break; case 1: // Object xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 2: // HlsPlayer.ViewModels.MainViewModel userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("HlsPlayer.ViewModels.Base.ViewModelBase")); userType.SetIsReturnTypeStub(); userType.SetIsLocalType(); xamlType = userType; break; case 3: // HlsPlayer.ViewModels.Base.ViewModelBase userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsLocalType(); xamlType = userType; break; case 4: // Microsoft.Xaml.Interactivity.Interaction userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.AddMemberName("Behaviors"); xamlType = userType; break; case 5: // Microsoft.Xaml.Interactivity.BehaviorCollection userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObjectCollection")); userType.CollectionAdd = VectorAdd_5_BehaviorCollection; userType.SetIsReturnTypeStub(); xamlType = userType; break; case 6: // Windows.UI.Xaml.DependencyObjectCollection xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 7: // Windows.UI.Xaml.DependencyObject xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 8: // HlsPlayer.Behaviors.MediaStreamSourceBehavior userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.DependencyObject")); userType.Activator = Activate_8_MediaStreamSourceBehavior; userType.AddMemberName("Media"); userType.AddMemberName("AssociatedObject"); userType.SetIsLocalType(); xamlType = userType; break; case 9: // Windows.Media.Streaming.Adaptive.AdaptiveMediaSource userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object")); userType.SetIsReturnTypeStub(); xamlType = userType; break; case 10: // HlsPlayer.MainView userType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page")); userType.Activator = Activate_10_MainView; userType.SetIsLocalType(); xamlType = userType; break; case 11: // Windows.UI.Xaml.Controls.Page xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; case 12: // Windows.UI.Xaml.Controls.UserControl xamlType = new global::HlsPlayer.HlsPlayer_XamlTypeInfo.XamlSystemBaseType(typeName, type); break; } return xamlType; }