/// <summary> /// <c>RemoveSupportFiles</c> removes support files (javascript and SilverLight) for the supplied <c>template</c> /// </summary> /// <param name="template">An instance of the Template class, for which the supporting javascript files and /// Silverlight DLLs will be removed</param> public void RemoveSupportFiles(Template template) { if (template == null) throw new ArgumentNullException("template", @"WebService.Services.RemoveSupportFiles: the ""template"" parameter passed in was null"); using (Proxy client = new Proxy(_endPointName)) { string templateId = GetRelativePath(template.GetFullPath()); string templateKey = template.FileName; string templateState = null; client.RemoveSupportFiles(templateId, templateKey, templateState); SafeCloseClient(client, null); } }