コード例 #1
0
ファイル: PersistanceService.cs プロジェクト: bjornfe/Caspara
 public void Load <T>(string Path) where T : IPersistanceModel
 {
     this.Path = Path;
     Model     = SerializerService.Load <T>(SerializeType.XML, Path);
     InjectorService.Register(Model).As <IPersistanceModel>();
 }