Class BestPracticeRule
- Inheritance
-
BestPracticeRule
- Inherited Members
-
- Namespace
- TabularEditor.Shared.BPA
- Assembly
- TabularEditor3.Shared.dll
public sealed class BestPracticeRule
- Extension Methods
-
Constructors
BestPracticeRule()
public BestPracticeRule()
Properties
Category
public string Category { get; set; }
Property Value
CompatibilityLevel
public int CompatibilityLevel { get; set; }
Property Value
Description
public string Description { get; set; }
Property Value
Enabled
public bool Enabled { get; set; }
Property Value
ErrorMessage
public string ErrorMessage { get; }
Property Value
Expression
public string Expression { get; set; }
Property Value
FixExpression
public string FixExpression { get; set; }
Property Value
ID
public string ID { get; set; }
Property Value
IsValid
public bool IsValid { get; }
Property Value
Name
public string Name { get; set; }
Property Value
ObjectCount
public int ObjectCount { get; }
Property Value
Scope
public RuleScope Scope { get; set; }
Property Value
ScopeString
public string ScopeString { get; }
Property Value
Severity
public int Severity { get; set; }
Property Value
Methods
AssignFrom(BestPracticeRule)
public void AssignFrom(BestPracticeRule other)
Parameters
Clone()
public BestPracticeRule Clone()
Returns
GetQueries(Model)
public Dictionary<RuleScope, IQueryable> GetQueries(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
ShouldSerializeCategory()
public bool ShouldSerializeCategory()
Returns
ShouldSerializeDescription()
public bool ShouldSerializeDescription()
Returns
ShouldSerializeFixExpression()
public bool ShouldSerializeFixExpression()
Returns
UpdateEnabled(Model)
public void UpdateEnabled(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|