ImageReference Class

Represents a reference to an image that can be used by the Business object to identify itself; an AccountDto avatar, DeviceDto icon on Google Maps, etc.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public sealed class ImageReference : ICloneable<ImageReference>, 
	IEquatable<ImageReference>
Inheritance
Object    ImageReference
Implements
ICloneableImageReference, IEquatableImageReference

Constructors

ImageReference Constructor is only usable in the Common assembly; to instantiate new objects, use ModelFactory methods.

Properties

ImagePath Path of the image (in Azure Blob Storage, relative to the main folder of the company). Can be null when we're working with a new image uploaded by a user that hasn't been saved yet.
Size Optional: the size to draw the image in. If the value is Empty, the original dimensions of the image will be used.

Methods

Clone Clones the current instance of the object.
Equals(ImageReference)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)

See Also