Ejemplo n.º 1
0
 /// <summary>
 /// Sets the handling data for this server event.
 /// </summary>
 /// <param name="owner">The owner of the handler, if static, the owner is null</param>
 /// <param name="handler">The handling method as handler</param>
 internal void SetHandler(object owner, MethodInfo handler)
 {
     _handler = handler;
     _owner   = owner;
     Usage    = RuntimeUtils.GetUsage(_handler, 1);
 }