C# 클래스 ColladaXna.Base.AddressExtensions

Extensions for classes that implement IAddress
파일 보기 프로젝트 열기: Bunkerbewohner/ColladaXna

공개 메소드들

메소드 설명
Equals ( this address, IAddress other ) : bool

Determines if two addresses are equal

GetAddressPart ( this address, string name ) : string

Returns a part of the address as specified by given name: "name" returns the "name" attribute "idref" or "id" returns the "id" attribtue "sidref" or "sid" returns the "sid" attribute

메소드 상세

Equals() 공개 정적인 메소드

Determines if two addresses are equal
public static Equals ( this address, IAddress other ) : bool
address this An address
other IAddress Another address
리턴 bool

GetAddressPart() 공개 정적인 메소드

Returns a part of the address as specified by given name: "name" returns the "name" attribute "idref" or "id" returns the "id" attribtue "sidref" or "sid" returns the "sid" attribute
Does only accept above mentioned names
public static GetAddressPart ( this address, string name ) : string
address this
name string
리턴 string