Table of Contents

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

Type Description
string

CompatibilityLevel

public int CompatibilityLevel { get; set; }

Property Value

Type Description
int

Description

public string Description { get; set; }

Property Value

Type Description
string

Enabled

public bool Enabled { get; set; }

Property Value

Type Description
bool

ErrorMessage

public string ErrorMessage { get; }

Property Value

Type Description
string

Expression

public string Expression { get; set; }

Property Value

Type Description
string

FixExpression

public string FixExpression { get; set; }

Property Value

Type Description
string

ID

public string ID { get; set; }

Property Value

Type Description
string

IsValid

public bool IsValid { get; }

Property Value

Type Description
bool

Name

public string Name { get; set; }

Property Value

Type Description
string

ObjectCount

public int ObjectCount { get; }

Property Value

Type Description
int

Scope

public RuleScope Scope { get; set; }

Property Value

Type Description
RuleScope

ScopeString

public string ScopeString { get; }

Property Value

Type Description
string

Severity

public int Severity { get; set; }

Property Value

Type Description
int

Methods

AssignFrom(BestPracticeRule)

public void AssignFrom(BestPracticeRule other)

Parameters

Type Name Description
BestPracticeRule other

Clone()

public BestPracticeRule Clone()

Returns

Type Description
BestPracticeRule

GetQueries(Model)

public Dictionary<RuleScope, IQueryable> GetQueries(Model model)

Parameters

Type Name Description
Model model

Returns

Type Description
Dictionary<RuleScope, IQueryable>

ShouldSerializeCategory()

public bool ShouldSerializeCategory()

Returns

Type Description
bool

ShouldSerializeDescription()

public bool ShouldSerializeDescription()

Returns

Type Description
bool

ShouldSerializeFixExpression()

public bool ShouldSerializeFixExpression()

Returns

Type Description
bool

UpdateEnabled(Model)

public void UpdateEnabled(Model model)

Parameters

Type Name Description
Model model