123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Text.RegularExpressions;
- using System.Threading.Tasks;
- namespace TaskbarGroups.Models
- {
- /// <summary>
- /// 应用分类
- /// </summary>
- class Category
- {
- public Guid Id { get; set; }
- private static readonly int[] iconSize = { 16, 32, 48, 256, 512 };
- private readonly Regex specialCharRegex = new Regex("[^a-zA-Z0-9\u4e00-\u9fa5]+", RegexOptions.Compiled);
- /// <summary>
- ///
- /// </summary>
- /// <param name="path">分组配置文件</param>
- public Category(string path)
- {
- this.Id = Guid.NewGuid();
- }
- }
- }
|