Class AudioUsage
public class AudioUsage : Usage, IEquatable<Usage>, IEquatable<AudioUsage>
- Inheritance
-
objectAudioUsage
- Implements
-
IEquatable<Usage>IEquatable<AudioUsage>
- Inherited Members
Constructors
AudioUsage()
public AudioUsage()
AudioUsage(double, bool)
public AudioUsage(double seconds, bool isEstimated = false)
Parameters
secondsdoubleisEstimatedbool
Fields
isEstimated
public bool isEstimated
Field Value
- bool
seconds
public double seconds
Field Value
- double
Properties
HasValue
public override bool HasValue { get; }
Property Value
- bool
Methods
Equals(AudioUsage)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(AudioUsage other)
Parameters
otherAudioUsageAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetInspectorValueName()
public override string GetInspectorValueName()
Returns
- string
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
TryMerge(Usage)
public override bool TryMerge(Usage other)
Parameters
otherUsage
Returns
- bool