public void AddType(Type type, IExtraProcesser processer, bool includeSubclass) { if (_collect_types.ContainsKey(type)) return; _collect_types.Add(type, processer); if (includeSubclass) _subclasses.Add(type); }
public void AddType(Type type, IExtraProcesser processer) { if (_collect_types.ContainsKey(type)) return; _collect_types.Add(type, processer); }