BaseRuleUrlResolver<T> Class

Summary

Base class for retrieving an URL linking to a site containing help for a rule.
Assembly
Cake.Prca.dll
Namespace
Cake.Prca.Issues
Base Types
  • object
graph TD Base0["object"]-->Type Type["BaseRuleUrlResolver<T>"] class Type type-node

Syntax

public abstract class BaseRuleUrlResolver<T> where T : BaseRuleDescription, new()

Type Parameters

Name Description
T Type of the rule description

Constructors

Name Summary
BaseRuleUrlResolver()

Methods

Name Value Summary
AddUrlResolver(Func<T, Uri>) void
Registers a new resolver with default priority of
0
.
AddUrlResolver(Func<T, Uri>, int) void
Registers a new resolver which with a specific priority.
ResolveRuleUrl(string) Uri
Returns an URL linking to a site describing a specific rule.
TryGetRuleDescription(string, T) bool
Parses a rule into a BaseRuleDescription.

Extension Methods

Name Value Summary
NotNull<BaseRuleUrlResolver<T>>(string) void
Throws an exception if the specified parameter's value is null.
GitHub