Skip to content

DefaultImplicitBehaviorRegistry class

namespace: Serenity.Services   assembly: Serenity.Net.Services

Default implementation for the IImplicitBehaviorRegistry

public class DefaultImplicitBehaviorRegistry : IDisposable, IImplicitBehaviorRegistry

Public Members

name description
DefaultImplicitBehaviorRegistry(…) Initializes a new instance of the class.
Dispose()
GetTypes()

Remarks

Scans the ITypeSource lazily on first use and caches the concrete IImplicitBehavior types. When the type source also implements IChangeTokenProvider, the cache is reset whenever its change token fires, e.g. when dynamic assemblies or feature toggles change, and rebuilt on next use. A failed scan is not cached, so a later call retries it.

See Also