ApplicationSettingsTests.TestHelpers.GetAbsolutePathToTestAssembly C# (CSharp) 메소드

GetAbsolutePathToTestAssembly() 개인적인 정적인 메소드

private static GetAbsolutePathToTestAssembly ( ) : string
리턴 string
        private static string GetAbsolutePathToTestAssembly()
        {
            var assembly = Assembly.GetAssembly(typeof(TestHelpers));
            var uri = new Uri(assembly.CodeBase);
            return System.IO.Path.GetDirectoryName(uri.AbsolutePath);
        }