//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------



namespace ZadaniaUA
{
    public partial class App : global::Windows.UI.Xaml.Markup.IXamlMetadataProvider
    {
        private global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlTypeInfoProvider _provider;

        public global::Windows.UI.Xaml.Markup.IXamlType GetXamlType(global::System.Type type)
        {
            if(_provider == null)
            {
                _provider = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlTypeInfoProvider();
            }
            return _provider.GetXamlTypeByType(type);
        }

        public global::Windows.UI.Xaml.Markup.IXamlType GetXamlType(string fullName)
        {
            if(_provider == null)
            {
                _provider = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlTypeInfoProvider();
            }
            return _provider.GetXamlTypeByName(fullName);
        }

        public global::Windows.UI.Xaml.Markup.XmlnsDefinition[] GetXmlnsDefinitions()
        {
            return new global::Windows.UI.Xaml.Markup.XmlnsDefinition[0];
        }
    }
}

namespace ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo
{
    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")]    
    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    internal partial class XamlTypeInfoProvider
    {
        public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByType(global::System.Type type)
        {
            global::Windows.UI.Xaml.Markup.IXamlType xamlType;
            if (_xamlTypeCacheByType.TryGetValue(type, out xamlType))
            {
                return xamlType;
            }
            int typeIndex = LookupTypeIndexByType(type);
            if(typeIndex != -1)
            {
                xamlType = CreateXamlType(typeIndex);
            }
            if (xamlType != null)
            {
                _xamlTypeCacheByName.Add(xamlType.FullName, xamlType);
                _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType);
            }
            return xamlType;
        }

        public global::Windows.UI.Xaml.Markup.IXamlType GetXamlTypeByName(string typeName)
        {
            if (string.IsNullOrEmpty(typeName))
            {
                return null;
            }
            global::Windows.UI.Xaml.Markup.IXamlType xamlType;
            if (_xamlTypeCacheByName.TryGetValue(typeName, out xamlType))
            {
                return xamlType;
            }
            int typeIndex = LookupTypeIndexByName(typeName);
            if(typeIndex != -1)
            {
                xamlType = CreateXamlType(typeIndex);
            }
            if (xamlType != null)
            {
                _xamlTypeCacheByName.Add(xamlType.FullName, xamlType);
                _xamlTypeCacheByType.Add(xamlType.UnderlyingType, xamlType);
            }
            return xamlType;
        }

        public global::Windows.UI.Xaml.Markup.IXamlMember GetMemberByLongName(string longMemberName)
        {
            if (string.IsNullOrEmpty(longMemberName))
            {
                return null;
            }
            global::Windows.UI.Xaml.Markup.IXamlMember xamlMember;
            if (_xamlMembers.TryGetValue(longMemberName, out xamlMember))
            {
                return xamlMember;
            }
            xamlMember = CreateXamlMember(longMemberName);
            if (xamlMember != null)
            {
                _xamlMembers.Add(longMemberName, xamlMember);
            }
            return xamlMember;
        }

        global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlType>
                _xamlTypeCacheByName = new global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlType>();

        global::System.Collections.Generic.Dictionary<global::System.Type, global::Windows.UI.Xaml.Markup.IXamlType>
                _xamlTypeCacheByType = new global::System.Collections.Generic.Dictionary<global::System.Type, global::Windows.UI.Xaml.Markup.IXamlType>();

        global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlMember>
                _xamlMembers = new global::System.Collections.Generic.Dictionary<string, global::Windows.UI.Xaml.Markup.IXamlMember>();

        string[] _typeNameTable = null;
        global::System.Type[] _typeTable = null;

        private void InitTypeTables()
        {
            _typeNameTable = new string[22];
            _typeNameTable[0] = "ZadaniaUA.ModelWidoku.Zadania";
            _typeNameTable[1] = "Object";
            _typeNameTable[2] = "System.Collections.ObjectModel.ObservableCollection`1<ZadaniaUA.ModelWidoku.Zadanie>";
            _typeNameTable[3] = "System.Collections.ObjectModel.Collection`1<ZadaniaUA.ModelWidoku.Zadanie>";
            _typeNameTable[4] = "ZadaniaUA.ModelWidoku.Zadanie";
            _typeNameTable[5] = "String";
            _typeNameTable[6] = "ZadaniaUA.Model.PriorytetZadania";
            _typeNameTable[7] = "System.Enum";
            _typeNameTable[8] = "System.ValueType";
            _typeNameTable[9] = "System.DateTime";
            _typeNameTable[10] = "Boolean";
            _typeNameTable[11] = "System.Windows.Input.ICommand";
            _typeNameTable[12] = "Int32";
            _typeNameTable[13] = "ZadaniaUA.BooleanToVisibilityConverter";
            _typeNameTable[14] = "ZadaniaUA.PriorytetZadaniaToString";
            _typeNameTable[15] = "ZadaniaUA.PriorytetZadaniaToBrush";
            _typeNameTable[16] = "ZadaniaUA.BoolToBrushConverter";
            _typeNameTable[17] = "Windows.UI.Xaml.Media.Brush";
            _typeNameTable[18] = "ZadaniaUA.DateConverter";
            _typeNameTable[19] = "ZadaniaUA.MainPage";
            _typeNameTable[20] = "Windows.UI.Xaml.Controls.Page";
            _typeNameTable[21] = "Windows.UI.Xaml.Controls.UserControl";

            _typeTable = new global::System.Type[22];
            _typeTable[0] = typeof(global::ZadaniaUA.ModelWidoku.Zadania);
            _typeTable[1] = typeof(global::System.Object);
            _typeTable[2] = typeof(global::System.Collections.ObjectModel.ObservableCollection<global::ZadaniaUA.ModelWidoku.Zadanie>);
            _typeTable[3] = typeof(global::System.Collections.ObjectModel.Collection<global::ZadaniaUA.ModelWidoku.Zadanie>);
            _typeTable[4] = typeof(global::ZadaniaUA.ModelWidoku.Zadanie);
            _typeTable[5] = typeof(global::System.String);
            _typeTable[6] = typeof(global::ZadaniaUA.Model.PriorytetZadania);
            _typeTable[7] = typeof(global::System.Enum);
            _typeTable[8] = typeof(global::System.ValueType);
            _typeTable[9] = typeof(global::System.DateTime);
            _typeTable[10] = typeof(global::System.Boolean);
            _typeTable[11] = typeof(global::System.Windows.Input.ICommand);
            _typeTable[12] = typeof(global::System.Int32);
            _typeTable[13] = typeof(global::ZadaniaUA.BooleanToVisibilityConverter);
            _typeTable[14] = typeof(global::ZadaniaUA.PriorytetZadaniaToString);
            _typeTable[15] = typeof(global::ZadaniaUA.PriorytetZadaniaToBrush);
            _typeTable[16] = typeof(global::ZadaniaUA.BoolToBrushConverter);
            _typeTable[17] = typeof(global::Windows.UI.Xaml.Media.Brush);
            _typeTable[18] = typeof(global::ZadaniaUA.DateConverter);
            _typeTable[19] = typeof(global::ZadaniaUA.MainPage);
            _typeTable[20] = typeof(global::Windows.UI.Xaml.Controls.Page);
            _typeTable[21] = typeof(global::Windows.UI.Xaml.Controls.UserControl);
        }

        private int LookupTypeIndexByName(string typeName)
        {
            if (_typeNameTable == null)
            {
                InitTypeTables();
            }
            for (int i=0; i<_typeNameTable.Length; i++)
            {
                if(0 == string.CompareOrdinal(_typeNameTable[i], typeName))
                {
                    return i;
                }
            }
            return -1;
        }

        private int LookupTypeIndexByType(global::System.Type type)
        {
            if (_typeTable == null)
            {
                InitTypeTables();
            }
            for(int i=0; i<_typeTable.Length; i++)
            {
                if(type == _typeTable[i])
                {
                    return i;
                }
            }
            return -1;
        }

        private object Activate_0_Zadania() { return new global::ZadaniaUA.ModelWidoku.Zadania(); }
        private object Activate_2_ObservableCollection() { return new global::System.Collections.ObjectModel.ObservableCollection<global::ZadaniaUA.ModelWidoku.Zadanie>(); }
        private object Activate_3_Collection() { return new global::System.Collections.ObjectModel.Collection<global::ZadaniaUA.ModelWidoku.Zadanie>(); }
        private object Activate_13_BooleanToVisibilityConverter() { return new global::ZadaniaUA.BooleanToVisibilityConverter(); }
        private object Activate_14_PriorytetZadaniaToString() { return new global::ZadaniaUA.PriorytetZadaniaToString(); }
        private object Activate_15_PriorytetZadaniaToBrush() { return new global::ZadaniaUA.PriorytetZadaniaToBrush(); }
        private object Activate_16_BoolToBrushConverter() { return new global::ZadaniaUA.BoolToBrushConverter(); }
        private object Activate_18_DateConverter() { return new global::ZadaniaUA.DateConverter(); }
        private object Activate_19_MainPage() { return new global::ZadaniaUA.MainPage(); }
        private void VectorAdd_2_ObservableCollection(object instance, object item)
        {
            var collection = (global::System.Collections.Generic.ICollection<global::ZadaniaUA.ModelWidoku.Zadanie>)instance;
            var newItem = (global::ZadaniaUA.ModelWidoku.Zadanie)item;
            collection.Add(newItem);
        }
        private void VectorAdd_3_Collection(object instance, object item)
        {
            var collection = (global::System.Collections.Generic.ICollection<global::ZadaniaUA.ModelWidoku.Zadanie>)instance;
            var newItem = (global::ZadaniaUA.ModelWidoku.Zadanie)item;
            collection.Add(newItem);
        }

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

            switch (typeIndex)
            {

            case 0:   //  ZadaniaUA.ModelWidoku.Zadania
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_0_Zadania;
                userType.AddMemberName("ListaZadań");
                userType.AddMemberName("Zapisz");
                userType.AddMemberName("WybranyIndeksZadania");
                userType.AddMemberName("UsuńZadanie");
                userType.AddMemberName("DodajZadanie");
                userType.AddMemberName("SortujZadania");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 1:   //  Object
                xamlType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 2:   //  System.Collections.ObjectModel.ObservableCollection`1<ZadaniaUA.ModelWidoku.Zadanie>
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Collections.ObjectModel.Collection`1<ZadaniaUA.ModelWidoku.Zadanie>"));
                userType.CollectionAdd = VectorAdd_2_ObservableCollection;
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 3:   //  System.Collections.ObjectModel.Collection`1<ZadaniaUA.ModelWidoku.Zadanie>
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_3_Collection;
                userType.CollectionAdd = VectorAdd_3_Collection;
                xamlType = userType;
                break;

            case 4:   //  ZadaniaUA.ModelWidoku.Zadanie
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.AddMemberName("Opis");
                userType.AddMemberName("Priorytet");
                userType.AddMemberName("DataUtworzenia");
                userType.AddMemberName("PlanowanyTerminRealizacji");
                userType.AddMemberName("CzyZrealizowane");
                userType.AddMemberName("CzyZadaniePozostajeNiezrealizowanePoPlanowanymTerminie");
                userType.AddMemberName("OznaczJakoZrealizowane");
                userType.AddMemberName("OznaczJakoNiezrealizowane");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 5:   //  String
                xamlType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 6:   //  ZadaniaUA.Model.PriorytetZadania
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.Enum"));
                userType.AddEnumValue("MniejWażne", global::ZadaniaUA.Model.PriorytetZadania.MniejWażne);
                userType.AddEnumValue("Ważne", global::ZadaniaUA.Model.PriorytetZadania.Ważne);
                userType.AddEnumValue("Krytyczne", global::ZadaniaUA.Model.PriorytetZadania.Krytyczne);
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 7:   //  System.Enum
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                xamlType = userType;
                break;

            case 8:   //  System.ValueType
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                xamlType = userType;
                break;

            case 9:   //  System.DateTime
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("System.ValueType"));
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 10:   //  Boolean
                xamlType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 11:   //  System.Windows.Input.ICommand
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, null);
                userType.SetIsReturnTypeStub();
                xamlType = userType;
                break;

            case 12:   //  Int32
                xamlType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 13:   //  ZadaniaUA.BooleanToVisibilityConverter
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_13_BooleanToVisibilityConverter;
                userType.AddMemberName("OdwróćZależność");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 14:   //  ZadaniaUA.PriorytetZadaniaToString
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_14_PriorytetZadaniaToString;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 15:   //  ZadaniaUA.PriorytetZadaniaToBrush
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_15_PriorytetZadaniaToBrush;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 16:   //  ZadaniaUA.BoolToBrushConverter
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_16_BoolToBrushConverter;
                userType.AddMemberName("KolorDlaFałszu");
                userType.AddMemberName("KolorDlaPrawdy");
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 17:   //  Windows.UI.Xaml.Media.Brush
                xamlType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 18:   //  ZadaniaUA.DateConverter
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Object"));
                userType.Activator = Activate_18_DateConverter;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 19:   //  ZadaniaUA.MainPage
                userType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType(this, typeName, type, GetXamlTypeByName("Windows.UI.Xaml.Controls.Page"));
                userType.Activator = Activate_19_MainPage;
                userType.SetIsLocalType();
                xamlType = userType;
                break;

            case 20:   //  Windows.UI.Xaml.Controls.Page
                xamlType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;

            case 21:   //  Windows.UI.Xaml.Controls.UserControl
                xamlType = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlSystemBaseType(typeName, type);
                break;
            }
            return xamlType;
        }


        private object get_0_Zadania_ListaZadań(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadania)instance;
            return that.ListaZadań;
        }
        private object get_1_Zadanie_Opis(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadanie)instance;
            return that.Opis;
        }
        private object get_2_Zadanie_Priorytet(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadanie)instance;
            return that.Priorytet;
        }
        private object get_3_Zadanie_DataUtworzenia(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadanie)instance;
            return that.DataUtworzenia;
        }
        private object get_4_Zadanie_PlanowanyTerminRealizacji(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadanie)instance;
            return that.PlanowanyTerminRealizacji;
        }
        private object get_5_Zadanie_CzyZrealizowane(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadanie)instance;
            return that.CzyZrealizowane;
        }
        private object get_6_Zadanie_CzyZadaniePozostajeNiezrealizowanePoPlanowanymTerminie(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadanie)instance;
            return that.CzyZadaniePozostajeNiezrealizowanePoPlanowanymTerminie;
        }
        private object get_7_Zadanie_OznaczJakoZrealizowane(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadanie)instance;
            return that.OznaczJakoZrealizowane;
        }
        private object get_8_Zadanie_OznaczJakoNiezrealizowane(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadanie)instance;
            return that.OznaczJakoNiezrealizowane;
        }
        private object get_9_Zadania_Zapisz(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadania)instance;
            return that.Zapisz;
        }
        private object get_10_Zadania_WybranyIndeksZadania(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadania)instance;
            return that.WybranyIndeksZadania;
        }
        private void set_10_Zadania_WybranyIndeksZadania(object instance, object Value)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadania)instance;
            that.WybranyIndeksZadania = (global::System.Int32)Value;
        }
        private object get_11_Zadania_UsuńZadanie(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadania)instance;
            return that.UsuńZadanie;
        }
        private object get_12_Zadania_DodajZadanie(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadania)instance;
            return that.DodajZadanie;
        }
        private object get_13_Zadania_SortujZadania(object instance)
        {
            var that = (global::ZadaniaUA.ModelWidoku.Zadania)instance;
            return that.SortujZadania;
        }
        private object get_14_BooleanToVisibilityConverter_OdwróćZależność(object instance)
        {
            var that = (global::ZadaniaUA.BooleanToVisibilityConverter)instance;
            return that.OdwróćZależność;
        }
        private void set_14_BooleanToVisibilityConverter_OdwróćZależność(object instance, object Value)
        {
            var that = (global::ZadaniaUA.BooleanToVisibilityConverter)instance;
            that.OdwróćZależność = (global::System.Boolean)Value;
        }
        private object get_15_BoolToBrushConverter_KolorDlaFałszu(object instance)
        {
            var that = (global::ZadaniaUA.BoolToBrushConverter)instance;
            return that.KolorDlaFałszu;
        }
        private void set_15_BoolToBrushConverter_KolorDlaFałszu(object instance, object Value)
        {
            var that = (global::ZadaniaUA.BoolToBrushConverter)instance;
            that.KolorDlaFałszu = (global::Windows.UI.Xaml.Media.Brush)Value;
        }
        private object get_16_BoolToBrushConverter_KolorDlaPrawdy(object instance)
        {
            var that = (global::ZadaniaUA.BoolToBrushConverter)instance;
            return that.KolorDlaPrawdy;
        }
        private void set_16_BoolToBrushConverter_KolorDlaPrawdy(object instance, object Value)
        {
            var that = (global::ZadaniaUA.BoolToBrushConverter)instance;
            that.KolorDlaPrawdy = (global::Windows.UI.Xaml.Media.Brush)Value;
        }

        private global::Windows.UI.Xaml.Markup.IXamlMember CreateXamlMember(string longMemberName)
        {
            global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember xamlMember = null;
            global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType userType;

            switch (longMemberName)
            {
            case "ZadaniaUA.ModelWidoku.Zadania.ListaZadań":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadania");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "ListaZadań", "System.Collections.ObjectModel.ObservableCollection`1<ZadaniaUA.ModelWidoku.Zadanie>");
                xamlMember.Getter = get_0_Zadania_ListaZadań;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadanie.Opis":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadanie");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "Opis", "String");
                xamlMember.Getter = get_1_Zadanie_Opis;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadanie.Priorytet":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadanie");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "Priorytet", "ZadaniaUA.Model.PriorytetZadania");
                xamlMember.Getter = get_2_Zadanie_Priorytet;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadanie.DataUtworzenia":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadanie");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "DataUtworzenia", "System.DateTime");
                xamlMember.Getter = get_3_Zadanie_DataUtworzenia;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadanie.PlanowanyTerminRealizacji":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadanie");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "PlanowanyTerminRealizacji", "System.DateTime");
                xamlMember.Getter = get_4_Zadanie_PlanowanyTerminRealizacji;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadanie.CzyZrealizowane":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadanie");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "CzyZrealizowane", "Boolean");
                xamlMember.Getter = get_5_Zadanie_CzyZrealizowane;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadanie.CzyZadaniePozostajeNiezrealizowanePoPlanowanymTerminie":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadanie");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "CzyZadaniePozostajeNiezrealizowanePoPlanowanymTerminie", "Boolean");
                xamlMember.Getter = get_6_Zadanie_CzyZadaniePozostajeNiezrealizowanePoPlanowanymTerminie;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadanie.OznaczJakoZrealizowane":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadanie");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "OznaczJakoZrealizowane", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_7_Zadanie_OznaczJakoZrealizowane;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadanie.OznaczJakoNiezrealizowane":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadanie");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "OznaczJakoNiezrealizowane", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_8_Zadanie_OznaczJakoNiezrealizowane;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadania.Zapisz":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadania");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "Zapisz", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_9_Zadania_Zapisz;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadania.WybranyIndeksZadania":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadania");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "WybranyIndeksZadania", "Int32");
                xamlMember.Getter = get_10_Zadania_WybranyIndeksZadania;
                xamlMember.Setter = set_10_Zadania_WybranyIndeksZadania;
                break;
            case "ZadaniaUA.ModelWidoku.Zadania.UsuńZadanie":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadania");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "UsuńZadanie", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_11_Zadania_UsuńZadanie;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadania.DodajZadanie":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadania");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "DodajZadanie", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_12_Zadania_DodajZadanie;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.ModelWidoku.Zadania.SortujZadania":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.ModelWidoku.Zadania");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "SortujZadania", "System.Windows.Input.ICommand");
                xamlMember.Getter = get_13_Zadania_SortujZadania;
                xamlMember.SetIsReadOnly();
                break;
            case "ZadaniaUA.BooleanToVisibilityConverter.OdwróćZależność":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.BooleanToVisibilityConverter");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "OdwróćZależność", "Boolean");
                xamlMember.Getter = get_14_BooleanToVisibilityConverter_OdwróćZależność;
                xamlMember.Setter = set_14_BooleanToVisibilityConverter_OdwróćZależność;
                break;
            case "ZadaniaUA.BoolToBrushConverter.KolorDlaFałszu":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.BoolToBrushConverter");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "KolorDlaFałszu", "Windows.UI.Xaml.Media.Brush");
                xamlMember.Getter = get_15_BoolToBrushConverter_KolorDlaFałszu;
                xamlMember.Setter = set_15_BoolToBrushConverter_KolorDlaFałszu;
                break;
            case "ZadaniaUA.BoolToBrushConverter.KolorDlaPrawdy":
                userType = (global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlUserType)GetXamlTypeByName("ZadaniaUA.BoolToBrushConverter");
                xamlMember = new global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlMember(this, "KolorDlaPrawdy", "Windows.UI.Xaml.Media.Brush");
                xamlMember.Getter = get_16_BoolToBrushConverter_KolorDlaPrawdy;
                xamlMember.Setter = set_16_BoolToBrushConverter_KolorDlaPrawdy;
                break;
            }
            return xamlMember;
        }
    }

    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")]    
    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    internal class XamlSystemBaseType : global::Windows.UI.Xaml.Markup.IXamlType
    {
        string _fullName;
        global::System.Type _underlyingType;

        public XamlSystemBaseType(string fullName, global::System.Type underlyingType)
        {
            _fullName = fullName;
            _underlyingType = underlyingType;
        }

        public string FullName { get { return _fullName; } }

        public global::System.Type UnderlyingType
        {
            get
            {
                return _underlyingType;
            }
        }

        virtual public global::Windows.UI.Xaml.Markup.IXamlType BaseType { get { throw new global::System.NotImplementedException(); } }
        virtual public global::Windows.UI.Xaml.Markup.IXamlMember ContentProperty { get { throw new global::System.NotImplementedException(); } }
        virtual public global::Windows.UI.Xaml.Markup.IXamlMember GetMember(string name) { throw new global::System.NotImplementedException(); }
        virtual public bool IsArray { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsCollection { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsConstructible { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsDictionary { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsMarkupExtension { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsBindable { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsReturnTypeStub { get { throw new global::System.NotImplementedException(); } }
        virtual public bool IsLocalType { get { throw new global::System.NotImplementedException(); } }
        virtual public global::Windows.UI.Xaml.Markup.IXamlType ItemType { get { throw new global::System.NotImplementedException(); } }
        virtual public global::Windows.UI.Xaml.Markup.IXamlType KeyType { get { throw new global::System.NotImplementedException(); } }
        virtual public object ActivateInstance() { throw new global::System.NotImplementedException(); }
        virtual public void AddToMap(object instance, object key, object item)  { throw new global::System.NotImplementedException(); }
        virtual public void AddToVector(object instance, object item)  { throw new global::System.NotImplementedException(); }
        virtual public void RunInitializer()   { throw new global::System.NotImplementedException(); }
        virtual public object CreateFromString(string input)   { throw new global::System.NotImplementedException(); }
    }
    
    internal delegate object Activator();
    internal delegate void AddToCollection(object instance, object item);
    internal delegate void AddToDictionary(object instance, object key, object item);

    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")]    
    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    internal class XamlUserType : global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlSystemBaseType
    {
        global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlTypeInfoProvider _provider;
        global::Windows.UI.Xaml.Markup.IXamlType _baseType;
        bool _isArray;
        bool _isMarkupExtension;
        bool _isBindable;
        bool _isReturnTypeStub;
        bool _isLocalType;

        string _contentPropertyName;
        string _itemTypeName;
        string _keyTypeName;
        global::System.Collections.Generic.Dictionary<string, string> _memberNames;
        global::System.Collections.Generic.Dictionary<string, object> _enumValues;

        public XamlUserType(global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlTypeInfoProvider provider, string fullName, global::System.Type fullType, global::Windows.UI.Xaml.Markup.IXamlType baseType)
            :base(fullName, fullType)
        {
            _provider = provider;
            _baseType = baseType;
        }

        // --- Interface methods ----

        override public global::Windows.UI.Xaml.Markup.IXamlType BaseType { get { return _baseType; } }
        override public bool IsArray { get { return _isArray; } }
        override public bool IsCollection { get { return (CollectionAdd != null); } }
        override public bool IsConstructible { get { return (Activator != null); } }
        override public bool IsDictionary { get { return (DictionaryAdd != null); } }
        override public bool IsMarkupExtension { get { return _isMarkupExtension; } }
        override public bool IsBindable { get { return _isBindable; } }
        override public bool IsReturnTypeStub { get { return _isReturnTypeStub; } }
        override public bool IsLocalType { get { return _isLocalType; } }

        override public global::Windows.UI.Xaml.Markup.IXamlMember ContentProperty
        {
            get { return _provider.GetMemberByLongName(_contentPropertyName); }
        }

        override public global::Windows.UI.Xaml.Markup.IXamlType ItemType
        {
            get { return _provider.GetXamlTypeByName(_itemTypeName); }
        }

        override public global::Windows.UI.Xaml.Markup.IXamlType KeyType
        {
            get { return _provider.GetXamlTypeByName(_keyTypeName); }
        }

        override public global::Windows.UI.Xaml.Markup.IXamlMember GetMember(string name)
        {
            if (_memberNames == null)
            {
                return null;
            }
            string longName;
            if (_memberNames.TryGetValue(name, out longName))
            {
                return _provider.GetMemberByLongName(longName);
            }
            return null;
        }

        override public object ActivateInstance()
        {
            return Activator(); 
        }

        override public void AddToMap(object instance, object key, object item) 
        {
            DictionaryAdd(instance, key, item);
        }

        override public void AddToVector(object instance, object item)
        {
            CollectionAdd(instance, item);
        }

        override public void RunInitializer() 
        {
            System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(UnderlyingType.TypeHandle);
        }

        override public object CreateFromString(string input)
        {
            if (_enumValues != null)
            {
                int value = 0;

                string[] valueParts = input.Split(',');

                foreach (string valuePart in valueParts) 
                {
                    object partValue;
                    int enumFieldValue = 0;
                    try
                    {
                        if (_enumValues.TryGetValue(valuePart.Trim(), out partValue))
                        {
                            enumFieldValue = global::System.Convert.ToInt32(partValue);
                        }
                        else
                        {
                            try
                            {
                                enumFieldValue = global::System.Convert.ToInt32(valuePart.Trim());
                            }
                            catch( global::System.FormatException )
                            {
                                foreach( string key in _enumValues.Keys )
                                {
                                    if( string.Compare(valuePart.Trim(), key, global::System.StringComparison.OrdinalIgnoreCase) == 0 )
                                    {
                                        if( _enumValues.TryGetValue(key.Trim(), out partValue) )
                                        {
                                            enumFieldValue = global::System.Convert.ToInt32(partValue);
                                            break;
                                        }
                                    }
                                }
                            }
                        }
                        value |= enumFieldValue; 
                    }
                    catch( global::System.FormatException )
                    {
                        throw new global::System.ArgumentException(input, FullName);
                    }
                }

                return value; 
            }
            throw new global::System.ArgumentException(input, FullName);
        }

        // --- End of Interface methods

        public Activator Activator { get; set; }
        public AddToCollection CollectionAdd { get; set; }
        public AddToDictionary DictionaryAdd { get; set; }

        public void SetContentPropertyName(string contentPropertyName)
        {
            _contentPropertyName = contentPropertyName;
        }

        public void SetIsArray()
        {
            _isArray = true; 
        }

        public void SetIsMarkupExtension()
        {
            _isMarkupExtension = true;
        }

        public void SetIsBindable()
        {
            _isBindable = true;
        }

        public void SetIsReturnTypeStub()
        {
            _isReturnTypeStub = true;
        }

        public void SetIsLocalType()
        {
            _isLocalType = true;
        }

        public void SetItemTypeName(string itemTypeName)
        {
            _itemTypeName = itemTypeName;
        }

        public void SetKeyTypeName(string keyTypeName)
        {
            _keyTypeName = keyTypeName;
        }

        public void AddMemberName(string shortName)
        {
            if(_memberNames == null)
            {
                _memberNames =  new global::System.Collections.Generic.Dictionary<string,string>();
            }
            _memberNames.Add(shortName, FullName + "." + shortName);
        }

        public void AddEnumValue(string name, object value)
        {
            if (_enumValues == null)
            {
                _enumValues = new global::System.Collections.Generic.Dictionary<string, object>();
            }
            _enumValues.Add(name, value);
        }
    }

    internal delegate object Getter(object instance);
    internal delegate void Setter(object instance, object value);

    
    [System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Windows.UI.Xaml.Build.Tasks", "4.0.0.0")]    
    [System.Diagnostics.DebuggerNonUserCodeAttribute()]
    internal class XamlMember : global::Windows.UI.Xaml.Markup.IXamlMember
    {
        global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlTypeInfoProvider _provider;
        string _name;
        bool _isAttachable;
        bool _isDependencyProperty;
        bool _isReadOnly;

        string _typeName;
        string _targetTypeName;

        public XamlMember(global::ZadaniaUA.ZadaniaUA_WindowsPhone_XamlTypeInfo.XamlTypeInfoProvider provider, string name, string typeName)
        {
            _name = name;
            _typeName = typeName;
            _provider = provider;
        }

        public string Name { get { return _name; } }

        public global::Windows.UI.Xaml.Markup.IXamlType Type
        {
            get { return _provider.GetXamlTypeByName(_typeName); }
        }

        public void SetTargetTypeName(string targetTypeName)
        {
            _targetTypeName = targetTypeName;
        }
        public global::Windows.UI.Xaml.Markup.IXamlType TargetType
        {
            get { return _provider.GetXamlTypeByName(_targetTypeName); }
        }

        public void SetIsAttachable() { _isAttachable = true; }
        public bool IsAttachable { get { return _isAttachable; } }

        public void SetIsDependencyProperty() { _isDependencyProperty = true; }
        public bool IsDependencyProperty { get { return _isDependencyProperty; } }

        public void SetIsReadOnly() { _isReadOnly = true; }
        public bool IsReadOnly { get { return _isReadOnly; } }

        public Getter Getter { get; set; }
        public object GetValue(object instance)
        {
            if (Getter != null)
                return Getter(instance);
            else
                throw new global::System.InvalidOperationException("GetValue");
        }

        public Setter Setter { get; set; }
        public void SetValue(object instance, object value)
        {
            if (Setter != null)
                Setter(instance, value);
            else
                throw new global::System.InvalidOperationException("SetValue");
        }
    }
}


