Skip to content

Commit 6059f9d

Browse files
committed
Fix SettingFolder related classes.
1 parent 741027f commit 6059f9d

4 files changed

Lines changed: 21 additions & 10 deletions

File tree

Applications/Rss/Reader/Sources/Models/Settings/LockSetting.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515
// limitations under the License.
1616
//
1717
/* ------------------------------------------------------------------------- */
18+
using System;
19+
using System.Runtime.Serialization;
20+
using System.Security;
1821
using Cube.DataContract;
1922
using Cube.FileSystem;
2023
using Cube.Mixin.IO;
2124
using Microsoft.Win32;
22-
using System;
23-
using System.Runtime.Serialization;
24-
using System.Security;
2525

2626
namespace Cube.Net.Rss.Reader
2727
{

Applications/Rss/Reader/Sources/Models/Settings/SettingFolder.cs

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
// limitations under the License.
1616
//
1717
/* ------------------------------------------------------------------------- */
18+
using System;
19+
using System.Diagnostics;
20+
using System.Reflection;
1821
using Cube.DataContract;
1922
using Cube.FileSystem;
2023
using Cube.Mixin.Assembly;
2124
using Cube.Mixin.Environment;
2225
using Cube.Mixin.Logging;
2326
using Cube.Mixin.String;
24-
using System;
25-
using System.Diagnostics;
26-
using System.Reflection;
2727

2828
namespace Cube.Net.Rss.Reader
2929
{
@@ -40,6 +40,17 @@ public class SettingFolder : SettingFolder<LocalSetting>
4040
{
4141
#region Constructors
4242

43+
/* ----------------------------------------------------------------- */
44+
///
45+
/// SettingFolder
46+
///
47+
/// <summary>
48+
/// Initializes static resources of the SettingFolder class.
49+
/// </summary>
50+
///
51+
/* ----------------------------------------------------------------- */
52+
static SettingFolder() { Network.Setup(); }
53+
4354
/* ----------------------------------------------------------------- */
4455
///
4556
/// SettingFolder

Applications/Rss/Reader/Sources/Models/Settings/SharedSetting.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
// limitations under the License.
1616
//
1717
/* ------------------------------------------------------------------------- */
18+
using System;
19+
using System.Runtime.Serialization;
1820
using Cube.DataContract;
1921
using Cube.FileSystem;
2022
using Cube.Mixin.IO;
21-
using System;
22-
using System.Runtime.Serialization;
2323

2424
namespace Cube.Net.Rss.Reader
2525
{

Applications/Rss/Reader/Sources/Models/Settings/UpdateChecker.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
// limitations under the License.
1616
//
1717
/* ------------------------------------------------------------------------- */
18-
using Cube.Mixin.Assembly;
19-
using Cube.Mixin.Logging;
2018
using System;
2119
using System.Diagnostics;
2220
using System.Reflection;
21+
using Cube.Mixin.Assembly;
22+
using Cube.Mixin.Logging;
2323

2424
namespace Cube.Net.Rss.Reader
2525
{

0 commit comments

Comments
 (0)