C# Class Com.Aote.ObjectTools.CustomTypes

管理实体类型等信息,这个对象到后台调用服务获取hibernate元数据信息。 把hibernate的元数据信息转换成客户类型信息,进行统一管理。
Inheritance: System.Windows.DependencyObject, ILoadable, IAsyncObject, INotifyPropertyChanged
Mostra file Open project: DuBin1988/restv2 Class Usage Examples

Public Properties

Property Type Description
ErrorProperty System.Windows.DependencyProperty

Public Methods

Method Description
CustomTypes ( ) : System

对象可以在xaml文件中构造,只构造一个对象实例。以后对象可以通过单例模式 进行访问。也可以访问xaml文件中的StaticResource,获得对象。

GetInstance ( ) : CustomTypes
GetType ( string name ) : CustomType

根据名称获取客户类型,如果列表里不存在,创建空客户类型,放到列表中。

Load ( ) : void

开始到后台加载类型信息

OnCompleted ( AsyncCompletedEventArgs args ) : void

提供工作完成事件的通知方法,子类及自身在工作完成后,调用这个方法通知外部工作完成了。

OnDataLoaded ( AsyncCompletedEventArgs args ) : void
OnLoading ( ) : void

Protected Methods

Method Description
OnPropertyChanged ( string info ) : void

Method Details

CustomTypes() public method

对象可以在xaml文件中构造,只构造一个对象实例。以后对象可以通过单例模式 进行访问。也可以访问xaml文件中的StaticResource,获得对象。
public CustomTypes ( ) : System
return System

GetInstance() public static method

public static GetInstance ( ) : CustomTypes
return CustomTypes

GetType() public method

根据名称获取客户类型,如果列表里不存在,创建空客户类型,放到列表中。
public GetType ( string name ) : CustomType
name string 类型名称
return CustomType

Load() public method

开始到后台加载类型信息
public Load ( ) : void
return void

OnCompleted() public method

提供工作完成事件的通知方法,子类及自身在工作完成后,调用这个方法通知外部工作完成了。
public OnCompleted ( AsyncCompletedEventArgs args ) : void
args System.ComponentModel.AsyncCompletedEventArgs
return void

OnDataLoaded() public method

public OnDataLoaded ( AsyncCompletedEventArgs args ) : void
args System.ComponentModel.AsyncCompletedEventArgs
return void

OnLoading() public method

public OnLoading ( ) : void
return void

OnPropertyChanged() protected method

protected OnPropertyChanged ( string info ) : void
info string
return void

Property Details

ErrorProperty public_oe static_oe property

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