C# Class LogViewer.XmlPersister

Inheritance: IPersist
Mostrar archivo Open project: Lundalogik/log4net-logviewer Class Usage Examples

Public Methods

Method Description
InsertFile ( string filepath, int max ) : void
RecentFiles ( int max ) : List
RemoveFile ( string filepath, int max ) : void
XmlPersister ( ApplicationAttributes attr ) : System
XmlPersister ( Stream stream ) : System
XmlPersister ( string filepath ) : System

Private Methods

Method Description
CopyExcluding ( List source, string exclude, List target, int max ) : void
Load ( int max ) : List
OpenStream ( FileMode mode ) : SmartStream
Save ( List list, int max ) : void
Update ( string filepath, bool insert, int max ) : void

Method Details

InsertFile() public method

public InsertFile ( string filepath, int max ) : void
filepath string
max int
return void

RecentFiles() public method

public RecentFiles ( int max ) : List
max int
return List

RemoveFile() public method

public RemoveFile ( string filepath, int max ) : void
filepath string
max int
return void

XmlPersister() public method

public XmlPersister ( ApplicationAttributes attr ) : System
attr ApplicationAttributes
return System

XmlPersister() public method

public XmlPersister ( Stream stream ) : System
stream Stream
return System

XmlPersister() public method

public XmlPersister ( string filepath ) : System
filepath string
return System