GenericClassT1, T2 Class

This class is used to demonstrate the various XML comments elements related to generics. It serves no useful purpose.

Definition

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
public class GenericClass<T1, T2>
where T2 : EventArgs
Inheritance
Object    GenericClassT1, T2

Type Parameters

T1
This is the first generic argument.
T2
This is the second generic argument constrained to be or derive from EventArgs.

Constructors

GenericClassT1, T2Initializes a new instance of the GenericClassT1, T2 class

Properties

Property This is a property that gets or sets an instance of the type specified by the generic type argument T1.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GenericMethodT3, T4 This is a generic method that takes two other generic types
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Method This is a method with an argument.
OnSomethingHappened This is a protected virtual method used to raise the SomethingHappened event.
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

SomethingHappened This is an event that takes a generic argument.

See Also