Click or drag to resize

StateFile Methods

The StateFile type exposes the following members.

Methods
  Name Description
Public method Close Closes the file.
(Inherited from IsamDataFileBaseT)
Protected method CreateNewRecord Creates a new StateRecord with the specified recordIndex.
(Overrides IsamDataFileBaseTCreateNewRecord(Int32))
Public method Dispose Releases all the resources used by the file.
(Inherited from IsamDataFileBaseT)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the file and optionally releases the managed resources.
(Inherited from IsamDataFileBaseT)
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Releases the unmanaged resources before the file is reclaimed by GC.
(Inherited from IsamDataFileBaseT)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Protected method GetRecordSize Gets the binary size of a StateRecord.
(Overrides IsamDataFileBaseTGetRecordSize)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method Initialize Initializes the file.
(Inherited from IsamDataFileBaseT)
Public method Load Loads records from disk into memory.
(Inherited from IsamDataFileBaseT)
Public method LoadSettings Loads saved settings of the file from the config file if the PersistSettings property is set to true.
(Inherited from IsamDataFileBaseT)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method OnDataLoaded Raises the DataLoaded event.
(Inherited from IsamDataFileBaseT)
Protected method OnDataLoading Raises the DataLoading event.
(Inherited from IsamDataFileBaseT)
Protected method OnDataSaved Raises the DataSaved event.
(Inherited from IsamDataFileBaseT)
Protected method OnDataSaving Raises the DataSaving event.
(Inherited from IsamDataFileBaseT)
Protected method OnFileModified Raises the FileModified event.
(Inherited from IsamDataFileBaseT)
Public method Open Opens the file.
(Inherited from IsamDataFileBaseT)
Public method Read Reads file records from disk if records were not loaded in memory otherwise returns the records in memory.
(Inherited from IsamDataFileBaseT)
Public method Read(Int32) Reads specified file record from disk if records were not loaded in memory otherwise returns the record in memory.
(Inherited from IsamDataFileBaseT)
Public method Save Saves records loaded in memory to disk.
(Inherited from IsamDataFileBaseT)
Public method SaveSettings Saves settings of the file to the config file if the PersistSettings property is set to true.
(Inherited from IsamDataFileBaseT)
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method Write(IEnumerableT) Writes specified records to disk if records were not loaded in memory otherwise updates the records in memory.
(Inherited from IsamDataFileBaseT)
Public method Write(Int32, T) Writes specified record to disk if records were not loaded in memory otherwise updates the record in memory.
(Inherited from IsamDataFileBaseT)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also