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

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

            actor.IsAbleTo(addNumbers);
        }