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(); }
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(); }