C# 클래스 Google.Protobuf.WellKnownTypes.FieldMask

상속: ICustomDiagnosticMessage
파일 보기 프로젝트 열기: Arctium-Emulation/Project-WoW 1 사용 예제들

공개 메소드들

메소드 설명
ToDiagnosticString ( ) : string

Returns a string representation of this FieldMask for diagnostic purposes.

Normally the returned value will be a JSON string value (including leading and trailing quotes) but when the value is non-normalized or out of range, a JSON object representation will be returned instead, including a warning. This is to avoid exceptions being thrown when trying to diagnose problems - the regular JSON formatter will still throw an exception for non-normalized values.

비공개 메소드들

메소드 설명
ToJson ( IList paths, bool diagnosticOnly ) : string

Converts a timestamp specified in seconds/nanoseconds to a string.

If the value is a normalized duration in the range described in field_mask.proto, diagnosticOnly is ignored. Otherwise, if the parameter is true, a JSON object with a warning is returned; if it is false, an InvalidOperationException is thrown.

ValidatePath ( string input ) : bool

Camel-case converter with added strictness for field mask formatting.

메소드 상세

ToDiagnosticString() 공개 메소드

Returns a string representation of this FieldMask for diagnostic purposes.
Normally the returned value will be a JSON string value (including leading and trailing quotes) but when the value is non-normalized or out of range, a JSON object representation will be returned instead, including a warning. This is to avoid exceptions being thrown when trying to diagnose problems - the regular JSON formatter will still throw an exception for non-normalized values.
public ToDiagnosticString ( ) : string
리턴 string