Beispiel #1
0
 /// <summary>
 /// Register a <see cref="ISnacFamilyHandler"/> for a SNAC family
 /// </summary>
 /// <param name="handler">The handler to register</param>
 /// <param name="snacFamily">The SNAC family handled by <paramref name="handler"/></param>
 public void RegisterSnacFamilyHandler(ISnacFamilyHandler handler, ushort snacFamily)
 {
     handlers[snacFamily] = handler;
 }
Beispiel #2
0
 /// <summary>
 /// Register a <see cref="ISnacFamilyHandler"/> for a SNAC family
 /// </summary>
 /// <param name="handler">The handler to register</param>
 /// <param name="snacFamily">The SNAC family handled by <paramref name="handler"/></param>
 public void RegisterSnacFamilyHandler(ISnacFamilyHandler handler, ushort snacFamily)
 {
     handlers[snacFamily] = handler;
 }