public IisProtoTask(string websiteName, Path path) { _path = path; WebsiteName = websiteName; ManagedRuntimeVersion = Tasks.Iis.ManagedRuntimeVersion.V2; AuthenticationToSet = new Dictionary<IISAuthenticationMode, bool>(); }
public ProtoExistsTask(Path path, string reason, bool shouldAbortOnError) : base() { _path = path; _reason = reason; _shouldAbortOnError = shouldAbortOnError; }
public static void DrawPath(this PictureBox pb, Path path, bool closed = true, bool clear = true) { int count = path.Points.Count; if (path == null) return; if (clear) pb.Clear(); System.Drawing.Point[] points = path.Points.ToArray(); for (int i = 0; i < count - 1; i++) //edge { int x1 = points[i].X; int x2 = points[(i + 1) % count].X; int y1 = points[i].Y; int y2 = points[(i + 1) % count].Y; g.DrawLine(pens[3], x1 + xoffset, y1 + yoffset, x2 + xoffset, y2 + yoffset); } if (closed) //last edge g.DrawLine(pens[4], points[count - 1].X + xoffset, points[count - 1].Y + yoffset, points[0].X + xoffset, points[0].Y + yoffset); g.DrawLine(pens[2], points[0].X + xoffset, points[0].Y + yoffset, points[1].X + xoffset, points[1].Y + yoffset); //first edge pb.Invalidate(); }
public TopshelfConfigurator(Path path) { _path = path; }
public ProtoCopyDirectoryTask(Path path) { _path = path; }
public IisProtoTask(string websiteName, Path path) { _path = path; WebsiteName = websiteName; ManagedRuntimeVersion = Tasks.Iis.ManagedRuntimeVersion.V2; }
public NServiceBusHostConfigurator(Path path) { _path = path; }
public RavenDbConfigurator(Path path) { _path = path; _innerTasks = new List<BaseProtoTask>(); }
public NServiceBusHostConfigurator(Path path) { _path = path; _args = new NServiceBusHostExeArgs(); }
public ProtoCopyFileTask(Path path, string @from, bool isRemote = false) { _from = ReplaceTokens(from); _isRemote = isRemote; }
public ProtoExistsTask(Path path, string reason) : this(path, reason, false) { }
public ProtoEncryptAppConfigTask(Path path, string whereIsTheConfig) { _where = ReplaceTokens(whereIsTheConfig); _path = path; }
public ProtoCopyFileTask(Path path, string @from) { _path = path; _from = ReplaceTokens(from); }
public ProtoRenameTask(Path path, string target) { _path = path; _target = ReplaceTokens(target); }
public ProtoWinServiceCreateTask(Path path, string serviceName) { _path = path; _serviceName = ReplaceTokens(serviceName); }
public ProtoEmptyFolderTask(Path path, string folderName) { _path = path; _folderName = ReplaceTokens(folderName); }
public ProtoWinServiceCreateTask(Path path, string serviceName, bool errorOnFailure) { _path = path; _errorOnFailure = errorOnFailure; _serviceName = ReplaceTokens(serviceName); }
public NServiceBusHostConfigurator(Path path) { _path = path; _action = NServiceBusHost.Action.Install; }