C# Class Zetbox.API.Mocks.TestDataObjectImpl

Inheritance: IDataObject, ICloneable, INotifyPropertyChanged, TestDataObject
Datei anzeigen Open project: daszat/zetbox Class Usage Examples

Public Properties

Property Type Description
TestField string

Private Properties

Property Type Description
System int
this stringIDataErrorInfo.System

Public Methods

Method Description
ApplyChangesFrom ( IPersistenceObject obj ) : void

Applies changes from another IPersistenceObject of the same interface type.

AttachToContext ( IZetboxContext ctx, Func lazyFrozenContext ) : void
Clone ( ) : object
CopyTo ( IDataObject obj ) : void
DetachFromContext ( IZetboxContext ctx ) : void
Equals ( object obj ) : bool
FromStream ( ZetboxStreamReader sr ) : IEnumerable
GetAttributes ( ) : AttributeCollection
GetClassName ( ) : string
GetComponentName ( ) : string
GetConverter ( ) : TypeConverter
GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
GetDefaultProperty ( ) : PropertyDescriptor
GetEditor ( Type editorBaseType ) : object
GetEvents ( ) : EventDescriptorCollection
GetEvents ( Attribute attributes ) : EventDescriptorCollection
GetHashCode ( ) : int
GetImplementedInterface ( ) : Type
GetProperties ( ) : PropertyDescriptorCollection
GetProperties ( Attribute attributes ) : PropertyDescriptorCollection
GetPropertyOwner ( PropertyDescriptor pd ) : object
IsInitialized ( string propName ) : bool
NotifyCreated ( ) : void
NotifyDeleting ( ) : void
NotifyPostSave ( ) : void
NotifyPreSave ( ) : void
NotifyPropertyChanged ( string property, object oldValue, object newValue ) : void
NotifyPropertyChanging ( string property, object oldValue, object newValue ) : void
Recalculate ( string propName ) : void
ReloadReferences ( ) : void
ToStream ( ZetboxStreamWriter sw, HashSet auxObjects, bool eagerLoadLists ) : void
TriggerFetch ( string propName ) : ZbTask
UpdateParent ( string propertyName, IDataObject parentObj ) : void
Validate ( ) : ObjectIsValidResult

Private Methods

Method Description
System ( object other ) : int
this ( string columnName ) : stringIDataErrorInfo.System

Method Details

ApplyChangesFrom() public method

Applies changes from another IPersistenceObject of the same interface type.
public ApplyChangesFrom ( IPersistenceObject obj ) : void
obj IPersistenceObject
return void

AttachToContext() public method

public AttachToContext ( IZetboxContext ctx, Func lazyFrozenContext ) : void
ctx IZetboxContext
lazyFrozenContext Func
return void

Clone() public method

public Clone ( ) : object
return object

CopyTo() public method

public CopyTo ( IDataObject obj ) : void
obj IDataObject
return void

DetachFromContext() public method

public DetachFromContext ( IZetboxContext ctx ) : void
ctx IZetboxContext
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

FromStream() public method

public FromStream ( ZetboxStreamReader sr ) : IEnumerable
sr ZetboxStreamReader
return IEnumerable

GetAttributes() public method

public GetAttributes ( ) : AttributeCollection
return System.ComponentModel.AttributeCollection

GetClassName() public method

public GetClassName ( ) : string
return string

GetComponentName() public method

public GetComponentName ( ) : string
return string

GetConverter() public method

public GetConverter ( ) : TypeConverter
return System.ComponentModel.TypeConverter

GetDefaultEvent() public method

public GetDefaultEvent ( ) : System.ComponentModel.EventDescriptor
return System.ComponentModel.EventDescriptor

GetDefaultProperty() public method

public GetDefaultProperty ( ) : PropertyDescriptor
return System.ComponentModel.PropertyDescriptor

GetEditor() public method

public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type
return object

GetEvents() public method

public GetEvents ( ) : EventDescriptorCollection
return System.ComponentModel.EventDescriptorCollection

GetEvents() public method

public GetEvents ( Attribute attributes ) : EventDescriptorCollection
attributes System.Attribute
return System.ComponentModel.EventDescriptorCollection

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetImplementedInterface() public method

public GetImplementedInterface ( ) : Type
return System.Type

GetProperties() public method

public GetProperties ( ) : PropertyDescriptorCollection
return System.ComponentModel.PropertyDescriptorCollection

GetProperties() public method

public GetProperties ( Attribute attributes ) : PropertyDescriptorCollection
attributes System.Attribute
return System.ComponentModel.PropertyDescriptorCollection

GetPropertyOwner() public method

public GetPropertyOwner ( PropertyDescriptor pd ) : object
pd System.ComponentModel.PropertyDescriptor
return object

IsInitialized() public method

public IsInitialized ( string propName ) : bool
propName string
return bool

NotifyCreated() public method

public NotifyCreated ( ) : void
return void

NotifyDeleting() public method

public NotifyDeleting ( ) : void
return void

NotifyPostSave() public method

public NotifyPostSave ( ) : void
return void

NotifyPreSave() public method

public NotifyPreSave ( ) : void
return void

NotifyPropertyChanged() public method

public NotifyPropertyChanged ( string property, object oldValue, object newValue ) : void
property string
oldValue object
newValue object
return void

NotifyPropertyChanging() public method

public NotifyPropertyChanging ( string property, object oldValue, object newValue ) : void
property string
oldValue object
newValue object
return void

Recalculate() public method

public Recalculate ( string propName ) : void
propName string
return void

ReloadReferences() public method

public ReloadReferences ( ) : void
return void

ToStream() public method

public ToStream ( ZetboxStreamWriter sw, HashSet auxObjects, bool eagerLoadLists ) : void
sw ZetboxStreamWriter
auxObjects HashSet
eagerLoadLists bool
return void

TriggerFetch() public method

public TriggerFetch ( string propName ) : ZbTask
propName string
return ZbTask

UpdateParent() public method

public UpdateParent ( string propertyName, IDataObject parentObj ) : void
propertyName string
parentObj IDataObject
return void

Validate() public method

public Validate ( ) : ObjectIsValidResult
return ObjectIsValidResult

Property Details

TestField public_oe property

public string TestField
return string