public StuntmanOptions( string stuntmanRootPath = Constants.StuntmanOptions.DefaultStuntmanRootPath, StuntmanOptionsRetriever stuntmanOptionsRetriever = null) { Users = new List<StuntmanUser>(); _stuntmanRootPath = stuntmanRootPath; _stuntmanOptionsRetriever = stuntmanOptionsRetriever ?? new StuntmanOptionsRetriever(); if (!_stuntmanRootPath.EndsWith("/", StringComparison.OrdinalIgnoreCase)) _stuntmanRootPath += "/"; }
public StuntmanOptions( string stuntmanRootPath = Constants.StuntmanOptions.DefaultStuntmanRootPath, StuntmanOptionsRetriever stuntmanOptionsRetriever = null) { Users = new List <StuntmanUser>(); _stuntmanRootPath = stuntmanRootPath; _stuntmanOptionsRetriever = stuntmanOptionsRetriever ?? new StuntmanOptionsRetriever(); if (!_stuntmanRootPath.EndsWith("/", StringComparison.OrdinalIgnoreCase)) { _stuntmanRootPath += "/"; } }