private InstallationTicket CreateInstallationTicket(string resourceName,
                                                     string nodeName,
                                                     string downloadAddress,
                                                     string callbackAddress,
                                                     string folderToInstall,
                                                     string fileName,
                                                     string packageName,
                                                     string versionName)
 {
     return(new InstallationTicket()
     {
         Id = PackageFactoryImpl.GetInstance().GetUniqueId(),
         BackAddress = callbackAddress,
         ResourceName = resourceName,
         NodeName = nodeName,
         StorageAddress = downloadAddress,
         FolderToInstall = folderToInstall,
         PackageName = packageName,
         VersionName = versionName
     });
 }
Beispiel #2
0
 public static PackageFactoryImpl GetInstance()
 {
     return(_instance ?? (_instance = new PackageFactoryImpl()));
 }
 public static PackageFactoryImpl GetInstance()
 {
     return _instance ?? (_instance = new PackageFactoryImpl());
 }