Пример #1
0
        public override void GrantAbilities(Actors.ICanReceiveAbilities actor, FlexDi.IResolvesServices resolver)
        {
            var consumeWebServices = resolver.Resolve <ConsumeWebServices>();

            actor.IsAbleTo(consumeWebServices);
        }
Пример #2
0
        public override void GrantAbilities(Actors.ICanReceiveAbilities actor, FlexDi.IResolvesServices resolver)
        {
            var addNumbers = resolver.Resolve <AddNumbers>();

            actor.IsAbleTo(addNumbers);
        }