コード例 #1
0
ファイル: WaldiSerializer.cs プロジェクト: faandi/waldi
 public static IPackageRepository DeserializePackageRepository(string objstr)
 {
     // very dirty
     try
     {
         return(WaldiSerializerInternal.Deserialize(objstr, typeof(DirectoryPackageRepository), typeof(DirectoryPackageRepositoryDto)) as IPackageRepository);
     }
     catch
     {
     }
     try
     {
         return(WaldiSerializerInternal.Deserialize(objstr, typeof(MultiPackageRepository), typeof(MultiPackageRepositoryDto)) as IPackageRepository);
     }
     catch
     {
         throw;
     }
 }
コード例 #2
0
ファイル: WaldiSerializer.cs プロジェクト: faandi/waldi
 public static IPackage DeserializePackage(string objstr)
 {
     return(WaldiSerializerInternal.Deserialize(objstr, typeof(BasicPackage), typeof(PackageDto)) as IPackage);
 }
コード例 #3
0
ファイル: WaldiSerializer.cs プロジェクト: faandi/waldi
 public static Feature DeserializeFeature(StreamReader stream)
 {
     return(WaldiSerializerInternal.Deserialize(stream, typeof(Feature), typeof(FeatureDto)) as Feature);
 }
コード例 #4
0
ファイル: WaldiSerializer.cs プロジェクト: faandi/waldi
 public static Feature DeserializeFeature(string objstr)
 {
     return(WaldiSerializerInternal.Deserialize(objstr, typeof(Feature), typeof(FeatureDto)) as Feature);
 }
コード例 #5
0
ファイル: WaldiSerializer.cs プロジェクト: faandi/waldi
 public static object Deserialize(StreamReader stream, Type objtype, Type serobjtype)
 {
     return(WaldiSerializerInternal.Deserialize(stream, objtype, serobjtype));
 }
コード例 #6
0
ファイル: WaldiSerializer.cs プロジェクト: faandi/waldi
 public static object Deserialize(string objstr, Type objtype, Type serobjtype)
 {
     return(WaldiSerializerInternal.Deserialize(objstr, objtype, serobjtype));
 }
コード例 #7
0
ファイル: WaldiSerializer.cs プロジェクト: faandi/waldi
 public static IPackageRepository DeserializePackageRepository(StreamReader stream)
 {
     return(WaldiSerializerInternal.Deserialize(stream, typeof(DirectoryPackageRepository), typeof(DirectoryPackageRepositoryDto)) as IPackageRepository);
 }
コード例 #8
0
ファイル: WaldiSerializer.cs プロジェクト: faandi/waldi
 public static IPackage DeserializePackage(StreamReader stream)
 {
     return(WaldiSerializerInternal.Deserialize(stream, typeof(BasicPackage), typeof(PackageDto)) as IPackage);
 }