Пример #1
0
 /// <summary>
 /// Constructs a new PPackage, using the provided version.
 /// </summary>
 protected PPackage(PPackageVersion version)
 {
     this._version = version;
 }
Пример #2
0
 /// <summary>
 /// Gets the package protocol associated with this version.
 /// </summary>
 internal static PPackage GetProtocol(PPackageVersion version)
 {
     switch (version) {
         default:
         case PPackageVersion.StEmilion:
             return new PPackageStEmilion();
     }
 }