コード例 #1
0
        public TestCaseStarted.Types.Platform BuildFromSystemInformation()
        {
            var platform = new TestCaseStarted.Types.Platform
            {
                Cpu            = _systemInformationProvider.GetCpuArchitecture(),
                Os             = _systemInformationProvider.GetOperatingSystem(),
                Implementation = "SpecFlow",
                Version        = _specFlowVersionInformationProvider.GetAssemblyVersion()
            };

            return(platform);
        }