Class ImageCropData
Inheritance
System.Object
System.Dynamic.DynamicObject
Namespace:System.Dynamic.ExpandoObject
Assembly:umbraco.dll
Syntax
[DataContract(Name = "imageCropData")]
public class ImageCropData : CaseInsensitiveDynamicObject<ImageCropData>, IDynamicMetaObjectProvider, IEquatable<ImageCropData>
Properties
Alias
Declaration
[DataMember(Name = "alias")]
public string Alias { get; set; }
Property Value
Type |
Description |
System.String |
|
Coordinates
Declaration
[DataMember(Name = "coordinates")]
public ImageCropCoordinates Coordinates { get; set; }
Property Value
Height
Declaration
[DataMember(Name = "height")]
public int Height { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Width
Declaration
[DataMember(Name = "width")]
public int Width { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
Equals(Object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
The object to compare with the current object.
|
Returns
Type |
Description |
System.Boolean |
true if the specified object is equal to the current object; otherwise, false.
|
Equals(ImageCropData)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(ImageCropData other)
Parameters
Type |
Name |
Description |
ImageCropData |
other |
An object to compare with this object.
|
Returns
Type |
Description |
System.Boolean |
true if the current object is equal to the other parameter; otherwise, false.
|
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
A hash code for the current object.
|
Operators
Equality(ImageCropData, ImageCropData)
Declaration
public static bool operator ==(ImageCropData left, ImageCropData right)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(ImageCropData, ImageCropData)
Declaration
public static bool operator !=(ImageCropData left, ImageCropData right)
Parameters
Returns
Type |
Description |
System.Boolean |
|