Example #1
0
        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));
        }
Example #2
0
 public Service(IExpressConfig config)
 {
     _Config = config;
 }