Show / Hide Table of Contents

Interface ICheckable

Interface for property that can be checked.

Namespace: CCMS.BL.Services.EditorConfig.Properties.Base
Assembly: CCMS.BL.dll
Syntax
public interface ICheckable

Properties

AllowedFileTypes

User-friendly allowed file types of property check that will be shown in properties page.

Declaration
string AllowedFileTypes { get; }
Property Value
Type Description
System.String

AllowedValues

User-friendly allowed values of property check that will be shown in properties page.

Declaration
string AllowedValues { get; }
Property Value
Type Description
System.String

Methods

Check(String, FileInfo)

Check method called for each file in repository that match the section.

Declaration
CheckResult Check(string value, FileInfo file)
Parameters
Type Name Description
System.String value

Value of checked property in convention.

System.IO.FileInfo file

Path to the file where convention is checked.

Returns
Type Description
CCMS.BL.Services.EditorConfig.Check.CheckResult

Fail or success. If fails, explanatory message will be shown.

Exceptions
Type Condition
UnsupportedPropertyValueException
In This Article
Back to top Generated by DocFX