C# Class OpenSyno.Converters.ImageCachingService

Afficher le fichier Open project: salfab/open-syno Class Usage Examples

Méthodes publiques

Свойство Type Description
ImageIdProperty System.Windows.DependencyProperty
SourceProperty System.Windows.DependencyProperty

Private Properties

Свойство Type Description
OnSaveRequested void
OnSourcePropertyChanged void

Méthodes publiques

Méthode Description
GetImageId ( DependencyObject obj ) : string
GetSource ( DependencyObject obj ) : string
ImageCachingService ( ILogService logService ) : System
Initialize ( ) : void

Initializes this instance.

When the service gets deserialized, the constructor doesn't get called, therefore, this method can be called after deserialization in order to initialize the private non-persisted internals.

RequestSave ( EventArgs e ) : void
SetImageId ( DependencyObject obj, string value ) : void
SetSource ( DependencyObject obj, string value ) : void

Private Methods

Méthode Description
OnSaveRequested ( EventArgs e ) : void
OnSourcePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetImageId() public static méthode

public static GetImageId ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Résultat string

GetSource() public static méthode

public static GetSource ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Résultat string

ImageCachingService() public méthode

public ImageCachingService ( ILogService logService ) : System
logService ILogService
Résultat System

Initialize() public méthode

Initializes this instance.
When the service gets deserialized, the constructor doesn't get called, therefore, this method can be called after deserialization in order to initialize the private non-persisted internals.
public Initialize ( ) : void
Résultat void

RequestSave() public méthode

public RequestSave ( EventArgs e ) : void
e System.EventArgs
Résultat void

SetImageId() public static méthode

public static SetImageId ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Résultat void

SetSource() public static méthode

public static SetSource ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Résultat void

Property Details

ImageIdProperty public_oe static_oe property

public static DependencyProperty,System.Windows ImageIdProperty
Résultat System.Windows.DependencyProperty

SourceProperty public_oe static_oe property

public static DependencyProperty,System.Windows SourceProperty
Résultat System.Windows.DependencyProperty