AcManager.Tools.ContentInstallation.FileInfoEnumerableExtension.GetByPathOrDefault C# (CSharp) Méthode

GetByPathOrDefault() static private méthode

static private GetByPathOrDefault ( this source, string path ) : BaseContentInstallator.IFileInfo
source this
path string
Résultat 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