Skip to content

Commit bac2461

Browse files
committed
Fixed indentation o design projects.
1 parent 323cfd7 commit bac2461

File tree

5 files changed

+481
-483
lines changed

5 files changed

+481
-483
lines changed

Microsoft.Toolkit.Uwp.UI.Controls.DataGrid.Design/Common/MetadataRegistrationBase.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private void AddDescriptions(AttributeTableBuilder builder)
105105
try
106106
{
107107
string name = (string)member.Attribute("name");
108-
if (name == null)
108+
if (name == null)
109109
continue;
110110
bool isType = name.StartsWith("T:", StringComparison.OrdinalIgnoreCase);
111111
if (isType ||
@@ -123,7 +123,7 @@ private void AddDescriptions(AttributeTableBuilder builder)
123123
typeName = name.Substring(2, lastDot - 2);
124124
}
125125
typeName += AssemblyFullName;
126-
126+
127127
Type t = Type.GetType(typeName);
128128
if (t != null && t.IsPublic && t.IsClass &&
129129
t.IsSubclassOf(Types.PlatformTypes.DependencyObjectType))
@@ -164,7 +164,7 @@ private void AddDescriptions(AttributeTableBuilder builder)
164164
isBrowsable = IsBrowsable(pi);
165165
}
166166
catch { isBrowsable = false; }
167-
if(isBrowsable)
167+
if (isBrowsable)
168168
builder.AddCallback(t, b => b.AddCustomAttributes(propName, new DescriptionAttribute(desc)));
169169
else //Hide from intellisense
170170
builder.AddCallback(t, b => b.AddCustomAttributes(new BrowsableAttribute(false)));

0 commit comments

Comments
 (0)