C# Class WellDunne.REST.Google.DomainUserName

Mostrar archivo Open project: JamesDunne/RESTful.tt

Public Methods

Method Description
DomainUserName ( string userAtDomain ) : System

Creates a DomainUserName struct given a `user@domain` formatted name.

DomainUserName ( string user, string domain ) : System

Creates a DomainUserName struct given both a user name and a domain name.

SetDomain ( string domain ) : DomainUserName

Changes the domain name without affecting the user name.

SetUser ( string user ) : DomainUserName

Changes the user name without affecting the domain name.

Private Methods

Method Description
setUserDomain ( string user, string domain ) : void

Method Details

DomainUserName() public method

Creates a DomainUserName struct given a `user@domain` formatted name.
public DomainUserName ( string userAtDomain ) : System
userAtDomain string
return System

DomainUserName() public method

Creates a DomainUserName struct given both a user name and a domain name.
public DomainUserName ( string user, string domain ) : System
user string
domain string
return System

SetDomain() public method

Changes the domain name without affecting the user name.
public SetDomain ( string domain ) : DomainUserName
domain string New domain name to set
return DomainUserName

SetUser() public method

Changes the user name without affecting the domain name.
public SetUser ( string user ) : DomainUserName
user string New user name to set
return DomainUserName