Class ParserExtension
Extensions for ParsingEventBuffer.
Inheritance
System.Object
ParserExtension
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.CustomRoles.API.Features.Extensions
Assembly: Exiled.CustomRoles.dll
Syntax
public static class ParserExtension
Methods
| Improve this Doc View SourceTryFindMappingEntry(ParsingEventBuffer, Func<Scalar, Boolean>, out Scalar, out ParsingEvent)
Tries to find a valid mapping entry.
Declaration
public static bool TryFindMappingEntry(this ParsingEventBuffer parser, Func<Scalar, bool> selector, out Scalar key, out ParsingEvent value)
Parameters
Type | Name | Description |
---|---|---|
ParsingEventBuffer | parser | The ParsingEventBuffer parser. |
System.Func<YamlDotNet.Core.Events.Scalar, System.Boolean> | selector | The selector. |
YamlDotNet.Core.Events.Scalar | key | The key found. |
YamlDotNet.Core.Events.ParsingEvent | value | The value found. |
Returns
Type | Description |
---|---|
System.Boolean | true when a valid mapping entry is found; otherwise, false. |