C# Class Naos.Sample.UserAccounts.Domain.UserAccountStatus

Inheritance: ValueObject
显示文件 Open project: vip32/Naos

Public Properties

Property Type Description
Active UserAccountStatus
Inactive UserAccountStatus

Public Methods

Method Description
For ( UserAccountStatusType value ) : UserAccountStatus
For ( string value ) : UserAccountStatus
ToString ( ) : string

Protected Methods

Method Description
GetAtomicValues ( ) : IEnumerable

Private Methods

Method Description
UserAccountStatus ( UserAccountStatusType value ) : System
UserAccountStatus ( string value ) : System

Method Details

For() public static method

public static For ( UserAccountStatusType value ) : UserAccountStatus
value UserAccountStatusType
return UserAccountStatus

For() public static method

public static For ( string value ) : UserAccountStatus
value string
return UserAccountStatus

GetAtomicValues() protected method

protected GetAtomicValues ( ) : IEnumerable
return IEnumerable

ToString() public method

public ToString ( ) : string
return string

Property Details

Active public_oe static_oe property

public static UserAccountStatus,Naos.Sample.UserAccounts.Domain Active
return UserAccountStatus

Inactive public_oe static_oe property

public static UserAccountStatus,Naos.Sample.UserAccounts.Domain Inactive
return UserAccountStatus