コード例 #1
0
 public SourceFile(string path, string moduleName, RuleSourceType type, string helpPath)
 {
     Path       = path;
     ModuleName = moduleName;
     Type       = type;
     HelpPath   = helpPath;
 }
 /// <summary>
 /// Sets the <see cref="RuleSource"/>.
 /// </summary>
 /// <param name="index">The index of the <see cref="RuleSourceType"/>.</param>
 public virtual void SetRuleSource(int index)
 {
     RuleSource = EnumExtensions.GetByIndex <RuleSourceType>(index);
 }