static void Main(string[] args)
        {
            var client = new MixinClient(new MixinObject());
            client.Run();

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

            client.Run();

            Console.ReadKey();
        }
        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();
        }
Exemple #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();
        }