本文整理汇总了C#中agsXMPP.ToString方法的典型用法代码示例。如果您正苦于以下问题:C# agsXMPP.ToString方法的具体用法?C# agsXMPP.ToString怎么用?C# agsXMPP.ToString使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类agsXMPP
的用法示例。
在下文中一共展示了agsXMPP.ToString方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Identity
/// <summary>
/// Constructeur
/// </summary>
/// <param name="jid">Identifiant Jabber</param>
public Identity(agsXMPP.Jid jid)
{
if (jid == null) { return; }
_jabberID = new JabberID();
_jabberID.user = (jid.User != null) ? jid.User : string.Empty;
_jabberID.domain = (jid.Server != null) ? jid.Server : string.Empty;
_jabberID.resource = (jid.Resource != null) ? jid.Resource : string.Empty;
_jabberID.bare = (jid.Bare != null) ? jid.Bare : string.Empty;
_jabberID.full = jid.ToString();
_name = new Name();
_name.firstname = string.Empty;
_name.lastname = string.Empty;
_name.middle = string.Empty;
_organization = new Organization();
_organization.name = string.Empty;
_organization.unit = string.Empty;
//this.retrieve();
//Load();
Jabber.xmpp.OnIq += new agsXMPP.protocol.client.IqHandler(iqManager);
}
示例2: comp_OnRoute
private static void comp_OnRoute(object sender, agsXMPP.protocol.component.Route r)
{
Console.WriteLine("OnRoute: " + r.ToString() + "\r\n");
}
示例3: comp_OnMessage
static void comp_OnMessage(object sender, agsXMPP.protocol.component.Message msg)
{
Console.WriteLine("OnMessage\r\n" + msg.ToString());
}
示例4: xmpp_OnEleError
public void xmpp_OnEleError(object sender, agsXMPP.Xml.Dom.Element el)
{
Console.WriteLine("Error: " + el.ToString());
}