public static FunctionType GetFunctionType(string functionTypeStr) { foreach (var functionType in AllFunctions) { if (GetFunctionTypeString(functionType) == functionTypeStr) { return(functionType); } } return(AllFunctions.First()); }
public static FunctionType GetFunctionType(string functionTypeStr) { foreach (var functionType in AllFunctions) { if (GetFunctionTypeString(functionType) == functionTypeStr) { return(functionType); } } return(AllFunctions.First()); }