C# 클래스 DLaB.CrmSvcUtilExtensions.Extensions

파일 보기 프로젝트 열기: daryllabar/DLaB.Xrm.XrmToolBoxTools

공개 메소드들

메소드 설명
GetFieldInitalizedValue ( this type, string fieldName ) : string
GetLocalOrDefaultText ( this label, string defaultIfNull = null ) : string
GetOptions ( this metadata ) : List
IsContextType ( this type ) : bool

Determines if the type inherits from one of the known Xrm OrganizationServiceContext types.

RemoveDiacritics ( this text ) : string

Removes the diacritics. In Unicode characters with diacritics are combination of 2 (or more) characters, for example "ê" is compound of "e" and "^", "ü" is compound of "u" and "¨", etc. This method allow to only keep the base character, in my examples "e" and "u"

메소드 상세

GetFieldInitalizedValue() 공개 정적인 메소드

public static GetFieldInitalizedValue ( this type, string fieldName ) : string
type this
fieldName string
리턴 string

GetLocalOrDefaultText() 공개 정적인 메소드

public static GetLocalOrDefaultText ( this label, string defaultIfNull = null ) : string
label this
defaultIfNull string
리턴 string

GetOptions() 공개 정적인 메소드

public static GetOptions ( this metadata ) : List
metadata this
리턴 List

IsContextType() 공개 정적인 메소드

Determines if the type inherits from one of the known Xrm OrganizationServiceContext types.
public static IsContextType ( this type ) : bool
type this The type.
리턴 bool

RemoveDiacritics() 공개 정적인 메소드

Removes the diacritics. In Unicode characters with diacritics are combination of 2 (or more) characters, for example "ê" is compound of "e" and "^", "ü" is compound of "u" and "¨", etc. This method allow to only keep the base character, in my examples "e" and "u"
public static RemoveDiacritics ( this text ) : string
text this The text.
리턴 string