C# 클래스 System.Runtime.Serialization.Plists.Extensions

Extensions and helpers for plist serialization.
파일 보기 프로젝트 열기: ChadBurggraf/plists-cs

공개 메소드들

메소드 설명
GetConcreteTypeIfNullable ( this type ) : Type

Gets the specified type's concrete type of it is an instance of Nullable{T}. If the type is not null-able, it is returned as-is.

IsAscii ( this value ) : bool

Gets a value indicating whether the given string is all ASCII.

IsCollection ( this type ) : bool

Gets a value indicating whether the specified type is a collection type.

IsDefaultValue ( this type, object value ) : bool

Gets a value indicating whether the given value is the default value for the specified type.

IsPrimitiveOrEnum ( this type ) : bool

Gets a value indicating whether the specified type is an enum or primitive or semi-primitive (e.g., string) type.

ToBinaryString ( this value ) : string

Converts the given value into its binary representation as a string.

메소드 상세

GetConcreteTypeIfNullable() 공개 정적인 메소드

Gets the specified type's concrete type of it is an instance of Nullable{T}. If the type is not null-able, it is returned as-is.
public static GetConcreteTypeIfNullable ( this type ) : Type
type this The type to get the concrete type of.
리턴 System.Type

IsAscii() 공개 정적인 메소드

Gets a value indicating whether the given string is all ASCII.
public static IsAscii ( this value ) : bool
value this The string to check.
리턴 bool

IsCollection() 공개 정적인 메소드

Gets a value indicating whether the specified type is a collection type.
public static IsCollection ( this type ) : bool
type this The type to check.
리턴 bool

IsDefaultValue() 공개 정적인 메소드

Gets a value indicating whether the given value is the default value for the specified type.
public static IsDefaultValue ( this type, object value ) : bool
type this The type to check the value against.
value object The value to check.
리턴 bool

IsPrimitiveOrEnum() 공개 정적인 메소드

Gets a value indicating whether the specified type is an enum or primitive or semi-primitive (e.g., string) type.
public static IsPrimitiveOrEnum ( this type ) : bool
type this The type to check.
리턴 bool

ToBinaryString() 공개 정적인 메소드

Converts the given value into its binary representation as a string.
public static ToBinaryString ( this value ) : string
value this The value to convert.
리턴 string