OrleansGeneratedCodeHelper
class
Namespace: Orleans.Serialization.GeneratedCodeHelpers
Utilities for use by generated code.
public static class OrleansGeneratedCodeHelperMethods
ConsumeEndBaseOrEndObject(Reader<TInput>)Expects empty content (a single field header of eitherExtendedWireTypeorExtendedWireType), but will consume any unexpected fields also.ConsumeEndBaseOrEndObject(Reader<TInput>, Field)Expects empty content (a single field header of eitherExtendedWireTypeorExtendedWireType), but will consume any unexpected fields also.DeserializeUnexpectedType(Reader<TInput>, Field)Deserializes an unexpected value.GetMethodInfoOrDefault(Type, string, Type[], Type[])Gets theSystem.Reflection.MethodInfomatching the provided values.GetOptionalCopier(IDeepCopier<T>)Returns the provided copier if it's not shallow-copyable.GetService(object, ICodecProvider)Unwraps the provided service if it was wrapped.InvokableThrowArgumentOutOfRange(int, int)Generated code helper method which throws anSystem.ArgumentOutOfRangeException.SerializeUnexpectedType(Writer<TBufferWriter>, uint, Type, object)Serializes an unexpected value.UnwrapService(object, TService)Unwraps the provided service if it was wrapped.
