Sandcastle XML Comments Guide
![]() | GenericClassT1, T2 Class |
This class is used to demonstrate the various XML comments elements
related to generics. It serves no useful purpose.

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0

public class GenericClass<T1, T2> where T2 : EventArgs
Public Class GenericClass(Of T1, T2 As EventArgs)
generic<typename T1, typename T2> where T2 : EventArgs public ref class GenericClass
type GenericClass<'T1, 'T2 when 'T2 : EventArgs> = class end
Type Parameters
- T1
- This is the first generic argument.
- T2
- This is the second generic argument constrained to be or derive from EventArgs.
The GenericClassT1, T2 type exposes the following members.

Name | Description | |
---|---|---|
![]() | GenericClassT1, T2 | Initializes a new instance of the GenericClassT1, T2 class |

Name | Description | |
---|---|---|
![]() | Property |
This is a property that gets or sets an instance of the type specified
by the generic type argument T1.
|

Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows 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
|
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates 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.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |

Name | Description | |
---|---|---|
![]() | SomethingHappened |
This is an event that takes a generic argument.
|
