Пример #1
0
        public static BindOptions <TType, TInterface> MapChain <TType, TInterface>
        (
            this BindOptions <TType, TInterface> bindOptions,
            MethodInfo targetMethod,
            MethodInfo interfaceMethod
        )
        {
            bindOptions.Map
            (
                targetMethod,
                interfaceMethod
            );

            return(bindOptions);
        }
Пример #2
0
        public static BindOptions <TType, TInterface> MapChain <TType, TInterface>
        (
            this BindOptions <TType, TInterface> bindOptions,
            PropertyInfo targetProperty,
            PropertyInfo interfaceProperty
        )
        {
            bindOptions.Map
            (
                targetProperty,
                interfaceProperty
            );

            return(bindOptions);
        }