ARCed.Helpers.ResourceHelper.GetFullPath C# (CSharp) Method

GetFullPath() public static method

Gets the full path to a file of the given type using the simple name of the file
public static GetFullPath ( string folder, string name ) : string
folder string Folder name where the file to be found is located.
name string Simple name of the file, without extension
return string
        public static string GetFullPath(string folder, string name)
        {
            var rsx = _resources.Find(r => r.Name == name && r.RelativeDirectory == folder);
            return rsx != null ? rsx.FullPath : null;
        }