CKFinder 3 – ASP.NET Connector Documentation
SizeDefinition Class Reference

A size definition. More...

Inheritance diagram for SizeDefinition:
SizeAndQuality

Public Member Functions

 SizeDefinition (string name, int width, int height, ImageQuality quality)
 Constructs a new instance of SizeDefinition. More...
 
override bool Equals (object obj)
 Tests whether the specified object is a SizeDefinition class and is equivalent to this SizeDefinition class. More...
 
override int GetHashCode ()
 Returns a hash code for this SizeDefinition class. More...
 
- Public Member Functions inherited from SizeAndQuality
 SizeAndQuality (int width, int height, ImageQuality quality)
 Constructs a new instance of SizeAndQuality. More...
 
 SizeAndQuality (Size size, ImageQuality quality)
 Constructs a new instance of SizeAndQuality. More...
 
override bool Equals (object obj)
 Tests whether the specified object is a SizeAndQuality class and is equivalent to this SizeAndQuality class. More...
 
override int GetHashCode ()
 Returns a hash code for this SizeAndQuality class. More...
 

Protected Member Functions

bool Equals (SizeDefinition other)
 Tests whether the specified SizeDefinition class is equivalent to this SizeDefinition class. More...
 
- Protected Member Functions inherited from SizeAndQuality
bool Equals (SizeAndQuality other)
 Tests whether the specified SizeAndQuality class is equivalent to this SizeAndQuality class. More...
 

Properties

string Name [get]
 Gets the size name. More...
 
- Properties inherited from SizeAndQuality
Size Size [get]
 Gets the size. More...
 
ImageQuality Quality [get]
 Gets the quality. More...
 

Additional Inherited Members

- Public Attributes inherited from SizeAndQuality
int Width => Size.Width
 Gets the width in pixels. More...
 
int Height => Size.Height
 Gets the height in pixels. More...
 

Detailed Description

A size definition.

Constructor & Destructor Documentation

◆ SizeDefinition()

SizeDefinition ( string  name,
int  width,
int  height,
ImageQuality  quality 
)
inline

Constructs a new instance of SizeDefinition.

Parameters
nameA name of the size.
widthA width in pixels.
heightA height in pixels.
qualityA quality.

Member Function Documentation

◆ Equals() [1/2]

override bool Equals ( object  obj)
inline

Tests whether the specified object is a SizeDefinition class and is equivalent to this SizeDefinition class.

Parameters
objThe object to test.
Returns
true if obj is a SizeDefinition class equivalent to this SizeDefinition class; otherwise, false.

◆ Equals() [2/2]

bool Equals ( SizeDefinition  other)
inlineprotected

Tests whether the specified SizeDefinition class is equivalent to this SizeDefinition class.

Parameters
otherThe SizeDefinition object to test.
Returns
true if other is equivalent to this SizeDefinition class; otherwise, false.

◆ GetHashCode()

override int GetHashCode ( )
inline

Returns a hash code for this SizeDefinition class.

Returns
An integer value that specifies the hash code for this SizeDefinition.

Property Documentation

◆ Name

string Name
get

Gets the size name.


The documentation for this class was generated from the following file: