C# Class FiftyOne.DeviceDetection.Hash.Engine.OnPremise.Data.PropertyMetaDataHash

Inheritance: IFiftyOneAspectPropertyMetaData, IDisposable
Mostra file Open project: 51Degrees/device-detection-dotnet Class Usage Examples

Private Properties

Property Type Description
PropertyMetaDataHash FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements

Public Methods

Method Description
CompareTo ( IFiftyOneAspectPropertyMetaData other ) : int

Compare this instance to another object that implements IFiftyOneAspectPropertyMetaData.

Dispose ( ) : void

Dispose

Equals ( IFiftyOneAspectPropertyMetaData other ) : bool

Check if this instance is equal to another object that implements IFiftyOneAspectPropertyMetaData.

Equals ( object obj ) : bool

Check if this instance is equal to a given object.

Equals ( string other ) : bool

Check if this instance is equal to a given string. This uses a comparison with the Name property.

GetComponent ( ) : IComponentMetaData

Get the component associated with this property.

GetDefaultValue ( ) : IValueMetaData

Get the default value for this property.

GetHashCode ( ) : int

Get a hash code for this instance. The value-space is greater than the key-space so hash collisions are possible and may need to be accounted for, depending on your use-case.

GetValue ( string valueName ) : IValueMetaData

Get the meta-data for an individual value entry.

GetValues ( ) : IEnumerable

The values that this property can have. Note that this is based on information in the data file so it is possible (or even likely, depending on the property) that a future data file will have different possible values.

ToString ( ) : string

Return a string representation of this instance.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Dispose

Private Methods

Method Description
PropertyMetaDataHash ( DeviceDetectionHashEngine engine, PropertyMetaDataSwig source ) : FiftyOne.DeviceDetection.Hash.Engine.OnPremise.FlowElements

Method Details

CompareTo() public method

Compare this instance to another object that implements IFiftyOneAspectPropertyMetaData.
public CompareTo ( IFiftyOneAspectPropertyMetaData other ) : int
other IFiftyOneAspectPropertyMetaData /// The instance to /// compare to. ///
return int

Dispose() public method

Dispose
public Dispose ( ) : void
return void

Dispose() protected method

Dispose
protected Dispose ( bool disposing ) : void
disposing bool /// False if called from finalizer ///
return void

Equals() public method

Check if this instance is equal to another object that implements IFiftyOneAspectPropertyMetaData.
public Equals ( IFiftyOneAspectPropertyMetaData other ) : bool
other IFiftyOneAspectPropertyMetaData /// The to check /// for equality. ///
return bool

Equals() public method

Check if this instance is equal to a given object.
public Equals ( object obj ) : bool
obj object /// The object to check for equality. ///
return bool

Equals() public method

Check if this instance is equal to a given string. This uses a comparison with the Name property.
public Equals ( string other ) : bool
other string /// The string to check for equality. ///
return bool

GetComponent() public method

Get the component associated with this property.
public GetComponent ( ) : IComponentMetaData
return IComponentMetaData

GetDefaultValue() public method

Get the default value for this property.
public GetDefaultValue ( ) : IValueMetaData
return IValueMetaData

GetHashCode() public method

Get a hash code for this instance. The value-space is greater than the key-space so hash collisions are possible and may need to be accounted for, depending on your use-case.
public GetHashCode ( ) : int
return int

GetValue() public method

Get the meta-data for an individual value entry.
public GetValue ( string valueName ) : IValueMetaData
valueName string /// the value to get the meta-data for. ///
return IValueMetaData

GetValues() public method

The values that this property can have. Note that this is based on information in the data file so it is possible (or even likely, depending on the property) that a future data file will have different possible values.
public GetValues ( ) : IEnumerable
return IEnumerable

ToString() public method

Return a string representation of this instance.
public ToString ( ) : string
return string