MemberModel<T>.Implicit Operator

Namespace
Kampute.DocToolkit.Models
Assembly
  • Kampute.DocToolkit.dll

Definition

Defines an implicit conversion from MemberModel<T> to T, which is the underlying metadata type.
[return: NotNullIfNotNull("model")]
public static implicit operator T(MemberModel<T> model)

Parameters

model MemberModel<T>
The MemberModel<T> instance to convert.

Returns

T
The underlying metadata of type T, or null if the model is null.