private static void MemoriaExport() { if (Interlocked.CompareExchange(ref _initialized, 1, 0) == 0) { ResourceExporter.ExportSafe(); ResourceImporter.Initialize(); } }
public static void ExportAssetBundleResource() { ResourceExporter _exporter = new ResourceExporter(); _exporter.ExportAb(); _exporter = null; System.GC.Collect(); }
public void TestInitialize() { _listItemSystemUpdated = false; _fileAdded = false; _shimObject = ShimsContext.Create(); SetupShims(); _testObj = new ResourceExporter(_web.Instance); }
public void ProcessRequest(HttpContext context) { var languages = context.Request.QueryString["languages"].Split(','); var resourceSets = context.Request.QueryString["resourceSets"].Split(','); var ns = (context.Request.QueryString["ns"] ?? String.Empty); var exporter = new ResourceExporter(languages, resourceSets, ns); var xml = exporter.Export().ToXml(); context.Response.Clear(); context.Response.AddHeader("Content-Disposition", "attachment; filename=export.xml"); context.Response.AddHeader("Content-Type", "application/xml"); context.Response.Write(xml); }
public CosturaFileExporter(ResourceExporter resourceExporter) { this.resourceExporter = resourceExporter; }
public NotifyPropertyWeaverFileExporter() { resourceExporter = new ResourceExporter(); }
public NotifyPropertyWeaverFileExporter(ResourceExporter resourceExporter) { this.resourceExporter = resourceExporter; }