registerDescriptors<U> method
void
registerDescriptors<U>(})
inherited
Implementation
@protected
void registerDescriptors<U>(Iterable<TypeDescriptor<U>> descriptors,
{bool checkUnique = false}) {
for (var element in descriptors) {
if (checkUnique && vyuh.content.isRegistered<U>(element)) {
return;
}
vyuh.content.register<U>(element);
}
}