C# Class TorrentHardLinkHelper.Models.EntityModel

Inheritance: GalaSoft.MvvmLight.ObservableObject
Exibir arquivo Open project: harrywong/torrenthardlinkhelper Class Usage Examples

Protected Properties

Property Type Description
_entities IList
_fullName string
_locked bool
_name string
_type string

Public Methods

Method Description
EntityModel ( ) : System.Collections.Generic
Load ( Torrent torrent ) : EntityModel
Load ( string path ) : EntityModel
Load ( string title, LocateResult result ) : EntityModel
ToString ( ) : string
Update ( EntityModel model, IEnumerable fsFileInfos ) : void

Private Methods

Method Description
FindOrCreateFolder ( FolderModel rootFolder, string path ) : EntityModel

Method Details

EntityModel() public method

public EntityModel ( ) : System.Collections.Generic
return System.Collections.Generic

Load() public static method

public static Load ( Torrent torrent ) : EntityModel
torrent Torrent
return EntityModel

Load() public static method

public static Load ( string path ) : EntityModel
path string
return EntityModel

Load() public static method

public static Load ( string title, LocateResult result ) : EntityModel
title string
result TorrentHardLinkHelper.Locate.LocateResult
return EntityModel

ToString() public method

public ToString ( ) : string
return string

Update() public static method

public static Update ( EntityModel model, IEnumerable fsFileInfos ) : void
model EntityModel
fsFileInfos IEnumerable
return void

Property Details

_entities protected_oe property

protected IList _entities
return IList

_fullName protected_oe property

protected string _fullName
return string

_locked protected_oe property

protected bool _locked
return bool

_name protected_oe property

protected string _name
return string

_type protected_oe property

protected string _type
return string