/// <summary> /// Default constructor /// </summary> /// <param name="strategyCreator"></param> /// <param name="typesToExport"></param> /// <param name="scopeConfiguration"></param> public ExportTypeSetConfiguration(IActivationStrategyCreator strategyCreator, IEnumerable <Type> typesToExport, IInjectionScopeConfiguration scopeConfiguration) { _strategyCreator = strategyCreator; _typesToExport = typesToExport; _scopeConfiguration = scopeConfiguration; _whereFilter = new GenericFilterGroup <Type>(ShouldSkipType, ExcludeTypesFilter); }
/// <summary> /// Default constructor /// </summary> /// <param name="currentApiInformation"></param> /// <param name="types"></param> public TypeSetExposureConfiguration(ICurrentApiInformation currentApiInformation, IEnumerable <Type> types) { Types = types; _currentApiInformation = currentApiInformation; MethodFilterGroup = new GenericFilterGroup <MethodInfo>(FilterObjectMethods); WhereFilters = new GenericFilterGroup <Type>(FilterOutTypes); }
public TypeExposureConfiguration(ICurrentApiInformation currentApiInformation, Type exposeType) { _currentApiInformation = currentApiInformation; _exposeType = exposeType; _methodFilterGroup = new GenericFilterGroup <MethodInfo>(FilterObjectMethods); }