Table of Contents

Interface IStringRule

Namespace
Loehnert.Lisrt.Users
Assembly
Loehnert.Lisrt.dll

Interface for a password format rule.

public interface IStringRule

Remarks

Just [Export(typeof(IStringRule))] to let the UserManager know the rule.

Properties

Description

Gets a localized description.

string Description { get; }

Property Value

string

Methods

Check(string)

Checks the string format for correctness.

bool Check(string data)

Parameters

data string

The string of data to check.

Returns

bool

True, if the string is OK.