public ConfigurationInterceptor(Type interfaceType, IoHandler ioHandler, string prefix = null) { _boxes = BoxFactory.Discover(interfaceType, ioHandler.ValueHandler); _interfaceType = interfaceType; _ioHandler = ioHandler; _prefix = prefix; }
public InterfaceInterceptor(Type interfaceType, IoHandler ioHandler, string prefix = null) { _boxes = BoxFactory.Discover(interfaceType, ioHandler.ValueHandler, prefix); _ioHandler = ioHandler; _prefix = prefix; _reader = new DynamicReader(prefix, ioHandler); _writer = new DynamicWriter(prefix, ioHandler); }
public InterfaceInterceptor(Type interfaceType, IoHandler ioHandler, string prefix = null) { _boxes = BoxFactory.Discover(interfaceType, ioHandler.ValueHandler, prefix); _ioHandler = ioHandler; _prefix = prefix; _reader = new DynamicReader(prefix, ioHandler); _writer = new DynamicWriter(prefix, ioHandler); _isInpc = interfaceType.GetInterface(nameof(INotifyPropertyChanged)) != null; }
public DynamicReader(string basePath, IoHandler ioHandler) { _basePath = basePath; _ioHandler = ioHandler; }
public ConfigurationInterceptor(IoHandler ioHandler) { _propertyOptions = PropertyOptions.Discover <TInterface>(); _ioHandler = ioHandler; }