Skip to content

Methods_T_CodeJam_ValueOneOf_6

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

ValueOneOf(T1, T2, T3, T4, T5, T6) Methods

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

Methods

 

Name Description
Public methodStatic member Create(T1) Creates instance of OneOf(T1, T2, T3, T4, T5, T6) for value of type T1.
Public methodStatic member Create(T2) Creates instance of OneOf(T1, T2, T3, T4, T5, T6) for value of type T2.
Public methodStatic member Create(T3) Creates instance of OneOf(T1, T2, T3, T4, T5, T6) for value of type T3.
Public methodStatic member Create(T4) Creates instance of OneOf(T1, T2, T3, T4, T5, T6) for value of type T4.
Public methodStatic member Create(T5) Creates instance of OneOf(T1, T2, T3, T4, T5, T6) for value of type T5.
Public methodStatic member Create(T6) Creates instance of OneOf(T1, T2, T3, T4, T5, T6) for value of type T6.
Public method Do Calls action for actual type argument.
Public method Equals(Object) Indicates whether this instance and a specified object are equal. (Overrides ValueType.Equals(Object).)
Public method Equals(ValueOneOf(T1, T2, T3, T4, T5, T6)) Indicates whether the current object is equal to another object of the same type.
Public method GetHashCode Returns the hash code for this instance. (Overrides ValueType.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.
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)
  Back to Top

See Also

Reference

ValueOneOf(T1, T2, T3, T4, T5, T6) Structure
CodeJam Namespace

Clone this wiki locally