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