Class
ResultJsonConverterFactory
class ResultJsonConverterFactory
Namespace: System
Assembly: Raven.Core.dll
Source file: Result.rvn
Inheritance: Object → JsonConverter → JsonConverterFactory → ResultJsonConverterFactory
Creates JSON converters for constructed Result types.
Constructors
1 item
ResultJsonConverterFactory()
Creates JSON converters for constructed `Result` types.
Properties
1 item
Type: Type?
Gets the type being converted by the current converter instance.
Inherited from JsonConverterFactory.Type
Methods
6 items
CanConvert(typeToConvert: Type) -> bool
Determines whether the specified type is a `Result` type.
Overrides JsonConverter.CanConvert
CreateConverter(typeToConvert: Type, options: JsonSerializerOptions) -> JsonConverter?
Creates a converter for the specified constructed `Result` type.
Overrides JsonConverterFactory.CreateConverter
Equals(obj: object?) -> bool
Determines whether the specified object is equal to the current object.
Inherited from Object.Equals
GetHashCode() -> int
Serves as the default hash function.
Inherited from Object.GetHashCode
GetType() -> Type
Gets the System.Type of the current instance.
Inherited from Object.GetType
ToString() -> string?
Returns a string that represents the current object.
Inherited from Object.ToString
Operators
1 item
Static extension member:
implicit conversion<T>(value: ResultJsonConverterFactory?) -> Optional<ResultJsonConverterFactory>
Converts a nullable reference to `Some`, or to `None` when it is `null`.
Extension from OptionalExtensions1<T>.op_Implicit