C# Class Microsoft.R.Host.Protocol.Test.UserProfileServicePipe.UserProfileServiceMock

Inheritance: IUserProfileServices
Afficher le fichier Open project: Microsoft/RTVS Class Usage Examples

Méthodes publiques

Méthode Description
Create ( string username, string domain, string password, bool validParse, bool validAccount, bool existingAccount ) : UserProfileServiceMock
CreateUserProfile ( IUserCredentials credMock, ILogger logger ) : IUserProfileServiceResult
DeleteUserProfile ( IUserCredentials credMock, ILogger logger ) : IUserProfileServiceResult
UserProfileServiceMock ( ) : System

Private Methods

Méthode Description
ValidateDomain ( string domain ) : void
ValidatePassword ( string password ) : void
ValidateString ( string actual, string expected ) : void
ValidateUsername ( string username ) : void

Method Details

Create() public static méthode

public static Create ( string username, string domain, string password, bool validParse, bool validAccount, bool existingAccount ) : UserProfileServiceMock
username string
domain string
password string
validParse bool
validAccount bool
existingAccount bool
Résultat UserProfileServiceMock

CreateUserProfile() public méthode

public CreateUserProfile ( IUserCredentials credMock, ILogger logger ) : IUserProfileServiceResult
credMock IUserCredentials
logger ILogger
Résultat IUserProfileServiceResult

DeleteUserProfile() public méthode

public DeleteUserProfile ( IUserCredentials credMock, ILogger logger ) : IUserProfileServiceResult
credMock IUserCredentials
logger ILogger
Résultat IUserProfileServiceResult

UserProfileServiceMock() public méthode

public UserProfileServiceMock ( ) : System
Résultat System