[This is preliminary documentation and is subject to change.]

Constructor that takes cuteness, rating, and a fully qualified image file path.

Namespace: MvcTestApp.Models
Assembly: MvcTestApp (in MvcTestApp.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public LolCat(
	int cuteness,
	decimal rating,
	string imageFilePath
)
Visual Basic
Public Sub New ( _
	cuteness As Integer, _
	rating As Decimal, _
	imageFilePath As String _
)
Visual C++
public:
LolCat(
	int cuteness, 
	Decimal rating, 
	String^ imageFilePath
)

Parameters

cuteness
Type: System..::..Int32
The cuteness of the lolCat in question. Could be over 9000!
rating
Type: System..::..Decimal
A rating of how popular this particular kitty pic is.
imageFilePath
Type: System..::..String
The full path name to the image on the local system.

Remarks

The document Id is generated by the fileName (not full file path- since document IDs can't contain slashes ) using the fileNameFromFullPath(String) method.

See Also