コード例 #1
0
ファイル: Config.cs プロジェクト: wderoo/PieMan
 public Configuration(Account account, Profile profile, Settings settings)
 {
     this.Account = account;
     this.Profile = profile;
     this.Settings = settings;
 }
コード例 #2
0
 public object PostProfile(Profile profile)
 {
     File.WriteAllText(HostingEnvironment.MapPath("~/App_Plugins/PieMan/profile.config"), JsonConvert.SerializeObject((object) profile, Newtonsoft.Json.Formatting.Indented));
       return (object) profile;
 }