Automated dotnet-format update
This commit is contained in:
1 parent
ad4c2f68aa
commit
2af18c2d38
403 files changed
+1569
-1567
No files matched your search
@@ -61,7 +61,7 @@ namespace HandyControlDemo.Service
|
||||
Index = j,
|
||||
IsSelected = j % 2 == 0,
|
||||
Name = $"SubName{j}",
|
||||
Type = (DemoType)j
|
||||
Type = (DemoType) j
|
||||
});
|
||||
}
|
||||
var model = new DemoDataModel
|
||||
@@ -69,7 +69,7 @@ namespace HandyControlDemo.Service
|
||||
Index = i,
|
||||
IsSelected = i % 2 == 0,
|
||||
Name = $"Name{i}",
|
||||
Type = (DemoType)i,
|
||||
Type = (DemoType) i,
|
||||
DataList = dataList,
|
||||
ImgPath = $"/HandyControlDemo;component/Resources/Img/Avatar/avatar{i % 6 + 1}.png",
|
||||
Remark = new string(i.ToString()[0], 10)
|
||||
@@ -91,7 +91,7 @@ namespace HandyControlDemo.Service
|
||||
Index = i,
|
||||
IsSelected = i % 2 == 0,
|
||||
Name = $"Name{i}",
|
||||
Type = (DemoType)index,
|
||||
Type = (DemoType) index,
|
||||
ImgPath = $"/HandyControlDemo;component/Resources/Img/Avatar/avatar{index}.png",
|
||||
Remark = new string(i.ToString()[0], 10)
|
||||
};
|
||||
@@ -129,7 +129,7 @@ namespace HandyControlDemo.Service
|
||||
Link = item.html_url
|
||||
}));
|
||||
}
|
||||
catch(Exception e)
|
||||
catch (Exception e)
|
||||
{
|
||||
HandyControl.Controls.MessageBox.Error(e.Message, Lang.Error);
|
||||
}
|
||||
@@ -396,10 +396,10 @@ namespace HandyControlDemo.Service
|
||||
|
||||
foreach (var item in list)
|
||||
{
|
||||
var name = (string)item[0];
|
||||
var name = (string) item[0];
|
||||
string targetCtlName = item[1];
|
||||
string imageName = item[2];
|
||||
var isNew = !string.IsNullOrEmpty((string)item[3]);
|
||||
var isNew = !string.IsNullOrEmpty((string) item[3]);
|
||||
|
||||
resultList.Add(new DemoItemModel
|
||||
{
|
||||
@@ -413,4 +413,4 @@ namespace HandyControlDemo.Service
|
||||
return resultList;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user