public ServerCommandLine(DocumentInfoCollection documentInfos, Document document, Handler handler, Client client, Server server, bool enableBackups) { this.DocumentInfos = documentInfos; this.Document = document; this.Handler = handler; this.Client = client; this.Server = server; this.EnableBackups = enableBackups; }
static DocumentInfoCollection GetFormats() { var formats = new DocumentInfoCollection(); formats.Add(new Pablo.Formats.Character.CharacterDocumentInfo()); //info.Add(new Pablo.Formats.Character.Character24DocumentInfo()); formats.Add(new Pablo.Formats.Rip.RipDocumentInfo()); formats.Add(new Pablo.Formats.Image.ImageDocumentInfo()); formats.DefaultFormat = formats["character"].Formats["ansi"]; return(formats); }
protected override void GetCompatibleDocuments(DocumentInfoCollection documentInfos) { base.GetCompatibleDocuments(documentInfos); documentInfos.Add(new Image.ImageDocumentInfo()); }