C# Class SharpArch.Domain.Reflection.TypePropertyDescriptorCache

Inheritance: ITypePropertyDescriptorCache
ファイルを表示 Open project: sharparchitecture/Sharp-Architecture Class Usage Examples

Public Methods

Method Description
Clear ( ) : void

Clears the cache.

GetOrAdd ( Type type, TypePropertyDescriptor>.Func factory ) : TypePropertyDescriptor

Get existing property descriptor or create and cache it.

Private Methods

Method Description
Find ( Type type ) : TypePropertyDescriptor

Method Details

Clear() public method

Clears the cache.
public Clear ( ) : void
return void

GetOrAdd() public method

Get existing property descriptor or create and cache it.
or is .
public GetOrAdd ( Type type, TypePropertyDescriptor>.Func factory ) : TypePropertyDescriptor
type System.Type The type.
factory TypePropertyDescriptor>.Func The factory to create descriptor.
return TypePropertyDescriptor