private static IEnumerable CreateResultSource(String propertyName, IResolveBuilder resolveBuilder, IResolveContext resolveContext) { Logger.Debug( "Property {PropertyName} resolver {$Resolver} initializing.", propertyName, resolveBuilder ); var resultSource = resolveBuilder.ToEnumerable( resolveContext , resolveBuilder.Initialize(resolveContext)); Logger.Debug( "Property {PropertyName} resolver {$Resolver} resolved into {$Value}.", propertyName, resolveBuilder, resultSource ); return(resultSource); }
private static IEnumerable CreateResultSource(String propertyName, IResolveBuilder resolveBuilder, IResolveContext resolveContext) { Logger.Debug( "Property {PropertyName} resolver {$Resolver} initializing.", propertyName, resolveBuilder ); var resultSource = resolveBuilder.ToEnumerable( resolveContext , resolveBuilder.Initialize(resolveContext)); Logger.Debug( "Property {PropertyName} resolver {$Resolver} resolved into {$Value}.", propertyName, resolveBuilder, resultSource ); return resultSource; }
Object IResolveBuilder.Initialize(IResolveContext context) => _inner.Initialize(context);