Little Registry Cleaner/Options/ExcludeList/ExcludeItem.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace Little_Registry_Cleaner.ExcludeList
{
[Serializable()]
public class ExcludeItem : ICloneable
{
private string _pathRegistry = "";
public string RegistryPath
{
get { return _pathRegistry; }
set {
if (Utils.RegKeyExists(value))
_pathRegistry = value;
}
}
private string _pathFolder = "";
public string FolderPath
{
get { return _pathFolder; }
set {
if (Directory.Exists(value))
_pathFolder = value;
}
}
private string _pathFile = "";
public string FilePath
{
get { return _pathFile; }
set {
if (File.Exists(value))
_pathFile = value;
}
}
/// <summary>
/// Returns the assigned path (registry/file/folder)
/// </summary>
public override string ToString()
{
if (!string.IsNullOrEmpty(_pathRegistry))
return string.Copy(_pathRegistry);
if (!string.IsNullOrEmpty(_pathFile))
return string.Copy(_pathFile);
if (!string.IsNullOrEmpty(_pathFolder))
return string.Copy(_pathFolder);
return this.GetType().Name;
}
/// <summary>
/// The constructor for this class
后面还有 78 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。