public AsyncDeployMetadataThread(RequestHandlerProxy proxy, Common.Solution solution, Stream messageBody, bool checkTabularSectionKey)
 {
     this.proxy = proxy;
     this.solution = solution;
     this.messageBody = messageBody;
     this.checkTabularSectionKey = checkTabularSectionKey;
 }
 public PushService(String scope, NetworkCredential credential)
 {
     if (credential.UserName.ToLower().Equals("admin"))
         Common.Logon.CheckAdminCredential(scope, credential);
     else
         Common.Logon.CheckUserCredential(scope, credential);
     _solution = Common.Solution.CreateFromContext(scope);
     _credential = credential;
 }
Example #3
0
 public AsyncUploadThread(RequestHandlerProxy proxy, Guid sessionGuid, Common.Solution solution, Stream messageBody, bool checkExisting, bool zippedStream = true, String contentEncoding = null, String filepath = null)
 {
     this.proxy = proxy;
     this.sessionGuid = sessionGuid;
     this.solution = solution;
     this.messageBody = messageBody;
     this.checkExisting = checkExisting;
     this.zippedStream = zippedStream;
     this.contentEncoding = contentEncoding;
     this.filepath = filepath;
 }
Example #4
0
 public AdminSyncService(String scope, System.Net.NetworkCredential credential)
 {
     Common.Logon.CheckAdminCredential(scope, credential);
     this.solution = Common.Solution.CreateFromContext(scope);
 }
Example #5
0
 public SyncServiceEx(String scope, NetworkCredential credential)
 {
     this.solution = Common.Solution.CreateFromContext(scope);
     this.credential = credential;
 }