C# Class System.Resources.ResourceWriter

Inheritance: IResourceWriter
Afficher le fichier Open project: dotnet/corefx Class Usage Examples

Méthodes publiques

Méthode Description
AddResource ( string name, Stream value ) : void
AddResource ( string name, Stream value, bool closeAfterWrite ) : void
AddResource ( string name, System value ) : void
AddResource ( string name, System value, bool closeAfterWrite ) : void
AddResource ( string name, byte value ) : void
AddResource ( string name, object value ) : void
AddResource ( string name, string value ) : void
AddResourceData ( string name, string typeName, byte serializedData ) : void
Close ( ) : void
Dispose ( ) : void
Generate ( ) : void
ResourceWriter ( System stream )
ResourceWriter ( string fileName )
ResourceWriter ( Stream stream ) : System
ResourceWriter ( string fileName ) : System

Private Methods

Méthode Description
AddResourceInternal ( string name, Stream value, bool closeAfterWrite ) : void
Dispose ( bool disposing ) : void
FindTypeCode ( object value, List types ) : ResourceTypeCode
Write7BitEncodedInt ( BinaryWriter store, int value ) : void
WriteValue ( ResourceTypeCode typeCode, object value, BinaryWriter writer ) : void

Method Details

AddResource() public méthode

public AddResource ( string name, Stream value ) : void
name string
value Stream
Résultat void

AddResource() public méthode

public AddResource ( string name, Stream value, bool closeAfterWrite ) : void
name string
value Stream
closeAfterWrite bool
Résultat void

AddResource() public méthode

public AddResource ( string name, System value ) : void
name string
value System
Résultat void

AddResource() public méthode

public AddResource ( string name, System value, bool closeAfterWrite ) : void
name string
value System
closeAfterWrite bool
Résultat void

AddResource() public méthode

public AddResource ( string name, byte value ) : void
name string
value byte
Résultat void

AddResource() public méthode

public AddResource ( string name, object value ) : void
name string
value object
Résultat void

AddResource() public méthode

public AddResource ( string name, string value ) : void
name string
value string
Résultat void

AddResourceData() public méthode

public AddResourceData ( string name, string typeName, byte serializedData ) : void
name string
typeName string
serializedData byte
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Generate() public méthode

public Generate ( ) : void
Résultat void

ResourceWriter() public méthode

public ResourceWriter ( System stream )
stream System

ResourceWriter() public méthode

public ResourceWriter ( string fileName )
fileName string

ResourceWriter() public méthode

public ResourceWriter ( Stream stream ) : System
stream Stream
Résultat System

ResourceWriter() public méthode

public ResourceWriter ( string fileName ) : System
fileName string
Résultat System