GoogleTalkPlugIn.GoogleTalkMessagingService.GetInformation C# (CSharp) Méthode

GetInformation() public méthode

public GetInformation ( ) : ServiceInformation
Résultat Unite.Messaging.Entities.ServiceInformation
        public ServiceInformation GetInformation()
        {
            return _ServiceInformation;
        }

Usage Example

 public void Setup()
 {
     GoogleDataAccessLayer = MockRepository.GenerateMock<IGoogleTalkDataAccess>();
     GooglePlugin = new GoogleTalkPlugIn.GoogleTalkMessagingService(GoogleDataAccessLayer);
     GooglePlugin.SetCredentials(
         new Credentials()
             {
                 UserName = "******",
                 Password = "",
                 ServiceInformation = GooglePlugin.GetInformation()
             });
     Context();
     Because();
 }