AjTalk.Gui.Browser.GetMethodSource C# (CSharp) Метод

GetMethodSource() приватный Метод

private GetMethodSource ( IMethod method ) : string
method IMethod
Результат string
        private string GetMethodSource(IMethod method)
        {
            if (method == null || method.SourceCode == null)
                return string.Empty;

            if (method.SourceCode.Contains("\r\n"))
                return method.SourceCode;

            return method.SourceCode.Replace("\n", "\r\n");
        }