C# Класс Zetbox.App.Calendar.WorkScheduleMemoryImpl

Наследование: Zetbox.DalProvider.Memory.DataObjectMemoryImpl, WorkSchedule, Zetbox.API.IExportableInternal
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
GetOffDays int
GetWorkingDays int
GetWorkingHours decimal
NotifyCreated void
NotifyDeleting void
NotifyPostSave void
NotifyPreSave void
ObjectIsValid ObjectIsValidResult
OnChildWorkScheduleCollectionChanged void
OnWorkScheduleRulesCollectionChanged void
ToString string
WorkScheduleMemoryImpl System
_InitializePropertyDescriptors void

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

Метод Описание
ApplyChangesFrom ( IPersistenceObject obj ) : void
Export ( System xml, string modules ) : void
FromStream ( Zetbox binStream ) : IEnumerable
GetImplementedInterface ( ) : Type
MergeImport ( System xml ) : void
ReloadReferences ( ) : void
SetNew ( ) : void
ToStream ( Zetbox binStream, HashSet auxObjects, bool eagerLoadLists ) : void
TriggerFetch ( string propName ) : Zetbox.API.Async.ZbTask
TriggerFetchBaseWorkScheduleAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchChangedByAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchChildWorkScheduleAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchCreatedByAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchModuleAsync ( ) : Zetbox.API.Async.ZbTask
TriggerFetchWorkScheduleRulesAsync ( ) : Zetbox.API.Async.ZbTask
UpdateParent ( string propertyName, IDataObject parentObj ) : void
WorkScheduleMemoryImpl ( Func lazyCtx ) : System

Защищенные методы

Метод Описание
CollectProperties ( Func lazyCtx, List props ) : void
OnPropertyChanged ( string property, object oldValue, object newValue ) : void
ShouldSetModified ( string property ) : bool

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

Метод Описание
GetOffDays ( System.DateTime from, System.DateTime until ) : int
GetWorkingDays ( System.DateTime from, System.DateTime until ) : int
GetWorkingHours ( System.DateTime from, System.DateTime until ) : decimal
NotifyCreated ( ) : void
NotifyDeleting ( ) : void
NotifyPostSave ( ) : void
NotifyPreSave ( ) : void
ObjectIsValid ( ) : ObjectIsValidResult
OnChildWorkScheduleCollectionChanged ( ) : void
OnWorkScheduleRulesCollectionChanged ( ) : void
ToString ( ) : string
WorkScheduleMemoryImpl ( ) : System
_InitializePropertyDescriptors ( Func lazyCtx ) : void

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

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

public ApplyChangesFrom ( IPersistenceObject obj ) : void
obj IPersistenceObject
Результат void

CollectProperties() защищенный Метод

protected CollectProperties ( Func lazyCtx, List props ) : void
lazyCtx Func
props List
Результат void

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

public Export ( System xml, string modules ) : void
xml System
modules string
Результат void

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

public FromStream ( Zetbox binStream ) : IEnumerable
binStream Zetbox
Результат IEnumerable

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

public GetImplementedInterface ( ) : Type
Результат System.Type

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

public MergeImport ( System xml ) : void
xml System
Результат void

OnPropertyChanged() защищенный Метод

protected OnPropertyChanged ( string property, object oldValue, object newValue ) : void
property string
oldValue object
newValue object
Результат void

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

public ReloadReferences ( ) : void
Результат void

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

public SetNew ( ) : void
Результат void

ShouldSetModified() защищенный Метод

protected ShouldSetModified ( string property ) : bool
property string
Результат bool

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

public ToStream ( Zetbox binStream, HashSet auxObjects, bool eagerLoadLists ) : void
binStream Zetbox
auxObjects HashSet
eagerLoadLists bool
Результат void

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

public TriggerFetch ( string propName ) : Zetbox.API.Async.ZbTask
propName string
Результат Zetbox.API.Async.ZbTask

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

public TriggerFetchBaseWorkScheduleAsync ( ) : Zetbox.API.Async.ZbTask
Результат Zetbox.API.Async.ZbTask

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

public TriggerFetchChangedByAsync ( ) : Zetbox.API.Async.ZbTask
Результат Zetbox.API.Async.ZbTask

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

public TriggerFetchChildWorkScheduleAsync ( ) : Zetbox.API.Async.ZbTask
Результат Zetbox.API.Async.ZbTask

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

public TriggerFetchCreatedByAsync ( ) : Zetbox.API.Async.ZbTask
Результат Zetbox.API.Async.ZbTask

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

public TriggerFetchModuleAsync ( ) : Zetbox.API.Async.ZbTask
Результат Zetbox.API.Async.ZbTask

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

public TriggerFetchWorkScheduleRulesAsync ( ) : Zetbox.API.Async.ZbTask
Результат Zetbox.API.Async.ZbTask

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

public UpdateParent ( string propertyName, IDataObject parentObj ) : void
propertyName string
parentObj IDataObject
Результат void

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

public WorkScheduleMemoryImpl ( Func lazyCtx ) : System
lazyCtx Func
Результат System