C# 클래스 WikiFunctions.Summary

파일 보기 프로젝트 열기: reedy/AutoWikiBrowser

공개 메소드들

메소드 설명
IsCorrect ( string s ) : bool

returns true if given string has matching double square brackets and is within the maximum permitted length

ModifiedSection ( string originalText, string articleText ) : string

Returns the name of modified section, top for zeroth section, or empty string if more than one section has changed or no changes

Trim ( string summary ) : string

Truncates an edit summary that's over the maximum supported length

비공개 메소드들

메소드 설명
LimitByteLength ( string input, int maxLength ) : string

http://stackoverflow.com/questions/1225052/best-way-to-shorten-utf8-string-based-on-byte-length

메소드 상세

IsCorrect() 공개 정적인 메소드

returns true if given string has matching double square brackets and is within the maximum permitted length
public static IsCorrect ( string s ) : bool
s string
리턴 bool

ModifiedSection() 공개 정적인 메소드

Returns the name of modified section, top for zeroth section, or empty string if more than one section has changed or no changes
public static ModifiedSection ( string originalText, string articleText ) : string
originalText string
articleText string
리턴 string

Trim() 공개 정적인 메소드

Truncates an edit summary that's over the maximum supported length
public static Trim ( string summary ) : string
summary string input long edit summary
리턴 string