-
Notifications
You must be signed in to change notification settings - Fork 35
Methods_T_CodeJam_OneOf_2
Andrew Koryavchenko edited this page Jul 4, 2017
·
1 revision
The OneOf(T1, T2) generic type exposes the following members.
Name | Description | |
---|---|---|
Create(T1) | Creates instance of OneOf(T1, T2) for value of type T1. | |
Create(T2) | Creates instance of OneOf(T1, T2) for value of type T2. | |
Do | Calls action for actual type argument. | |
Equals(Object) | Determines whether the specified object is equal to the current object. (Overrides Object.Equals(Object).) | |
Equals(OneOf(T1, T2)) | Indicates whether the current object is equal to another object of the same type. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Overrides Object.GetHashCode().) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue(TResult) | Calls func for actual type argument and returns calculated value. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |