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; }
IEnumerable <Object> IResolveBuilder.ToEnumerable(IResolveContext context, Object state) => _inner.ToEnumerable(context, state);