Class RatingValue

This class captures a value representing an individual rating for a referenced item.

Inheritance
System.Object
RatingValue
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Social.Ratings.Core
Assembly: EPiServer.Social.Ratings.Core.dll
Version: 1.5.4
Syntax
public class RatingValue

Constructors

RatingValue()

Creates a Rating object.

Declaration
public RatingValue()

RatingValue(Int32)

Creates a Rating object.

Declaration
public RatingValue(int value)
Parameters
Type Name Description
System.Int32 value

An integer to initialize the rating Value property in the new Rating object.

Properties

Value

Gets the rating value.

Declaration
public int Value { get; }
Property Value
Type Description
System.Int32

An integer corresponding to the rating value.

Methods

ToString()

Converts the rating value to a string.

Declaration
public override string ToString()
Returns
Type Description
System.String

A string corresponding to the rating value.

Overrides
System.Object.ToString()
arrow_upward