static string GetScope(PathTemplateProcessor processor, Path projectFilePath) { IDictionary<string, string> properties; var parseOk = processor.TryParsePath(projectFilePath, false, out properties); return parseOk && properties.ContainsKey("scope") ? properties["scope"] : null; }
static string GetScope(PathTemplateProcessor processor, Path projectFilePath) { IDictionary <string, string> properties; var parseOk = processor.TryParsePath(projectFilePath, out properties); return(parseOk && properties.ContainsKey("scope") ? properties["scope"] : null); }
protected void given_template(string path) { Processor = new PathTemplateProcessor(path); }