Example #1
0
 public static IFileTransfer Create(TransferMethods type)
 {
     try
     {
         return(Create(type.ToString()));
     }
     catch (Exception ex)
     {
         throw new StardustCoreException(String.Format(NotDefinedMessage, type), ex);
     }
 }
Example #2
0
 public static IFileTransfer GetProvider(this TransferMethods type)
 {
     return(TransferFactory.Create(type));
 }
Example #3
0
 public TransferMethod(Transfer Cdo, TransferMethods Method, Transfer_Parameters Parameters)
 {
     this.Cdo           = Cdo;
     this.ServiceMethod = Method;
     this.Parameters    = Parameters;
 }