BusinessSegmentDto Class

Represents a simple ID/Label object for JSON serialization; useful for dropdowns to allow users to specify items from a large list without having it impact performance and RAM usage significantly.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public sealed class BusinessSegmentDto : IEquatable<BusinessSegmentDto>
Inheritance
Object    BusinessSegmentDto
Implements
IEquatableBusinessSegmentDto

Constructors

BusinessSegmentDto(IIdLabel) Constructor from existing component.
BusinessSegmentDto(Guid, String) Default constructor

Properties

Id ID of the business object
Label Label of the business object.

Methods

Equals(BusinessSegmentDto)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)

Operators

Equality(BusinessSegmentDto, BusinessSegmentDto) Checks for equality between two BusinessSegmentDto instances.
Inequality(BusinessSegmentDto, BusinessSegmentDto) Checks for inequality between two BusinessSegmentDto instances.

See Also