Beispiel #1
0
 public static void PublishFromContext(IZetboxContext ctx, Stream stream, string[] ownerModules, string streamDescription)
 {
     using (var s = new StreamPackageProvider(stream, BasePackageProvider.Modes.Write, streamDescription))
     {
         PublishFromContext(ctx, s, ownerModules);
     }
 }
Beispiel #2
0
 public static void LoadFromXml(IZetboxContext ctx, Stream stream, string streamDescription)
 {
     using (var s = new StreamPackageProvider(stream, BasePackageProvider.Modes.Read, streamDescription))
     {
         LoadFromXml(ctx, s);
     }
 }
Beispiel #3
0
 public static void ExportFromContext(IReadOnlyZetboxContext ctx, Stream stream, string[] schemaModules, string[] ownerModules, string streamDescription)
 {
     using (var s = new StreamPackageProvider(stream, BasePackageProvider.Modes.Write, streamDescription))
     {
         ExportFromContext(ctx, s, schemaModules, ownerModules);
     }
 }