Open sandboxFocus

Interface IObjectReaderFactory

Creates an IObjectReader that reads the names and values of an object, as Metalama reads the args and tags of an advice. Extensions use it to accept arguments in the same forms.

Namespace: Metalama.Framework.Services
Assembly: Metalama.Framework.dll
Syntax
public interface IObjectReaderFactory : IProjectService, IService
Remarks

Get the service from ServiceProvider, for instance declaration.Compilation.Project.ServiceProvider.

Methods

Name Description
GetReader(object?)

Returns an IObjectReader for an object.

Extension Methods