Exemplo n.º 1
0
 public System.IAsyncResult BeginUpload(string name, string author, string pluginVersion, string requiredVersion, string description, string categories, string previewFormat, byte[] file, byte[] source, byte[] preview, System.AsyncCallback callback, object asyncState)
 {
     Sitecore.Rocks.SitecoreRocksPlugins.UploadRequest inValue = new Sitecore.Rocks.SitecoreRocksPlugins.UploadRequest();
     inValue.Body                 = new Sitecore.Rocks.SitecoreRocksPlugins.UploadRequestBody();
     inValue.Body.name            = name;
     inValue.Body.author          = author;
     inValue.Body.pluginVersion   = pluginVersion;
     inValue.Body.requiredVersion = requiredVersion;
     inValue.Body.description     = description;
     inValue.Body.categories      = categories;
     inValue.Body.previewFormat   = previewFormat;
     inValue.Body.file            = file;
     inValue.Body.source          = source;
     inValue.Body.preview         = preview;
     return(((Sitecore.Rocks.SitecoreRocksPlugins.SitecoreRocksPluginsSoap)(this)).BeginUpload(inValue, callback, asyncState));
 }
Exemplo n.º 2
0
 public string Upload(string name, string author, string pluginVersion, string requiredVersion, string description, string categories, string previewFormat, byte[] file, byte[] source, byte[] preview)
 {
     Sitecore.Rocks.SitecoreRocksPlugins.UploadRequest inValue = new Sitecore.Rocks.SitecoreRocksPlugins.UploadRequest();
     inValue.Body                 = new Sitecore.Rocks.SitecoreRocksPlugins.UploadRequestBody();
     inValue.Body.name            = name;
     inValue.Body.author          = author;
     inValue.Body.pluginVersion   = pluginVersion;
     inValue.Body.requiredVersion = requiredVersion;
     inValue.Body.description     = description;
     inValue.Body.categories      = categories;
     inValue.Body.previewFormat   = previewFormat;
     inValue.Body.file            = file;
     inValue.Body.source          = source;
     inValue.Body.preview         = preview;
     Sitecore.Rocks.SitecoreRocksPlugins.UploadResponse retVal = ((Sitecore.Rocks.SitecoreRocksPlugins.SitecoreRocksPluginsSoap)(this)).Upload(inValue);
     return(retVal.Body.UploadResult);
 }
Exemplo n.º 3
0
 System.IAsyncResult Sitecore.Rocks.SitecoreRocksPlugins.SitecoreRocksPluginsSoap.BeginUpload(Sitecore.Rocks.SitecoreRocksPlugins.UploadRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginUpload(request, callback, asyncState));
 }
Exemplo n.º 4
0
 Sitecore.Rocks.SitecoreRocksPlugins.UploadResponse Sitecore.Rocks.SitecoreRocksPlugins.SitecoreRocksPluginsSoap.Upload(Sitecore.Rocks.SitecoreRocksPlugins.UploadRequest request)
 {
     return(base.Channel.Upload(request));
 }