AcManager.Tools.ContentInstallation.FileInfoEnumerableExtension.GetByPathOrDefault C# (CSharp) 메소드

GetByPathOrDefault() 정적인 개인적인 메소드

static private GetByPathOrDefault ( this source, string path ) : BaseContentInstallator.IFileInfo
source this
path string
리턴 BaseContentInstallator.IFileInfo
        internal static BaseContentInstallator.IFileInfo GetByPathOrDefault(this IEnumerable<BaseContentInstallator.IFileInfo> source, string path) {
            return source.FirstOrDefault(x => string.Equals(x.Filename, path, StringComparison.OrdinalIgnoreCase));
        }
    }
FileInfoEnumerableExtension