Inheritance: ISettings
コード例 #1
0
ファイル: Project.cs プロジェクト: Radnen/spherestudio
 private Project(string fileName)
 {
     fileName = Path.GetFullPath(fileName);
     FileName = fileName;
     _ssproj = new IniSettings(new IniFile(FileName, false), ".ssproj");
     User = new UserSettings(Path.ChangeExtension(FileName, ".ssuser"));
 }
コード例 #2
0
ファイル: PluginShim.cs プロジェクト: Radnen/spherestudio
 public void Activate()
 {
     if (!_isEnabled)
     {
         ISettings conf = new IniSettings(Core.MainIniFile, Handle);
         Main.Initialize(conf);
         _isEnabled = true;
     }
 }