ForwardSlashCombine() 공개 정적인 메소드

public static ForwardSlashCombine ( this baseAddress, string relativeAddress ) : string
baseAddress this
relativeAddress string
리턴 string
예제 #1
0
파일: Template.cs 프로젝트: runt18/docfx
        private static string GetRelativeResourceKey(string templateName, string relativePath)
        {
            if (string.IsNullOrEmpty(templateName))
            {
                return(relativePath);
            }

            // Make sure resource keys are combined using '/'
            return(TypeForwardedToStringExtension.ForwardSlashCombine(TypeForwardedToStringExtension.ToNormalizedPath(Path.GetDirectoryName(templateName)), relativePath));
        }