コード例 #1
0
        public ViewAViewModel(IResolverContext container, IExampleClass test)
        {
            TestCommand = new DelegateCommand(TestAction);

            var test2 = container.Resolve <IExampleClass>();

            Message = $"Test 1: {test.Message} / {test.ContainerMessage}\r\n" +
                      $"Test 2: {test2.Message} / {test2.ContainerMessage}\r\n" +
                      $"Container: {container.GetHashCode()}";
        }