Rename class
This commit is contained in:
1 parent
9aa9ff9291
commit
3ff7540693
3 files changed
+4
-4
No files matched your search
@@ -179,7 +179,7 @@ namespace Vocaluxe.Base
|
|||||||
{
|
{
|
||||||
SThemeCover themeCover;
|
SThemeCover themeCover;
|
||||||
using (var stream = new FileStream(path, FileMode.Open))
|
using (var stream = new FileStream(path, FileMode.Open))
|
||||||
themeCover = CMyXmlDeserializer.Deserialize<SThemeCover>(stream);
|
themeCover = CXmlSerializer.Deserialize<SThemeCover>(stream);
|
||||||
string cover = themeCover.Info.Author;
|
string cover = themeCover.Info.Author;
|
||||||
STheme theme = new STheme();
|
STheme theme = new STheme();
|
||||||
STheme theme2 = new STheme();
|
STheme theme2 = new STheme();
|
||||||
@@ -188,7 +188,7 @@ namespace Vocaluxe.Base
|
|||||||
for (int i = 0; i < 10000; i++)
|
for (int i = 0; i < 10000; i++)
|
||||||
{
|
{
|
||||||
using (var stream = new StreamReader(Path.Combine(CBase.Themes.GetThemeScreensPath(-1), "ScreenMain.xml")))
|
using (var stream = new StreamReader(Path.Combine(CBase.Themes.GetThemeScreensPath(-1), "ScreenMain.xml")))
|
||||||
theme = CMyXmlDeserializer.Deserialize<STheme>(stream);
|
theme = CXmlSerializer.Deserialize<STheme>(stream);
|
||||||
}
|
}
|
||||||
watch.Stop();
|
watch.Stop();
|
||||||
Stopwatch watch2 = new Stopwatch();
|
Stopwatch watch2 = new Stopwatch();
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
<Compile Include="Draw\CTextureRef.cs" />
|
<Compile Include="Draw\CTextureRef.cs" />
|
||||||
<Compile Include="Menu\IThemeable.cs" />
|
<Compile Include="Menu\IThemeable.cs" />
|
||||||
<Compile Include="Menu\SingNotes\CNoteBars.cs" />
|
<Compile Include="Menu\SingNotes\CNoteBars.cs" />
|
||||||
<Compile Include="Xml\CMyXmlDeserializer.cs" />
|
<Compile Include="Xml\CXmlSerializer.cs" />
|
||||||
<Compile Include="Xml\CXmlDeserializer.cs" />
|
<Compile Include="Xml\CXmlDeserializer.cs" />
|
||||||
<Compile Include="Xml\CXMLReader.cs" />
|
<Compile Include="Xml\CXMLReader.cs" />
|
||||||
<Compile Include="Enums.cs" />
|
<Compile Include="Enums.cs" />
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace VocaluxeLib.Xml
|
|||||||
|
|
||||||
// ReSharper restore InconsistentNaming
|
// ReSharper restore InconsistentNaming
|
||||||
|
|
||||||
public static class CMyXmlDeserializer
|
public static class CXmlSerializer
|
||||||
{
|
{
|
||||||
private struct SFieldInfo
|
private struct SFieldInfo
|
||||||
{
|
{
|
||||||
Reference in new issue
Block a user