Microsoft.ManagementConsole.SnapInRegistration.BuildPath C# (CSharp) Method

BuildPath() private static method

private static BuildPath ( string path, Type originType, bool isApplicationBaseRelative ) : string
path string
originType System.Type
isApplicationBaseRelative bool
return string
        private static string BuildPath(string path, Type originType, bool isApplicationBaseRelative)
        {
            if (isApplicationBaseRelative)
            {
                return Path.Combine(Path.GetDirectoryName(originType.Assembly.Location), path);
            }
            return path;
        }