C# Class OpenSyno.Converters.ImageCachingService

ファイルを表示 Open project: salfab/open-syno Class Usage Examples

Public Properties

Property Type Description
ImageIdProperty System.Windows.DependencyProperty
SourceProperty System.Windows.DependencyProperty

Private Properties

Property Type Description
OnSaveRequested void
OnSourcePropertyChanged void

Public Methods

Method 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

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

Method Details

GetImageId() public static method

public static GetImageId ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

GetSource() public static method

public static GetSource ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

ImageCachingService() public method

public ImageCachingService ( ILogService logService ) : System
logService ILogService
return System

Initialize() public method

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
return void

RequestSave() public method

public RequestSave ( EventArgs e ) : void
e System.EventArgs
return void

SetImageId() public static method

public static SetImageId ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

SetSource() public static method

public static SetSource ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

Property Details

ImageIdProperty public_oe static_oe property

public static DependencyProperty,System.Windows ImageIdProperty
return System.Windows.DependencyProperty

SourceProperty public_oe static_oe property

public static DependencyProperty,System.Windows SourceProperty
return System.Windows.DependencyProperty