示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiCopRule" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="level">The level.</param>
 /// <param name="url">The URL.</param>
 protected ApiCopRule(string name, string description, ApiCopRuleLevel level, string url = null)
 {
     Name        = name;
     Description = description;
     Level       = level;
     Url         = url;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiCopRule" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="level">The level.</param>
 /// <param name="url">The URL.</param>
 protected ApiCopRule(string name, string description, ApiCopRuleLevel level, string url = null)
 {
     Name = name;
     Description = description;
     Level = level;
     Url = url;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiCopRule" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="level">The level.</param>
 /// <param name="url">The URL.</param>
 public TooManyDependenciesApiCopRule(string name, string description, ApiCopRuleLevel level, string url = null)
     : base(name, description, level, url)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ApiCopRule" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="level">The level.</param>
 /// <param name="url">The URL.</param>
 public TooManyDependenciesApiCopRule(string name, string description, ApiCopRuleLevel level, string url = null)
     : base(name, description, level, url)
 {
 }
示例#5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InitializationApiCopRule" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="level">The level.</param>
 /// <param name="recommendedInitializationMode">The recommended initialization mode.</param>
 /// <param name="url">The URL.</param>
 public InitializationApiCopRule(string name, string description, ApiCopRuleLevel level,
                                 InitializationMode recommendedInitializationMode, string url = null)
     : base(name, description, level, url)
 {
     RecommendedInitializationMode = recommendedInitializationMode;
 }
示例#6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnusedFeatureApiCopRule" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="level">The level.</param>
 /// <param name="url">The URL.</param>
 public UnusedFeatureApiCopRule(string name, string description, ApiCopRuleLevel level, string url = null)
     : base(name, description, level, url)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="InitializationApiCopRule" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="level">The level.</param>
 /// <param name="recommendedInitializationMode">The recommended initialization mode.</param>
 /// <param name="url">The URL.</param>
 public InitializationApiCopRule(string name, string description, ApiCopRuleLevel level, 
     InitializationMode recommendedInitializationMode, string url = null) 
     : base(name, description, level, url)
 {
     RecommendedInitializationMode = recommendedInitializationMode;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UnusedFeatureApiCopRule" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="description">The description.</param>
 /// <param name="level">The level.</param>
 /// <param name="url">The URL.</param>
 public UnusedFeatureApiCopRule(string name, string description, ApiCopRuleLevel level, string url = null)
     : base(name, description, level, url)
 {
 }