C# Class SharpArch.Domain.Reflection.TypePropertyDescriptorCache

Inheritance: ITypePropertyDescriptorCache
Afficher le fichier Open project: sharparchitecture/Sharp-Architecture Class Usage Examples

Méthodes publiques

Méthode Description
Clear ( ) : void

Clears the cache.

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

Get existing property descriptor or create and cache it.

Private Methods

Méthode Description
Find ( Type type ) : TypePropertyDescriptor

Method Details

Clear() public méthode

Clears the cache.
public Clear ( ) : void
Résultat void

GetOrAdd() public méthode

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.
Résultat TypePropertyDescriptor