Свойство | Type | Description | |
---|---|---|---|
DefaultDateTimeOffset | DateTimeOffset | ||
DefaultEncoding | |||
NullObject |
Méthode | Description | |
---|---|---|
MockFileData ( byte contents ) : System.Linq |
Initializes a new instance of the MockFileData class with the content of contents.
|
|
MockFileData ( string textContents ) : System.Linq |
Initializes a new instance of the MockFileData class with the content of textContents using the encoding of DefaultEncoding.
|
|
MockFileData ( string textContents, |
Initializes a new instance of the MockFileData class with the content of textContents using the encoding of encoding. The constructor respect the BOM of encoding. |
Méthode | Description | |
---|---|---|
MockFileData ( ) : System.Linq |
Initializes a new instance of the MockFileData class with an empty content.
|
public MockFileData ( byte contents ) : System.Linq | ||
contents | byte | The actual content. |
Résultat | System.Linq |
public MockFileData ( string textContents ) : System.Linq | ||
textContents | string | The textual content encoded into bytes with |
Résultat | System.Linq |
public MockFileData ( string textContents, |
||
textContents | string | The textual content. |
encoding | The specific encoding used the encode the text. | |
Résultat | System.Linq |
public static DateTimeOffset DefaultDateTimeOffset | ||
Résultat | DateTimeOffset |
public static Encoding,System.Text DefaultEncoding | ||
Résultat |