/// <summary> /// Initializes a new instance of the ServiceRegistration class /// </summary> public ServiceRegistrationRepo(string centrialPathList, IServiceRegistrationStore store, string facade) { if (!string.IsNullOrEmpty(centrialPathList)) { this.centrialPathList = centrialPathList; this.centralPaths = centrialPathList.Split(new[] { ';' }, StringSplitOptions.RemoveEmptyEntries); for (int i = 0; i < this.centralPaths.Length; i++) { this.centralPaths[i] = Environment.ExpandEnvironmentVariables(this.centralPaths[i]); } } this.ServiceRegistrationStore = store; this.ServiceRegistrationStoreFacadeFolder = facade; }
public ServiceRegistrationRepo(string centrialPathList, IServiceRegistrationStore store) : this(centrialPathList, store, null) { }