コード例 #1
0
        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);
        }
コード例 #2
0
        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;
        }
コード例 #3
0
 IEnumerable <Object> IResolveBuilder.ToEnumerable(IResolveContext context, Object state)
 => _inner.ToEnumerable(context, state);