Ejemplo n.º 1
0
 public InteractionHandler Add(InteractionStaticDelegate reaction)
 {
     if (handler == null)
     {
         handler = reaction;
     }
     else
     {
         handler += reaction;
     }
     return(this);
 }
Ejemplo n.º 2
0
 public InteractionHandler Set(InteractionStaticDelegate reaction)
 {
     handler = reaction;
     return this;
 }
Ejemplo n.º 3
0
 public InteractionHandler Set(InteractionMemberDelegate reaction)
 {
     handler = ToStaticInteractionDelegate(reaction);
     return this;
 }
Ejemplo n.º 4
0
 public InteractionHandler Clear()
 {
     handler = null;
     return this;
 }
Ejemplo n.º 5
0
 public InteractionHandler Add(InteractionStaticDelegate reaction)
 {
     if (handler == null)
         handler = reaction;
     else
         handler += reaction;
     return this;
 }
Ejemplo n.º 6
0
 public InteractionHandler Set(InteractionStaticDelegate reaction)
 {
     handler = reaction;
     return(this);
 }
Ejemplo n.º 7
0
 public InteractionHandler Set(InteractionMemberDelegate reaction)
 {
     handler = ToStaticInteractionDelegate(reaction);
     return(this);
 }
Ejemplo n.º 8
0
 public InteractionHandler Clear()
 {
     handler = null;
     return(this);
 }