GoogleTalkPlugIn.GoogleTalkMessagingService.GetInformation C# (CSharp) Method

GetInformation() public method

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

Usage Example

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