ApiArgumentHelpers
01 Syntax
SMRUCC.Rsharp.ApiArgumentHelpers
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| slot | 1 | create a slot value reference inside a tuple ApiArgumentHelpers.list()) for construct a new list data |
| GetNamedValueTuple | 1 | create a name tagged value object from a given data source value |
| FileStreamWriter | 1 | open stream for file write |
| GetFileStream | 1 | get a file stream object |
| list | 1 | |
| GetNamedValueTuple | 1 | |
| GetDoubleRange | 1 |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| ReadOnlyRawByteStream | 1 | the memory stream object that construct via the given byte array works in readonly mode! |
04 Members
slot(
String)create a slot value reference inside a tuple ApiArgumentHelpers.list() for construct a new list data
Parameters
| Name | Type | Description |
|---|---|---|
name | String | - |
create a name tagged value object from a given data source value
Type Parameters
| Name | Description |
|---|---|
T |
Parameters
| Name | Type | Description |
|---|---|---|
value | Object | any type of the .NET object |
env | Environment | - |
api | String | the traceback tag |
open stream for file write
Parameters
| Name | Type | Description |
|---|---|---|
file | Environment | - |
write | Object | - |
get a file stream object
Remarks
base on the value of mode, this function has different behaviour:
FileAccess.Readfor a readonly streamFileAccess.ReadWritefor create a stream could be used for write dataFileAccess.Writewill truncate the stream at first!
Parameters
| Name | Type | Description |
|---|---|---|
file | Object | the file resource could be one of the:
|
mode | FileAccess | - |
env | Environment | - |
suppress | Boolean | - |
ReadOnlyRawByteStream
the memory stream object that construct via the given byte array works in readonly mode!
list(
ArgumentReference())