Exemple #1
0
 /// <summary>
 /// Registers all the thing types in this assembly with the
 /// <see cref="ItemTypeManager"/>.
 /// </summary>
 ///
 public static void RegisterAssemblyHealthRecordItemTypes()
 {
     foreach (ItemTypeManager.DefaultTypeHandler typeHandler in s_defaultTypeHandlers)
     {
         ItemTypeManager.RegisterTypeHandler(typeHandler.TypeId, typeHandler.Type, true);
     }
 }
Exemple #2
0
 public static void Register()
 {
     ItemTypeManager.RegisterTypeHandler(Id, typeof(CustomHealthTypeWrapper), true);
 }