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

Represents vollection of xpidea.neuro.net.NeuroObject
Inheritance: System.Collections.CollectionBase
Datei anzeigen Open project: AlexCherkasov/Neuro.NET

Public Methods

Method 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.

Protected Methods

Method Description
CreateContainigObject ( ) : NeuroObject

Constucts the object that could be stored in this collection.

Private Methods

Method 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 method

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

Load() public method

public Load ( BinaryReader binaryReader ) : void
binaryReader System.IO.BinaryReader
return void

LoadFromFile() public method

Loads collection from a file.
public LoadFromFile ( string fileName ) : void
fileName string
return void

Save() public method

public Save ( BinaryWriter binaryWriter ) : void
binaryWriter System.IO.BinaryWriter
return void

SaveToFile() public method

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