C# Class TESVSnip.Domain.Model.BaseRecord

Inheritance: TESVSnip.Framework.Persistence.PersistObject, ICloneable, ISerializable, IRecord
Afficher le fichier Open project: figment/tesvsnip Class Usage Examples

Private Properties

Свойство Type Description
GetIDs List
ICloneable object
SaveData void

Méthodes publiques

Méthode Description
AddRecord ( BaseRecord br ) : void
AddRecords ( IEnumerable br ) : void
Clone ( ) : BaseRecord
Clone ( bool recursive ) : BaseRecord
DeleteRecord ( BaseRecord br ) : bool
DeleteRecords ( IEnumerable br ) : bool
Enumerate ( ) : IEnumerable
Enumerate ( Predicate match ) : IEnumerable
ForEach ( Action action ) : void
IndexOf ( BaseRecord br ) : int
InsertRecord ( int index, BaseRecord br ) : void
InsertRecords ( int index, IEnumerable br ) : void
SetDescription ( string value ) : void
ToString ( ) : string
UpdateShortDescription ( ) : void
While ( Predicate action ) : bool

Méthodes protégées

Méthode Description
BaseRecord ( ) : System
BaseRecord ( SerializationInfo info, StreamingContext context ) : System
FireRecordChangeUpdate ( object sender, BaseRecord rec ) : void
FireRecordDeleted ( object sender, BaseRecord rec ) : void
FireRecordListUpdate ( object sender, BaseRecord rec ) : void
ReadRecName ( BinaryReader br ) : string
ReadRecName ( byte rec ) : string
WriteString ( BinaryWriter bw, string s ) : void

Private Methods

Méthode Description
GetIDs ( bool lower ) : List
ICloneable ( ) : object
SaveData ( BinaryWriter writer ) : void

Method Details

AddRecord() public abstract méthode

public abstract AddRecord ( BaseRecord br ) : void
br BaseRecord
Résultat void

AddRecords() public méthode

public AddRecords ( IEnumerable br ) : void
br IEnumerable
Résultat void

BaseRecord() protected méthode

protected BaseRecord ( ) : System
Résultat System

BaseRecord() protected méthode

protected BaseRecord ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo
context System.Runtime.Serialization.StreamingContext
Résultat System

Clone() public abstract méthode

public abstract Clone ( ) : BaseRecord
Résultat BaseRecord

Clone() public méthode

public Clone ( bool recursive ) : BaseRecord
recursive bool
Résultat BaseRecord

DeleteRecord() public abstract méthode

public abstract DeleteRecord ( BaseRecord br ) : bool
br BaseRecord
Résultat bool

DeleteRecords() public méthode

public DeleteRecords ( IEnumerable br ) : bool
br IEnumerable
Résultat bool

Enumerate() public méthode

public Enumerate ( ) : IEnumerable
Résultat IEnumerable

Enumerate() public méthode

public Enumerate ( Predicate match ) : IEnumerable
match Predicate
Résultat IEnumerable

FireRecordChangeUpdate() protected static méthode

protected static FireRecordChangeUpdate ( object sender, BaseRecord rec ) : void
sender object
rec BaseRecord
Résultat void

FireRecordDeleted() protected static méthode

protected static FireRecordDeleted ( object sender, BaseRecord rec ) : void
sender object
rec BaseRecord
Résultat void

FireRecordListUpdate() protected static méthode

protected static FireRecordListUpdate ( object sender, BaseRecord rec ) : void
sender object
rec BaseRecord
Résultat void

ForEach() public méthode

public ForEach ( Action action ) : void
action Action
Résultat void

IndexOf() public méthode

public IndexOf ( BaseRecord br ) : int
br BaseRecord
Résultat int

InsertRecord() public méthode

public InsertRecord ( int index, BaseRecord br ) : void
index int
br BaseRecord
Résultat void

InsertRecords() public méthode

public InsertRecords ( int index, IEnumerable br ) : void
index int
br IEnumerable
Résultat void

ReadRecName() protected static méthode

protected static ReadRecName ( BinaryReader br ) : string
br System.IO.BinaryReader
Résultat string

ReadRecName() protected static méthode

protected static ReadRecName ( byte rec ) : string
rec byte
Résultat string

SetDescription() public méthode

public SetDescription ( string value ) : void
value string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

UpdateShortDescription() public méthode

public UpdateShortDescription ( ) : void
Résultat void

While() public méthode

public While ( Predicate action ) : bool
action Predicate
Résultat bool

WriteString() protected static méthode

protected static WriteString ( BinaryWriter bw, string s ) : void
bw System.IO.BinaryWriter
s string
Résultat void