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

Inheritance: IUserProfileServices
Exibir arquivo Open project: Microsoft/RTVS Class Usage Examples

Public Methods

Method 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

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

Method Details

Create() public static method

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
return UserProfileServiceMock

CreateUserProfile() public method

public CreateUserProfile ( IUserCredentials credMock, ILogger logger ) : IUserProfileServiceResult
credMock IUserCredentials
logger ILogger
return IUserProfileServiceResult

DeleteUserProfile() public method

public DeleteUserProfile ( IUserCredentials credMock, ILogger logger ) : IUserProfileServiceResult
credMock IUserCredentials
logger ILogger
return IUserProfileServiceResult

UserProfileServiceMock() public method

public UserProfileServiceMock ( ) : System
return System