コード例 #1
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }
            _contentLoaded = true;

#pragma warning disable 0184 // Prevents warning CS0184 ('The given expression is never of the provided ('type') type')
            if (this is global::Windows.UI.Xaml.UIElement)
            {
                ((global::Windows.UI.Xaml.UIElement)(object) this).XamlSourcePath = @"FlightDashWeb\App.xaml";
            }
#pragma warning restore 0184


            global::CSHTML5.Internal.StartupAssemblyInfo.OutputRootPath      = @"Output\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputAppFilesPath  = @"app-cshtml5\app\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputLibrariesPath = @"app-cshtml5\libs\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputResourcesPath = @"app-cshtml5\res\";


            var ResourceDictionary_a2c0545618ee4e0b8bf9fccb15ab8cb1 = new global::Windows.UI.Xaml.ResourceDictionary();
            this.Resources = ResourceDictionary_a2c0545618ee4e0b8bf9fccb15ab8cb1;

            this.Resources = ResourceDictionary_a2c0545618ee4e0b8bf9fccb15ab8cb1;
        }
コード例 #2
0
 public global::Windows.UI.Xaml.Data.IValueConverter LookupConverter(string key)
 {
     if (this.localResources == null)
     {
         global::Windows.UI.Xaml.FrameworkElement rootElement;
         this.converterLookupRoot.TryGetTarget(out rootElement);
         this.localResources      = rootElement.Resources;
         this.converterLookupRoot = null;
     }
     return((global::Windows.UI.Xaml.Data.IValueConverter)(this.localResources.ContainsKey(key) ? this.localResources[key] : global::Windows.UI.Xaml.Application.Current.Resources[key]));
 }
コード例 #3
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }
            _contentLoaded = true;


            global::CSHTML5.Internal.StartupAssemblyInfo.OutputRootPath      = @"Output\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputAppFilesPath  = @"app-cshtml5\app\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputLibrariesPath = @"app-cshtml5\libs\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputResourcesPath = @"app-cshtml5\res\";


            var ResourceDictionary_b485c5676b23495bbf50432b935b9f91 = new global::Windows.UI.Xaml.ResourceDictionary();

            this.Resources = ResourceDictionary_b485c5676b23495bbf50432b935b9f91;
        }
コード例 #4
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }
            _contentLoaded = true;


            global::CSHTML5.Internal.StartupAssemblyInfo.OutputRootPath      = @"Output\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputAppFilesPath  = @"app-cshtml5\app\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputLibrariesPath = @"app-cshtml5\libs\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputResourcesPath = @"app-cshtml5\res\";


            var ResourceDictionary_d96d30a5bc1a4c6c8ee27c90c61472a5 = new global::Windows.UI.Xaml.ResourceDictionary();

            this.Resources = ResourceDictionary_d96d30a5bc1a4c6c8ee27c90c61472a5;
        }
コード例 #5
0
        public void InitializeComponent()
        {
            if (_contentLoaded)
            {
                return;
            }
            _contentLoaded = true;


            global::CSHTML5.Internal.StartupAssemblyInfo.OutputRootPath      = @"Output\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputAppFilesPath  = @"app-cshtml5\app\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputLibrariesPath = @"app-cshtml5\libs\";
            global::CSHTML5.Internal.StartupAssemblyInfo.OutputResourcesPath = @"app-cshtml5\res\";


            var ResourceDictionary_02879ee450ec4226ab2e387486633e99 = new global::Windows.UI.Xaml.ResourceDictionary();

            this.Resources = ResourceDictionary_02879ee450ec4226ab2e387486633e99;
        }
コード例 #6
0
 public global::Windows.UI.Xaml.Data.IValueConverter LookupConverter(string key)
 {
     if (this.localResources == null)
     {
         global::Windows.UI.Xaml.FrameworkElement rootElement;
         this.converterLookupRoot.TryGetTarget(out rootElement);
         this.localResources = rootElement.Resources;
         this.converterLookupRoot = null;
     }
     return (global::Windows.UI.Xaml.Data.IValueConverter) (this.localResources.ContainsKey(key) ? this.localResources[key] : global::Windows.UI.Xaml.Application.Current.Resources[key]);
 }
コード例 #7
0
 public void SetConverterLookupRoot(global::Windows.UI.Xaml.ResourceDictionary resources)
 {
     this.localResources = resources;
 }
コード例 #8
0
ファイル: Shell.g.cs プロジェクト: rwecho/UAP-Samples
 public void SetConverterLookupRoot(global::Windows.UI.Xaml.ResourceDictionary resources)
 {
     this.localResources = resources;
 }