C# Class MonoDevelop.Monobjc.Utilities.AttributeHelper

Helper class for attribute.
显示文件 Open project: Monobjc/monobjc-monodevelop

Public Methods

Method Description
GetAttribute ( IEntity member, String attributeFullName ) : IAttribute

Returns the attribute with the given full name if it exists.

GetAttributeValue ( IEntity member, String attributeFullName ) : String

Returns the value of the attribute with the given full name if it exists.

HasAttribute ( IEntity member, String attributeFullName ) : bool

Checks if the attribute with the given full name exists.

IsWrappingFramework ( String assemblyPath, bool &systemFramework ) : bool

Method Details

GetAttribute() public static method

Returns the attribute with the given full name if it exists.
public static GetAttribute ( IEntity member, String attributeFullName ) : IAttribute
member IEntity /// A where the attribute is ///
attributeFullName String /// The attribute fullname. ///
return IAttribute

GetAttributeValue() public static method

Returns the value of the attribute with the given full name if it exists.
public static GetAttributeValue ( IEntity member, String attributeFullName ) : String
member IEntity /// A ///
attributeFullName String /// The attribute fullname. ///
return String

HasAttribute() public static method

Checks if the attribute with the given full name exists.
public static HasAttribute ( IEntity member, String attributeFullName ) : bool
member IEntity /// A where the attribute is ///
attributeFullName String /// The attribute fullname. ///
return bool

IsWrappingFramework() public static method

public static IsWrappingFramework ( String assemblyPath, bool &systemFramework ) : bool
assemblyPath String
systemFramework bool
return bool