GenericClass(T1, T2) Class

Sandcastle XML Comments

Sandcastle XML Comments GuideGenericClassT1, T2 Class
This class is used to demonstrate the various XML comments elements related to generics. It serves no useful purpose.
Inheritance Hierarchy
SystemObject  XMLCommentsExamplesGenericClassT1, T2

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
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.

Constructors
  NameDescription
Public methodGenericClassT1, T2
Initializes a new instance of the GenericClassT1, T2 class
Top
Properties
  NameDescription
Public propertyProperty
This is a property that gets or sets an instance of the type specified by the generic type argument T1.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGenericMethodT3, T4
This is a generic method that takes two other generic types
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMethod
This is a method with an argument.
Protected methodOnSomethingHappened
This is a protected virtual method used to raise the SomethingHappened event.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventSomethingHappened
This is an event that takes a generic argument.
Top
See Also