示例#1
0
 public override string ToString()
 {
     if (IsEmpty)
     {
         return("[EMPTY]");
     }
     else
     {
         return(IsWebTerminalToken ?
                "WebTermToken({0}, {1})".Args(IdentityID != null ? IdentityID.GetType().Name : "?", AccountID) :
                "Account({0}, {1}, {2})".Args(Identity, IdentityID, AccountID));
     }
 }
示例#2
0
 public override int GetHashCode()
 {
     return((Identity == null ? 0 : Identity.GetHashCode())
            ^ (IdentityID == null ? 0 : IdentityID.GetHashCode())
            ^ (AccountID == null ? 0 : AccountID.GetHashCode()));
 }
 protected override void WriteDataOnParent(MainForm frm, Control parent, ref Point location)
 {
     EventLabel(frm, parent, ref location, "Trickster:", TricksterHF);
     EventLabel(frm, parent, ref location, "Identity ID:", IdentityID.ToString());
     EventLabel(frm, parent, ref location, "Target Ent:", TargetEn);
 }