public static string ToPluginTypeString(this SpecFlowPluginType pluginType) { switch (pluginType) { case SpecFlowPluginType.Generator | SpecFlowPluginType.Runtime: return("GeneratorAndRuntime"); case SpecFlowPluginType.Generator: return("Generator"); case SpecFlowPluginType.Runtime: return("Runtime"); default: throw new ArgumentOutOfRangeException(nameof(pluginType)); } }
public SpecFlowPlugin(string name, string path, SpecFlowPluginType type) { Name = name; Path = path; Type = type; }
public SpecFlowPlugin(string name, SpecFlowPluginType type) { Name = name; Type = type; }