Пример #1
0
        public static FileName AsFileName(this GeneralFileNameSegment fileNameSegment)
        {
            var fileName = new FileName(fileNameSegment.Value);

            return(fileName);
        }
Пример #2
0
        public static FileNameWithoutExtension AsFileNameWithoutExtension(this GeneralFileNameSegment fileNameSegment)
        {
            var fileName = new FileNameWithoutExtension(fileNameSegment.Value);

            return(fileName);
        }