public static BinderState FromScan(IPropertyScanner scanner, IEnumerable <object> objects) { return(new BinderState( objects .SelectMany(o => scanner.Scan(o).Select(p => new CandidateProperty(o, p))) .OrderBy(be => be.RelativePath) )); }
public TypeExtensionsScanner(IPropertyScanner extensionsScanner) { _adapterFactory = new TypeAdapterFactory <ITypeExtension>(); _extensionsScanner = extensionsScanner; }