public NServiceBusInstallOptions Install() { var protoInstallTask = new ProtoNServiceBusInstallTask(new DotNetPath(), this.location); protoServer.RegisterProtoTask(protoInstallTask); return(protoInstallTask); }
/// <summary> /// Removes all users/groups who are not inherited or in the preserve list (defined in options). /// </summary> public ClearAclOptions Clear() { var proto = new ProtoPathClearAclsTask(_path); _server.RegisterProtoTask(proto); return(proto); }
public static CommandLineOptions CommandLine(this ProtoServer protoServer, string command) { var proto = new ProtoCommandLineTask(command); protoServer.RegisterProtoTask(proto); return(proto); }
public static MsmqOptions Msmq(this ProtoServer protoServer) { var proto = new ProtoMsmqTask(); protoServer.RegisterProtoTask(proto); return(proto); }
public static DsnOptions CreateDSN(this ProtoServer protoServer, string dsnName) { var proto = new ProtoDsnTask(dsnName); protoServer.RegisterProtoTask(proto); return(proto); }
public static FilePokeOptions FilePoke(this ProtoServer protoServer, string filePath, Encoding encoding) { var proto = new ProtoFilePokeTask(filePath, encoding); protoServer.RegisterProtoTask(proto); return(proto); }
public static void NServiceBusHost(this ProtoServer server, Action <NServiceBusHostOptions> action) { var cfg = new NServiceBusHostConfigurator(new DotNetPath()); action(cfg); server.RegisterProtoTask(cfg); }
public static XmlPokeOptions XmlPoke(this ProtoServer protoServer, string filePath) { var proto = new ProtoXmlPokeTask(filePath); protoServer.RegisterProtoTask(proto); return(proto); }
public static XmlPokeOptions XmlPoke(this ProtoServer protoServer, string filePath, IDictionary <string, string> namespacePrefixes) { var proto = new ProtoXmlPokeTask(filePath, namespacePrefixes); protoServer.RegisterProtoTask(proto); return(proto); }
public static void RavenDb(this ProtoServer server, Action <RavenDbOptions> action) { var cfg = new RavenDbConfigurator(new DotNetPath()); action(cfg); server.RegisterProtoTask(cfg); }
public static void SqlReports(this ProtoServer server, Action <ReportOptions> action) { var cxt = new ProtoSsrsTask(); server.RegisterProtoTask(cxt); action(cxt); }
public static void Topshelf(this ProtoServer server, Action <TopshelfOptions> action) { var cfg = new TopshelfConfigurator(new DotNetPath()); action(cfg); server.RegisterProtoTask(cfg); }
public static FolderShareOptions ShareFolder(this ProtoServer protoServer, string name) { var proto = new ProtoFolderShareTask(name); protoServer.RegisterProtoTask(proto); return(proto); }
public static RegistryKeyOptions CreateRegistryKey(this ProtoServer protoServer, RegistryHive hive, string name) { var proto = new ProtoCreateRegistryKeyTask(hive, name); protoServer.RegisterProtoTask(proto); return(proto); }
public static UnzipOptions UnzipArchive(this ProtoServer protoServer, string archiveFilename) { var proto = new ProtoUnzipArchiveTask(new DotNetPath(), archiveFilename); protoServer.RegisterProtoTask(proto); return(proto); }
public static RoundhousEOptions RoundhousE(this ProtoServer protoServer) { var proto = new RoundhousEProtoTask(); protoServer.RegisterProtoTask(proto); return(proto); }
public static RenameOptions RenameFile(this ProtoServer protoServer, string file) { var proto = new ProtoRenameTask(new DotNetPath(), file); protoServer.RegisterProtoTask(proto); return(proto); }
public static FileCopyOptions CopyFile(this ProtoServer protoServer, string from) { var proto = new ProtoCopyFileTask(new DotNetPath(), from); protoServer.RegisterProtoTask(proto); return(proto); }
public static ExistsOptions Exists(this ProtoServer protoserver, string reason, bool shouldAbortOnError) { var proto = new ProtoExistsTask(new DotNetPath(), reason, shouldAbortOnError); protoserver.RegisterProtoTask(proto); return(proto); }
public GrantReadCertificateOptions GrantReadPrivateKey() { var proto = new ProtoGrantReadX509CertificatePrivateKeyTask(_thumbprint); _server.RegisterProtoTask(proto); return(proto); }
public static CopyOptions CopyDirectory(this ProtoServer protoServer, Action <FromOptions> a) { var proto = new ProtoCopyDirectoryTask(new DotNetPath()); a(proto); protoServer.RegisterProtoTask(proto); return(proto); }
public static SqlOptions SqlInstance(this ProtoServer protoServer, string instanceName) { var proto = new ProtoMsSqlTask(); proto.InstanceName = instanceName; protoServer.RegisterProtoTask(proto); return(proto); }
public static IisSiteOptions Iis7Site(this ProtoServer protoServer, string websiteName) { var task = new IisProtoTask(websiteName, new DotNetPath()) { Version = IisVersion.Seven, }; protoServer.RegisterProtoTask(task); return(task); }
public IisApplicationPoolOperation ApplicationPool(string applicationPoolName) { var task = new IisApplicationPoolOperationProtoTask(applicationPoolName) { Version = Version }; _protoServer.RegisterProtoTask(task); return(task); }
public static IisSiteOptions Iis7Site(this ProtoServer protoServer, string websiteName, string pathForWebsite, int port) { var task = new IisProtoTask(websiteName, new DotNetPath()) { Version = IisVersion.Seven, PathForWebsite = pathForWebsite, PortForWebsite = port }; protoServer.RegisterProtoTask(task); return(task); }
public MsSqlUserOptions CreateUserFor(string account) { var proto = new ProtoCreateUserTask(_database, account); _server.RegisterProtoTask(proto); return(proto); }
public WinServiceOptions Do(Action <ProtoServer> registerAdditionalActions) { _protoServer.RegisterProtoTask(new ProtoWinServiceStopTask(_serviceName)); //child task registerAdditionalActions(_protoServer); _protoServer.RegisterProtoTask(new ProtoWinServiceStartTask(_serviceName)); return(this); }
public static void Pause(this ProtoServer server, string messageToDisplay) { server.RegisterProtoTask(new PauseProtoTask(messageToDisplay)); }
public static void Wait(this ProtoServer protoServer, TimeSpan span) { var proto = new WaitProtoTask(span); protoServer.RegisterProtoTask(proto); }
public static void Note(this ProtoServer protoServer, dropkick.DeploymentModel.DeploymentItemStatus status, string messageFormat, params object[] args) { var proto = new NoteProtoTask(status, messageFormat, args); protoServer.RegisterProtoTask(proto); }