Class ReportInstanceKey
Represents a unique key for a specific report instance, identified by a report name and parameter values.
Inheritance
Namespace: Telerik.Reporting.Services.Engine
Assembly: Telerik.Reporting.dll
Syntax
public class ReportInstanceKey
Remarks
This class is used to differentiate between multiple report instances, ensuring that the same report and identical parameters yield the same key.
Constructors
ReportInstanceKey(String, Dictionary<String, Object>)
Initializes a new instance of the ReportInstanceKey class with the specified report name and parameter set.
Declaration
public ReportInstanceKey(string report, Dictionary<string, object> parameters)
Parameters
|
System.String
report
The name of the report. |
|
System.Collections.Generic.Dictionary<System.String, System.Object>
parameters
A dictionary of parameter names and their values. |
Properties
Parameters
Gets or sets the collection of parameter names and values for the report.
Declaration
public Dictionary<string, object> Parameters { get; set; }
Property Value
|
System.Collections.Generic.Dictionary<System.String, System.Object>
|
Report
Gets or sets the name of the report associated with this key.
Declaration
public string Report { get; set; }
Property Value
|
System.String
|
Methods
Equals(Object)
Determines whether the specified System.Object is equal to the current ReportInstanceKey.
Declaration
public override bool Equals(object obj)
Parameters
|
System.Object
obj
The object to compare with the current ReportInstanceKey. |
Returns
|
System.Boolean
|
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
|
System.Int32
A hash code for the current ReportInstanceKey. |
Overrides
ToString()
Returns a string that represents the current ReportInstanceKey.
Declaration
public override string ToString()
Returns
|
System.String
The name of the report. |