コード例 #1
0
        protected AssetFileCombination(string folder, MimeType mimeType, IEnumerable <AssetFile> files)
        {
            MimeType = mimeType;
            var basicName = GetCombinedName(files) + mimeType.DefaultExtension();

            Name = folder.IsNotEmpty() ? folder + "/" + basicName : basicName;

            _files = files;
        }