private static void Main(string[] args)
        {
            var sessionModel = new SessionModel(3);

            // first case (see text down below):
            var catalog = new AssemblyCatalog
                              (System.Reflection.Assembly.GetExecutingAssembly());

            var compositionContainer = new CompositionContainer(catalog);

            // second case (see text down below):
            //var typeCatalog = new TypeCatalog(typeof (SessionModel));
            //var compositionContainer = new CompositionContainer(typeCatalog);

            //compositionContainer.ComposeExportedValue(sessionModel);
            var someService = compositionContainer.GetExportedValue <ISomeService>();

            someService.DoSomething();
        }