Class Resource
Represents basic IResource implementation.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.ScheduleView.dll
Syntax
public class Resource : IResource, IEquatable<IResource>
Constructors
Resource()
Resource(String)
Initializes a new instance of the Resource class.
Declaration
public Resource(string name)
Parameters
System.String
name
The name. |
Resource(String, String)
Initializes a new instance of the Resource class.
Declaration
public Resource(string name, string type)
Parameters
System.String
name
The name. |
System.String
type
The type. |
Properties
DisplayName
Gets or sets the display name.
Declaration
public string DisplayName { get; set; }
Property Value
System.String
The display name. |
Implements
ResourceName
Gets or sets the System.String value representing the name of the IResource object.
Declaration
public string ResourceName { get; set; }
Property Value
System.String
|
Implements
ResourceType
Gets or sets the System.String value representing the type of the IResource object.
Declaration
public string ResourceType { get; set; }
Property Value
System.String
|
Implements
Methods
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
The System.Object to compare with this instance. |
Returns
System.Boolean
|
Overrides
Exceptions
System.NullReferenceException
The |
Equals(IResource)
Determines whether the specified IResource is equal to this instance.
Declaration
public bool Equals(IResource other)
Parameters
IResource
other
The IResource to compare with this instance. |
Returns
System.Boolean
|
Implements
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |
Overrides
ToString()
Returns a System.String that represents this instance.
Declaration
public override string ToString()
Returns
System.String
A System.String that represents this instance. |