ApiCopRule

Name Value
Assembly Catel.Core
Namespace Catel.ApiCop
Available on .NET Framework 4.5, .NET Framework 4.6, Portable Class Libraries, Xamarin - Android, Xamarin - iOS
public abstract class ApiCopRule : IApiCopRule

Base types

IApiCopRule

Class containing an ApiCop rule.

Fields

Constructors

Properties

Description

Gets the description.

Level

Gets the level of impact this rule has.

Name

Gets the name.

Url

Gets the URL.

Methods

GetResultAsText(string tag)

Gets the result as text.

Parameters

Name Description
tag The tag.

Returns

The result as text.

GetTags()

Gets all the tags used by this rule.

Returns

The list of tags.

IsValid(IApiCop apiCop, string tag)

Determines whether the specified ApiCop rule is valid.

Parameters

Name Description
apiCop The ApiCop.
tag The tag.

Returns

true if the specified ApiCop is valid; otherwise,false.


Have a question about Catel? Use StackOverflow with the Catel tag!


Discussion