Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var client = new MixinClient(new MixinObject());
            client.Run();

            Console.ReadKey();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            var client = new MixinClient(new MixinObject());

            client.Run();

            Console.ReadKey();
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            var config = MixinConfiguration.BuildFromActive()
                .ForClass<TargetImplementation>()
                .AddMixin<MixinImplementationA>()
                .AddMixin<MixinImplementationB>()
                .AddMixin<MixinImplementationC>()
                .BuildConfiguration();
            
            MixinConfiguration.SetActiveConfiguration(config);

            var client = new MixinClient(ObjectFactory.Create<TargetImplementation>(ParamList.Empty));
            client.Run();

            Console.ReadKey();
        }
Ejemplo n.º 4
0
        static void Main(string[] args)
        {
            var config = MixinConfiguration.BuildFromActive()
                         .ForClass <TargetImplementation>()
                         .AddMixin <MixinImplementationA>()
                         .AddMixin <MixinImplementationB>()
                         .AddMixin <MixinImplementationC>()
                         .BuildConfiguration();

            MixinConfiguration.SetActiveConfiguration(config);

            var client = new MixinClient(ObjectFactory.Create <TargetImplementation>(ParamList.Empty));

            client.Run();

            Console.ReadKey();
        }