C# Class ColladaXna.Base.AddressExtensions

Extensions for classes that implement IAddress
Afficher le fichier Open project: Bunkerbewohner/ColladaXna

Méthodes publiques

Méthode Description
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

Method Details

Equals() public static méthode

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

GetAddressPart() public static méthode

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
Résultat string