public static ForFile ( StoreOptions options, string file, string name = null ) : |
||
options | StoreOptions | |
file | string | |
name | string | |
return |
public void LoadFile(string file, string name = null) { if (!Path.IsPathRooted(file)) { file = AppContext.BaseDirectory.AppendPath(file); } var function = TransformFunction.ForFile(_options, file, name); _functions.Add(function.Name, function); }
public void LoadFile(string file, string name = null) { assertAvailable(); if (!Path.IsPathRooted(file)) { file = AppContext.BaseDirectory.AppendPath(file); } var function = TransformFunction.ForFile(_options, file, name); AddFunction(function); }
public void LoadFile(string file, string name = null) { var function = TransformFunction.ForFile(_options, file, name); _functions.Add(function.Name, function); }