From c90c1e3b31926c2c226efab31b243084b369a018 Mon Sep 17 00:00:00 2001 From: Nirmal Guru Date: Sun, 14 Feb 2021 14:02:11 +0530 Subject: [PATCH] Clean-up whitespace and duplicate files in Design projects Just a basic trailing whitespace clean-up, no formatting changes. Also, Removing common files in the 'Layout.Design' project that were duplicated. --- Directory.Build.props | 2 +- Directory.Build.targets | 2 +- .../Properties/Resources.resx | 54 ++-- .../Properties/Resources.Designer.cs | 38 +-- .../Properties/Resources.resx | 54 ++-- .../Properties/Resources.Designer.cs | 20 +- .../Properties/Resources.resx | 54 ++-- .../Common/Constants.cs | 28 -- .../Common/MetadataRegistrationBase.cs | 253 ------------------ .../Common/PlatformTypes.cs | 41 --- .../MetadataRegistration.cs | 37 --- .../Properties/Resources.Designer.cs | 20 +- .../Properties/Resources.resx | 54 ++-- .../Properties/Resources.Designer.cs | 40 +-- .../Properties/Resources.resx | 54 ++-- .../Properties/Resources.Designer.cs | 18 +- .../Properties/Resources.resx | 54 ++-- 17 files changed, 232 insertions(+), 591 deletions(-) delete mode 100644 Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/Constants.cs delete mode 100644 Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/MetadataRegistrationBase.cs delete mode 100644 Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/PlatformTypes.cs delete mode 100644 Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/MetadataRegistration.cs diff --git a/Directory.Build.props b/Directory.Build.props index f9e78de1fa7..5b59fa7a93d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -7,7 +7,7 @@ https://raw.githubusercontent.com/windows-toolkit/WindowsCommunityToolkit/master/build/nuget.png images\nuget.png https://github.com/windows-toolkit/WindowsCommunityToolkit - MIT + MIT https://github.com/windows-toolkit/WindowsCommunityToolkit/releases (c) .NET Foundation and Contributors. All rights reserved. en-US diff --git a/Directory.Build.targets b/Directory.Build.targets index 2101233710b..112cde71423 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -13,7 +13,7 @@ - + diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Core.Design/Properties/Resources.resx b/Microsoft.Toolkit.Uwp.UI.Controls.Core.Design/Properties/Resources.resx index 55cac3ca36f..438f75392b1 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Core.Design/Properties/Resources.resx +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Core.Design/Properties/Resources.resx @@ -1,17 +1,17 @@  - diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Properties/Resources.Designer.cs b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Properties/Resources.Designer.cs index ac6a535501e..5548723e83d 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Properties/Resources.Designer.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Properties/Resources.Designer.cs @@ -10,8 +10,8 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -23,15 +23,15 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { - + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// @@ -45,7 +45,7 @@ internal Resources() { return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. @@ -59,7 +59,7 @@ internal Resources() { resourceCulture = value; } } - + /// /// Looks up a localized string similar to Appearance. /// @@ -68,7 +68,7 @@ internal static string CategoryAppearance { return ResourceManager.GetString("CategoryAppearance", resourceCulture); } } - + /// /// Looks up a localized string similar to Cell Binding. /// @@ -77,7 +77,7 @@ internal static string CategoryCellBinding { return ResourceManager.GetString("CategoryCellBinding", resourceCulture); } } - + /// /// Looks up a localized string similar to Cell Template. /// @@ -86,7 +86,7 @@ internal static string CategoryCellTemplate { return ResourceManager.GetString("CategoryCellTemplate", resourceCulture); } } - + /// /// Looks up a localized string similar to Columns. /// @@ -95,7 +95,7 @@ internal static string CategoryColumns { return ResourceManager.GetString("CategoryColumns", resourceCulture); } } - + /// /// Looks up a localized string similar to Common. /// @@ -104,7 +104,7 @@ internal static string CategoryCommon { return ResourceManager.GetString("CategoryCommon", resourceCulture); } } - + /// /// Looks up a localized string similar to Grid Lines. /// @@ -113,7 +113,7 @@ internal static string CategoryGridLines { return ResourceManager.GetString("CategoryGridLines", resourceCulture); } } - + /// /// Looks up a localized string similar to Header. /// @@ -122,7 +122,7 @@ internal static string CategoryHeader { return ResourceManager.GetString("CategoryHeader", resourceCulture); } } - + /// /// Looks up a localized string similar to Headers. /// @@ -131,7 +131,7 @@ internal static string CategoryHeaders { return ResourceManager.GetString("CategoryHeaders", resourceCulture); } } - + /// /// Looks up a localized string similar to Layout. /// @@ -140,7 +140,7 @@ internal static string CategoryLayout { return ResourceManager.GetString("CategoryLayout", resourceCulture); } } - + /// /// Looks up a localized string similar to Rows. /// @@ -149,7 +149,7 @@ internal static string CategoryRows { return ResourceManager.GetString("CategoryRows", resourceCulture); } } - + /// /// Looks up a localized string similar to Sort. /// @@ -158,7 +158,7 @@ internal static string CategorySort { return ResourceManager.GetString("CategorySort", resourceCulture); } } - + /// /// Looks up a localized string similar to Text. /// diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Properties/Resources.resx b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Properties/Resources.resx index c30051191c9..a2d8bcbd360 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Properties/Resources.resx +++ b/Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Properties/Resources.resx @@ -1,17 +1,17 @@  - diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Input.Design/Properties/Resources.Designer.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Input.Design/Properties/Resources.Designer.cs index a17591769f6..355f585a678 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Input.Design/Properties/Resources.Designer.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Input.Design/Properties/Resources.Designer.cs @@ -10,8 +10,8 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -23,15 +23,15 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { - + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// @@ -45,7 +45,7 @@ internal Resources() { return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. @@ -59,7 +59,7 @@ internal Resources() { resourceCulture = value; } } - + /// /// Looks up a localized string similar to Appearance. /// @@ -68,7 +68,7 @@ internal static string CategoryAppearance { return ResourceManager.GetString("CategoryAppearance", resourceCulture); } } - + /// /// Looks up a localized string similar to Brush. /// @@ -77,7 +77,7 @@ internal static string CategoryBrush { return ResourceManager.GetString("CategoryBrush", resourceCulture); } } - + /// /// Looks up a localized string similar to Common. /// diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Input.Design/Properties/Resources.resx b/Microsoft.Toolkit.Uwp.UI.Controls.Input.Design/Properties/Resources.resx index 8a8f1b3f3ba..fb7eb4857de 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Input.Design/Properties/Resources.resx +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Input.Design/Properties/Resources.resx @@ -1,17 +1,17 @@  - diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/Constants.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/Constants.cs deleted file mode 100644 index 8236858858c..00000000000 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/Constants.cs +++ /dev/null @@ -1,28 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using System.Diagnostics.CodeAnalysis; - -[assembly: SuppressMessage("General", "SWC1001:XmlDocumentationCommentShouldBeSpelledCorrectly", MessageId = "Theming", Justification = "Correct spelling")] - -namespace Microsoft.Toolkit.Uwp.UI.Controls.Design -{ - internal static partial class ControlTypes - { - // HACK: Don't forget to update, if the namespace changes. - public const string RootNamespace = "Microsoft.Toolkit.Uwp.UI.Controls"; - } - - /// - /// Names for ToolboxCategoryAttribute. - /// - internal static class ToolboxCategoryPaths - { - /// - /// Basic Controls category. - /// - public const string Toolkit = "Windows Community Toolkit"; - } -} diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/MetadataRegistrationBase.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/MetadataRegistrationBase.cs deleted file mode 100644 index 024529d9fe9..00000000000 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/MetadataRegistrationBase.cs +++ /dev/null @@ -1,253 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Diagnostics; -using System.Diagnostics.CodeAnalysis; -using System.Linq; -using System.Reflection; -using System.Xml.Linq; - -using Microsoft.Toolkit.Uwp.Design.Types; - -using Microsoft.VisualStudio.DesignTools.Extensibility; -using Microsoft.VisualStudio.DesignTools.Extensibility.Metadata; - -namespace Microsoft.Toolkit.Uwp.Design.Common -{ - public abstract class MetadataRegistrationBase : IProvideAttributeTable - { - private AttributeTable masterMetadataTable; - - internal MetadataRegistrationBase() { } - - /// - /// Build design time metadata attribute table. - /// - /// Custom attribute table. - protected virtual AttributeTable BuildAttributeTable() - { - var builder = new AttributeTableBuilder(); - - AddDescriptions(builder); - AddAttributes(builder); - AddTables(builder, this); - - masterMetadataTable = builder.CreateTable(); - return masterMetadataTable; - } - - #region IProvideAttributeTable Members - - /// - /// Gets the AttributeTable for design time metadata. - /// - public AttributeTable AttributeTable => BuildAttributeTable(); - - #endregion - - /// - /// Find all AttributeTableBuilder subclasses in the assembly - /// and add their attributes to the assembly attribute table. - /// - /// The assembly attribute table builder. - [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Design time dll should not fail!")] - private void AddTables(AttributeTableBuilder builder, object parent) - { - Debug.Assert(builder != null, "AddTables is called with null parameter!"); - - Assembly asm = parent.GetType().Assembly; - foreach (Type t in asm.GetTypes()) - { - if (t.IsSubclassOf(typeof(AttributeTableBuilder))) - { - try - { - var atb = (AttributeTableBuilder)Activator.CreateInstance(t); - builder.AddTable(atb.CreateTable()); - } - catch (Exception) - { - //error loading design assembly - } - } - } - } - - /// - /// Gets or sets the case sensitive resource name of the embedded XML file. - /// - protected string XmlResourceName { get; set; } - - /// - /// Gets or sets the FullName of the corresponding run time assembly. - /// - protected string AssemblyFullName { get; set; } - - /// - /// Create description attribute from run time assembly XML file. - /// - /// The assembly attribute table builder. - [SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes", Justification = "Design time dll should not fail.")] - private void AddDescriptions(AttributeTableBuilder builder) - { - Debug.Assert(builder != null, "AddDescriptions is called with null parameter!"); - - if (string.IsNullOrEmpty(XmlResourceName) || string.IsNullOrEmpty(AssemblyFullName)) return; - - XDocument xDoc; - try - { - xDoc = XDocument.Load(Assembly.GetExecutingAssembly().GetManifestResourceStream(XmlResourceName)); - } - catch - { - return; - } - - if (xDoc == null) return; - - foreach (XElement member in xDoc.Descendants("member")) - { - try - { - string name = (string)member.Attribute("name"); - - if (name == null) continue; - - bool isType = name.StartsWith("T:", StringComparison.OrdinalIgnoreCase); - bool isProperty = name.StartsWith("P:", StringComparison.OrdinalIgnoreCase); - - if (isType || isProperty) - { - int lastDot = name.Length; - string typeName; - - if (isType) - { - typeName = name.Substring(2); // skip leading "T:" - } - else - { - lastDot = name.LastIndexOf('.'); - typeName = name.Substring(2, lastDot - 2); - } - - var type = Type.GetType(typeName + ", " + AssemblyFullName); - - if (type != null && type.IsPublic && type.IsClass && type.IsSubclassOf(PlatformTypes.DependencyObject)) - { - string desc = ParseDescription(member); - - if (desc == null) continue; - - desc = string.Join(" ", desc.Trim().Split(new char[] { ' ', '\t', '\n', '\r' }, StringSplitOptions.RemoveEmptyEntries)); - - if (isType) - { - if (IsBrowsable(type)) - { - builder.AddCustomAttributes(typeName, new DescriptionAttribute(desc)); - } - else //Hide from intellisense - { - builder.AddCustomAttributes(typeName, - new BrowsableAttribute(false), - new ToolboxBrowsableAttribute(false), - new ToolboxItemAttribute(false)); - } - } - else - { - var propertyName = name.Substring(lastDot + 1); - PropertyInfo pi = type.GetProperty(propertyName, BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly); - if (pi != null) - { - if (IsBrowsable(type)) - { - builder.AddCustomAttributes(typeName, propertyName, new DescriptionAttribute(desc)); - } - else //Hide from intellisense - { - builder.AddCustomAttributes(typeName, new BrowsableAttribute(false)); - } - } - } - } - } - } - catch - { - } - } - } - - private static bool IsBrowsable(MemberInfo typeOrMember) - { - EditorBrowsableAttribute attribute; - try - { - attribute = typeOrMember.GetCustomAttribute(false); - } - catch - { - return true; // If there is no [EditorBrowsable] attribute present, we'll show it by default. - } - return attribute.State != EditorBrowsableState.Never; - } - - /// - /// Create description string from XML doc summary tag. - /// - /// A single node of the XML doc. - /// Description string. - private static string ParseDescription(XElement member) - { - string desc = null; - XElement memberDesc = member.Descendants("summary").FirstOrDefault(); - - if (memberDesc != null) - { - IEnumerable nodes = memberDesc.DescendantNodes(); - - if (nodes != null) - { - foreach (XNode node in nodes) - { - if (node.NodeType == System.Xml.XmlNodeType.Text) - { - desc += node.ToString(); - } - else - { - string s = node.ToString(); - int i = s.LastIndexOf('.'); - int j = s.LastIndexOf('"'); - - if ((i != -1 || j != -1) && j - i - 1 > 0) - { - try - { - desc += s.Substring(i + 1, j - i - 1); - } - catch { } - } - } - } - } - } - return desc; - } - - /// - /// Provide a place to add custom attributes without creating a AttributeTableBuilder subclass. - /// - /// The assembly attribute table builder. - protected virtual void AddAttributes(AttributeTableBuilder builder) - { - } - } -} \ No newline at end of file diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/PlatformTypes.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/PlatformTypes.cs deleted file mode 100644 index 57ecf3ec226..00000000000 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Common/PlatformTypes.cs +++ /dev/null @@ -1,41 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Microsoft.VisualStudio.DesignTools.Extensibility; -using Microsoft.VisualStudio.DesignTools.Extensibility.Metadata; - -namespace Microsoft.Toolkit.Uwp.Design.Types -{ - internal class PlatformTypes - { - public static readonly Type DependencyObject = typeof(DependencyObject); - public static readonly Type UIElement = typeof(UIElement); - public static readonly Type FrameworkElement = typeof(FrameworkElement); - public static readonly Type Control = typeof(Control); - } - - internal class XamlTypes - { - public static class FrameworkElement - { - public static readonly TypeIdentifier TypeId = new TypeIdentifier("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "FrameworkElement"); - public static readonly PropertyIdentifier MarginProperty = new PropertyIdentifier(TypeId, "Margin"); - public static readonly PropertyIdentifier HorizontalAlignmentProperty = new PropertyIdentifier(TypeId, "HorizontalAlignment"); - public static readonly PropertyIdentifier VerticalAlignmentProperty = new PropertyIdentifier(TypeId, "VerticalAlignment"); - public static readonly PropertyIdentifier HeightProperty = new PropertyIdentifier(TypeId, "Height"); - public static readonly PropertyIdentifier WidthProperty = new PropertyIdentifier(TypeId, "Width"); - } - - public static class Control - { - public static readonly TypeIdentifier TypeId = new TypeIdentifier("http://schemas.microsoft.com/winfx/2006/xaml/presentation", "Control"); - public static readonly PropertyIdentifier BackgroundProperty = new PropertyIdentifier(TypeId, "Background"); - public static readonly PropertyIdentifier BorderBrushProperty = new PropertyIdentifier(TypeId, "BorderBrush"); - public static readonly PropertyIdentifier BorderThicknessProperty = new PropertyIdentifier(TypeId, "BorderThickness"); - } - } -} diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/MetadataRegistration.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/MetadataRegistration.cs deleted file mode 100644 index 2b755e8893f..00000000000 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/MetadataRegistration.cs +++ /dev/null @@ -1,37 +0,0 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. -// See the LICENSE file in the project root for more information. - -using System; -using System.Reflection; -using Microsoft.Toolkit.Uwp.Design.Common; -using Microsoft.Toolkit.Uwp.UI.Controls.Design; - -using Microsoft.VisualStudio.DesignTools.Extensibility.Metadata; - -[assembly: ProvideMetadata(typeof(MetadataRegistration))] - -namespace Microsoft.Toolkit.Uwp.UI.Controls.Design -{ - public class MetadataRegistration : MetadataRegistrationBase - { - public MetadataRegistration() : base() - { - // Note: - // The default constructor sets value of 'AssemblyFullName' and - // 'XmlResourceName' used by 'MetadataRegistrationBase.AddDescriptions()'. - // The convention here is that the in '.DesignTools.csproj' - // (or Default namespace in Project -> Properties -> Application tab) - // must be the same as runtime assembly's main namespace plus ".Design". - Type thisType = this.GetType(); - AssemblyName designLib = thisType.Assembly.GetName(); - - string annexString = ".DesignTools"; - int annexStart = designLib.Name.LastIndexOf(annexString); - string controlLibName = designLib.Name.Remove(annexStart, annexString.Length); - - AssemblyFullName = designLib.FullName; - XmlResourceName = $"{thisType.Namespace}{controlLibName}.xml"; - } - } -} \ No newline at end of file diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Properties/Resources.Designer.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Properties/Resources.Designer.cs index a17591769f6..355f585a678 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Properties/Resources.Designer.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Properties/Resources.Designer.cs @@ -10,8 +10,8 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -23,15 +23,15 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { - + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// @@ -45,7 +45,7 @@ internal Resources() { return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. @@ -59,7 +59,7 @@ internal Resources() { resourceCulture = value; } } - + /// /// Looks up a localized string similar to Appearance. /// @@ -68,7 +68,7 @@ internal static string CategoryAppearance { return ResourceManager.GetString("CategoryAppearance", resourceCulture); } } - + /// /// Looks up a localized string similar to Brush. /// @@ -77,7 +77,7 @@ internal static string CategoryBrush { return ResourceManager.GetString("CategoryBrush", resourceCulture); } } - + /// /// Looks up a localized string similar to Common. /// diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Properties/Resources.resx b/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Properties/Resources.resx index 8a8f1b3f3ba..fb7eb4857de 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Properties/Resources.resx +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Layout.Design/Properties/Resources.resx @@ -1,17 +1,17 @@  - diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Design/Properties/Resources.Designer.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Design/Properties/Resources.Designer.cs index e160035a377..e22f34ec314 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Design/Properties/Resources.Designer.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Design/Properties/Resources.Designer.cs @@ -10,8 +10,8 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -23,15 +23,15 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { - + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// @@ -45,7 +45,7 @@ internal Resources() { return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. @@ -59,7 +59,7 @@ internal Resources() { resourceCulture = value; } } - + /// /// Looks up a localized string similar to Appearance. /// @@ -68,7 +68,7 @@ internal static string CategoryAppearance { return ResourceManager.GetString("CategoryAppearance", resourceCulture); } } - + /// /// Looks up a localized string similar to Brush. /// @@ -77,7 +77,7 @@ internal static string CategoryBrush { return ResourceManager.GetString("CategoryBrush", resourceCulture); } } - + /// /// Looks up a localized string similar to Common. /// @@ -86,7 +86,7 @@ internal static string CategoryCommon { return ResourceManager.GetString("CategoryCommon", resourceCulture); } } - + /// /// Looks up a localized string similar to Drop Shadow. /// @@ -95,7 +95,7 @@ internal static string CategoryDropShadow { return ResourceManager.GetString("CategoryDropShadow", resourceCulture); } } - + /// /// Looks up a localized string similar to Interactions. /// @@ -104,7 +104,7 @@ internal static string CategoryInteractions { return ResourceManager.GetString("CategoryInteractions", resourceCulture); } } - + /// /// Looks up a localized string similar to Layout. /// @@ -113,7 +113,7 @@ internal static string CategoryLayout { return ResourceManager.GetString("CategoryLayout", resourceCulture); } } - + /// /// Looks up a localized string similar to Markdown Style - Code. /// @@ -122,7 +122,7 @@ internal static string CategoryMarkdownCodeStyle { return ResourceManager.GetString("CategoryMarkdownCodeStyle", resourceCulture); } } - + /// /// Looks up a localized string similar to Markdown Style - Header {0}. /// @@ -131,7 +131,7 @@ internal static string CategoryMarkdownHeaderStyle { return ResourceManager.GetString("CategoryMarkdownHeaderStyle", resourceCulture); } } - + /// /// Looks up a localized string similar to Markdown Style - List. /// @@ -140,7 +140,7 @@ internal static string CategoryMarkdownListStyle { return ResourceManager.GetString("CategoryMarkdownListStyle", resourceCulture); } } - + /// /// Looks up a localized string similar to Markdown Style - Quote. /// @@ -149,7 +149,7 @@ internal static string CategoryMarkdownQuoteStyle { return ResourceManager.GetString("CategoryMarkdownQuoteStyle", resourceCulture); } } - + /// /// Looks up a localized string similar to Markdown Style. /// @@ -158,7 +158,7 @@ internal static string CategoryMarkdownStyle { return ResourceManager.GetString("CategoryMarkdownStyle", resourceCulture); } } - + /// /// Looks up a localized string similar to Markdown Style - Table. /// @@ -167,7 +167,7 @@ internal static string CategoryMarkdownTableStyle { return ResourceManager.GetString("CategoryMarkdownTableStyle", resourceCulture); } } - + /// /// Looks up a localized string similar to Text. /// diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Design/Properties/Resources.resx b/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Design/Properties/Resources.resx index e8903ef43b7..0dfa544c91b 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Design/Properties/Resources.resx +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Markdown.Design/Properties/Resources.resx @@ -1,17 +1,17 @@  - diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.Design/Properties/Resources.Designer.cs b/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.Design/Properties/Resources.Designer.cs index bad69d9bf25..35acb0b25a0 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.Design/Properties/Resources.Designer.cs +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.Design/Properties/Resources.Designer.cs @@ -10,8 +10,8 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { using System; - - + + /// /// A strongly-typed resource class, for looking up localized strings, etc. /// @@ -23,15 +23,15 @@ namespace Microsoft.Toolkit.Uwp.UI.Controls.Design.Properties { [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { - + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] internal Resources() { } - + /// /// Returns the cached ResourceManager instance used by this class. /// @@ -45,7 +45,7 @@ internal Resources() { return resourceMan; } } - + /// /// Overrides the current thread's CurrentUICulture property for all /// resource lookups using this strongly typed resource class. @@ -59,7 +59,7 @@ internal Resources() { resourceCulture = value; } } - + /// /// Looks up a localized string similar to Common. /// @@ -68,7 +68,7 @@ internal static string CategoryCommon { return ResourceManager.GetString("CategoryCommon", resourceCulture); } } - + /// /// Looks up a localized string similar to Layout. /// diff --git a/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.Design/Properties/Resources.resx b/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.Design/Properties/Resources.resx index 550ed935b51..6d2e88846dd 100644 --- a/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.Design/Properties/Resources.resx +++ b/Microsoft.Toolkit.Uwp.UI.Controls.Primitives.Design/Properties/Resources.resx @@ -1,17 +1,17 @@  -