QsNullable<T> Struct

Definition

[Microsoft.FSharp.Core.CompilationMapping(Microsoft.FSharp.Core.SourceConstructFlags.SumType)]
[Microsoft.FSharp.Core.Struct]
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.DiscriminatedUnionConverter))]
[System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")]
[System.Serializable]
public struct QsNullable<T> : IComparable, IComparable<Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<T>>, IEquatable<Microsoft.Quantum.QsCompiler.DataTypes.QsNullable<T>>, System.Collections.Generic.IEnumerable<T>, System.Collections.IStructuralComparable, System.Collections.IStructuralEquatable
[<Microsoft.FSharp.Core.CompilationMapping(Microsoft.FSharp.Core.SourceConstructFlags.SumType)>]
[<Microsoft.FSharp.Core.Struct>]
[<Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.DiscriminatedUnionConverter))>]
[<System.Diagnostics.DebuggerDisplay("{__DebugDisplay(),nq}")>]
[<System.Serializable>]
type QsNullable<'T> = 
Public Structure QsNullable(Of T)
Implements IComparable, IComparable(Of QsNullable(Of T)), IEnumerable(Of T), IEquatable(Of QsNullable(Of T)), IStructuralComparable, IStructuralEquatable

Type Parameters

T
Inheritance
QsNullable<T>
Attributes
Microsoft.FSharp.Core.CompilationMappingAttribute Microsoft.FSharp.Core.StructAttribute Newtonsoft.Json.JsonConverterAttribute DebuggerDisplayAttribute SerializableAttribute
Implements

Properties

IsNull
IsValue
Item
Null
Tag

Methods

Bind<a,b>(FSharpFunc<a,QsNullable<b>>)
Choose<a,b>(FSharpFunc<a,QsNullable<b>>, IEnumerable<a>)
CompareTo(Object)
CompareTo(Object, IComparer)
CompareTo(QsNullable<T>)
Equals(Object)
Equals(Object, IEqualityComparer)
Equals(QsNullable<T>)
Fold<a,b>(FSharpFunc<a,FSharpFunc<b,a>>, a)
GetHashCode()
GetHashCode(IEqualityComparer)
Iter<a>(FSharpFunc<a,Unit>)
Map<a,b>(FSharpFunc<a,b>)
Map<a>(Func<T,a>)
NewValue(T)
ToString()
ValueOr(T)
ValueOrApply(FSharpFunc<Unit,T>)

Extension Methods

IsInAscendingOrder<TElement>(IEnumerable<TElement>, IComparer<TElement>)
Partition<T>(IEnumerable<T>, Func<T,Boolean>)

Partitions collection into the elements for which predicate returns true and those for which it returns false.

Applies to