Skip to content

Methods_T_CodeJam_OneOf_7

Andrew Koryavchenko edited this page Jul 4, 2017 · 1 revision

OneOf(T1, T2, T3, T4, T5, T6, T7) Methods

The OneOf(T1, T2, T3, T4, T5, T6, T7) generic type exposes the following members.

Methods

 

Name Description
Public methodStatic member Create(T1) Creates instance of OneOf(T1, T2, T3, T4, T5, T6, T7) for value of type T1.
Public methodStatic member Create(T2) Creates instance of OneOf(T1, T2, T3, T4, T5, T6, T7) for value of type T2.
Public methodStatic member Create(T3) Creates instance of OneOf(T1, T2, T3, T4, T5, T6, T7) for value of type T3.
Public methodStatic member Create(T4) Creates instance of OneOf(T1, T2, T3, T4, T5, T6, T7) for value of type T4.
Public methodStatic member Create(T5) Creates instance of OneOf(T1, T2, T3, T4, T5, T6, T7) for value of type T5.
Public methodStatic member Create(T6) Creates instance of OneOf(T1, T2, T3, T4, T5, T6, T7) for value of type T6.
Public methodStatic member Create(T7) Creates instance of OneOf(T1, T2, T3, T4, T5, T6, T7) for value of type T7.
Public method Do Calls action for actual type argument.
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Overrides Object.Equals(Object).)
Public method Equals(OneOf(T1, T2, T3, T4, T5, T6, T7)) Indicates whether the current object is equal to another object of the same type.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Overrides Object.GetHashCode().)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetValue(TResult) Calls func for actual type argument and returns calculated value.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
  Back to Top

See Also

Reference

OneOf(T1, T2, T3, T4, T5, T6, T7) Class
CodeJam Namespace

Clone this wiki locally