CSLA.NET 5.4.2
CSLA .NET is a software development framework that helps you build a reusable, maintainable object-oriented business layer for your app.
Csla.Security.UsernameCriteria Class Reference

Criteria class for passing a username/password pair to a custom identity class. More...

Inheritance diagram for Csla.Security.UsernameCriteria:
Csla.CriteriaBase< UsernameCriteria >

Public Member Functions

 UsernameCriteria (string username, string password)
 Creates a new instance of the object. More...
 

Static Public Attributes

static readonly PropertyInfo< string > UsernameProperty = RegisterProperty<string>(c => c.Username)
 Username property definition. More...
 
static readonly PropertyInfo< string > PasswordProperty = RegisterProperty<string>(c => c.Password)
 Password property definition. More...
 

Protected Member Functions

 UsernameCriteria ()
 Creates a new instance of the object. More...
 
- Protected Member Functions inherited from Csla.CriteriaBase< UsernameCriteria >
 CriteriaBase ()
 Initializes empty CriteriaBase. More...
 

Properties

string Username [get]
 Username property definition. More...
 
string Password [get]
 Gets the password. More...
 

Additional Inherited Members

- Static Protected Member Functions inherited from Csla.CriteriaBase< UsernameCriteria >
static PropertyInfo< P > RegisterProperty< P > (PropertyInfo< P > info)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (string propertyName, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 
static PropertyInfo< P > RegisterProperty< P > (Expression< Func< T, object > > propertyLambdaExpression, string friendlyName, P defaultValue, RelationshipTypes relationship)
 Indicates that the specified property belongs to the business object type. More...
 

Detailed Description

Criteria class for passing a username/password pair to a custom identity class.

Definition at line 19 of file UsernameCriteria.cs.

Constructor & Destructor Documentation

◆ UsernameCriteria() [1/2]

Csla.Security.UsernameCriteria.UsernameCriteria ( string  username,
string  password 
)

Creates a new instance of the object.

Parameters
usernameUsername value.
passwordPassword value.

Definition at line 56 of file UsernameCriteria.cs.

◆ UsernameCriteria() [2/2]

Csla.Security.UsernameCriteria.UsernameCriteria ( )
protected

Creates a new instance of the object.

Definition at line 69 of file UsernameCriteria.cs.

Member Data Documentation

◆ PasswordProperty

readonly PropertyInfo<string> Csla.Security.UsernameCriteria.PasswordProperty = RegisterProperty<string>(c => c.Password)
static

Password property definition.

Definition at line 37 of file UsernameCriteria.cs.

◆ UsernameProperty

readonly PropertyInfo<string> Csla.Security.UsernameCriteria.UsernameProperty = RegisterProperty<string>(c => c.Username)
static

Username property definition.

Definition at line 24 of file UsernameCriteria.cs.

Property Documentation

◆ Password

string Csla.Security.UsernameCriteria.Password
get

Gets the password.

Definition at line 41 of file UsernameCriteria.cs.

◆ Username

string Csla.Security.UsernameCriteria.Username
get

Username property definition.

Definition at line 28 of file UsernameCriteria.cs.