Open sandboxFocus

Struct TemplateProvider

Wraps a template provider type or instance.

Namespace: Metalama.Framework.Aspects
Assembly: Metalama.Framework.dll
Syntax
[CompileTime]
public readonly struct TemplateProvider : IEquatable<TemplateProvider>

Properties

Name Description
IsNull

Methods

Name Description
Equals(TemplateProvider)
Equals(object)
FromInstance(ITemplateProvider?)

Creates a TemplateProvider from an object instance.

FromInstanceUnsafe(object?)
FromType<T>()

Creates a TemplateProvider from a type.

GetHashCode()
ToString()

Operators

Name Description
operator ==(TemplateProvider, TemplateProvider)
operator !=(TemplateProvider, TemplateProvider)