Edit

Share via


OrleansGeneratedCodeHelper Class

Definition

Utilities for use by generated code.

public static class OrleansGeneratedCodeHelper
type OrleansGeneratedCodeHelper = class
Public Module OrleansGeneratedCodeHelper
Inheritance
OrleansGeneratedCodeHelper

Methods

ConsumeEndBaseOrEndObject<TInput>(Reader<TInput>, Field)

Expects empty content (a single field header of either EndBaseFields or EndTagDelimited), but will consume any unexpected fields also.

ConsumeEndBaseOrEndObject<TInput>(Reader<TInput>)

Expects empty content (a single field header of either EndBaseFields or EndTagDelimited), but will consume any unexpected fields also.

DeserializeUnexpectedType<TInput,TField>(Reader<TInput>, Field)

Deserializes an unexpected value.

GetMethodInfoOrDefault(Type, String, Type[], Type[])

Gets the MethodInfo matching the provided values.

GetOptionalCopier<T>(IDeepCopier<T>)

Returns the provided copier if it's not shallow-copyable.

GetService<TService>(Object, ICodecProvider)

Unwraps the provided service if it was wrapped.

InvokableThrowArgumentOutOfRange(Int32, Int32)

Generated code helper method which throws an ArgumentOutOfRangeException.

SerializeUnexpectedType<TBufferWriter>(Writer<TBufferWriter>, UInt32, Type, Object)

Serializes an unexpected value.

UnwrapService<TService>(Object, TService)

Unwraps the provided service if it was wrapped.

Applies to