/// <inheritdoc/>
 protected override void Read(ref ParseContext parser)
 {
     SourceValue = (TEnum)Enum.ToObject(typeof(TEnum), _CodeGenerator.ReadValue(ref parser));
 }
 /// <inheritdoc/>
 protected override void Read(ref ParseContext parser)
 {
     SourceValue = _CodeGenerator.ReadValue(ref parser);
 }
Esempio n. 3
0
 /// <inheritdoc/>
 protected override T?ReadValue(ref ParseContext parser)
 {
     return(_codeGenerator.ReadValue(ref parser));
 }