public override void GetAttributes(DeploymentAddAttributeContext addContext) { // The source path should only be an absolute physical path or a valid connection string if (IsAbsolutePhysicalPath(this.Path)) { if (!File.Exists(this.Path)) { throw new DeploymentFatalException("File " + this.Path + " is not accessible"); } } else { if (!EnsureMySqlConnection(this.Path)) { throw new DeploymentFatalException("Database " + this.Path + " is not accessible"); } } }
public override void GetAttributes(DeploymentAddAttributeContext addContext) { EnsureNodeExists(out _isDirectory); }
public override void GetAttributes(DeploymentAddAttributeContext addContext) { EnsureNodeExists(ServicePathHelper.GetPhysicalPath(Path), out _isDirectory); }
public override void GetAttributes(DeploymentAddAttributeContext addContext) { EnsureNodeExists(out _isDirectory); }
public override void GetAttributes(DeploymentAddAttributeContext addContext) { EnsureNodeExists(ServicePathHelper.GetPhysicalPath(Path), out _isDirectory); }