コード例 #1
0
        private static bool IsInValidDocument(string fileName)
        {
            var documentExtensionsPredicate = new FileExtPred(TYPES2);

            return(!documentExtensionsPredicate.Test(fileName));
        }
コード例 #2
0
        private static bool IsInValidImage(string fileName)
        {
            var imageExtensionsPredicate = new FileExtPred(TYPES);

            return(!imageExtensionsPredicate.Test(fileName));
        }