ARCed.Helpers.ResourceHelper.GetFullPath C# (CSharp) 메소드

GetFullPath() 공개 정적인 메소드

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
리턴 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;
        }