public TypeText(Type type, IExpressConfig config) { Type = type; Properties = type.GetSettableProperties() .Where(config.PropertyFilter) .Select(p => new PropertyText(p)); Indexers = type.GetSettableIndexers() .Where(config.IndexerFilter) .Select(i => new IndexerText(i)); Methods = type.GetVoidMethods() .Where(config.VoidMethodFilter) .Select(m => new MethodText(m)); }
public Service(IExpressConfig config) { _Config = config; }