TupleSchema
Namespace: FsShelter
DU/Stream schema mapping functions
Nested types and modules
Functions and values
Function or value | Description |
formatInnerCaseName
Signature: UnionCaseInfo -> string
|
format a case using its DisplayNameAttribute or name
|
formatName name _arg1
Signature: name:string -> _arg1:string option -> string
|
Format a field name
|
formatNestedCaseName outer inner
Signature: outer:UnionCaseInfo option -> inner:UnionCaseInfo -> string
|
format a case using its DisplayNameAttribute or name
|
mapSchema ()
Signature: unit -> (string * ((FieldReader -> unit -> 't) * (FieldWriter -> obj -> unit))) []
Type parameters: 't
|
Map descriminated union cases to reader*writer functions
|
mkTick ()
Signature: unit -> 't option
Type parameters: 't
|
|
toNames (case, arg2)
Signature: (case:UnionCaseInfo * '?8100) -> string list
Type parameters: '?8100
|
Map a case to field names
|
toStreamName
Signature: 't -> string
Type parameters: 't
|
Map a case to stream name
|
toTupleRW case nested
Signature: case:UnionCaseInfo -> nested:UnionCaseInfo option -> (FieldReader -> unit -> 't) * (FieldWriter -> obj -> unit)
Type parameters: 't
|
Map a [nested] union case to reader/writer functions
|