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