Atomia.Provisioning.Modules.Haproxy.Commands.DefaultCommand.GetResourceURL C# (CSharp) Method

GetResourceURL() protected method

protected GetResourceURL ( ModuleService moduleService ) : string
moduleService ModuleService
return string
        protected override string GetResourceURL(ModuleService moduleService)
        {
            string id = moduleService.Properties.Single(p => p.Name == "Id").Value;
            return string.IsNullOrEmpty(id) ? "default" : ("default/" + id);
        }