C# Класс OpenSyno.Converters.ImageCachingService

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ImageIdProperty System.Windows.DependencyProperty
SourceProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
OnSaveRequested void
OnSourcePropertyChanged void

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
OnSaveRequested ( EventArgs e ) : void
OnSourcePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Описание методов

GetImageId() публичный статический Метод

public static GetImageId ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Результат string

GetSource() публичный статический Метод

public static GetSource ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
Результат string

ImageCachingService() публичный Метод

public ImageCachingService ( ILogService logService ) : System
logService ILogService
Результат System

Initialize() публичный Метод

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
Результат void

RequestSave() публичный Метод

public RequestSave ( EventArgs e ) : void
e System.EventArgs
Результат void

SetImageId() публичный статический Метод

public static SetImageId ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Результат void

SetSource() публичный статический Метод

public static SetSource ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
Результат void

Описание свойств

ImageIdProperty публичное статическое свойство

public static DependencyProperty,System.Windows ImageIdProperty
Результат System.Windows.DependencyProperty

SourceProperty публичное статическое свойство

public static DependencyProperty,System.Windows SourceProperty
Результат System.Windows.DependencyProperty