C# Class xpidea.neuro.net.patterns.NeuroObjectCollection

Represents vollection of xpidea.neuro.net.NeuroObject
Inheritance: System.Collections.CollectionBase
Afficher le fichier Open project: AlexCherkasov/Neuro.NET

Méthodes publiques

Méthode Description
Load ( BinaryReader binaryReader ) : void

LoadFromFile ( string fileName ) : void

Loads collection from a file.

Save ( BinaryWriter binaryWriter ) : void

SaveToFile ( string fileName ) : void

Stores collection of the objectects into a file in a binary format.

Méthodes protégées

Méthode Description
CreateContainigObject ( ) : NeuroObject

Constucts the object that could be stored in this collection.

Private Methods

Méthode Description
NeuroObjectCollection ( ) : System

Creates the collection.

NeuroObjectCollection ( string fileName ) : System

Constructor. Creates the collection and loads content from a file.

Method Details

CreateContainigObject() protected abstract méthode

Constucts the object that could be stored in this collection.
protected abstract CreateContainigObject ( ) : NeuroObject
Résultat NeuroObject

Load() public méthode

public Load ( BinaryReader binaryReader ) : void
binaryReader System.IO.BinaryReader
Résultat void

LoadFromFile() public méthode

Loads collection from a file.
public LoadFromFile ( string fileName ) : void
fileName string
Résultat void

Save() public méthode

public Save ( BinaryWriter binaryWriter ) : void
binaryWriter System.IO.BinaryWriter
Résultat void

SaveToFile() public méthode

Stores collection of the objectects into a file in a binary format.
public SaveToFile ( string fileName ) : void
fileName string File name.
Résultat void