Пример #1
0
        protected override object Instantiate(CreationContext context)
        {
            var instance = base.Instantiate(context);

            var behavior = ProxyUtil.GetUnproxiedInstance(instance);
            var scope    = WcfUtils.GetScope(Model);

            WcfUtils.ExtendBehavior(Kernel, scope, behavior, context);

            return(instance);
        }