/// <inheritdoc/> public SharedConfig <TProxy> Lookup <TType, TProxy>(ICodegenType <TType, TProxy> codegenType) where TType : ICodegenType, new() where TProxy : ICodegenProxy <TType, TProxy>, new() { uint slotIndex = 0; return(MlosProxyInternal.SharedConfigDictionaryLookup <ProbingPolicy> .Get <TProxy>(SharedConfigDictionary, codegenType, ref slotIndex)); }
/// <inheritdoc/> public SharedConfig <TProxy> Lookup <TType, TProxy>(ICodegenType <TType, TProxy> codegenType) where TType : ICodegenType, new() where TProxy : ICodegenProxy <TType, TProxy>, new() { uint slotIndex = 0; return(sharedConfigMemoryRegion.Get <ProbingPolicy, TProxy>(codegenType, ref slotIndex)); }
public static ComponentConfig <TType, TProxy> Create <TType, TProxy>(ICodegenType <TType, TProxy> config) where TType : ICodegenType <TType, TProxy>, new() where TProxy : ICodegenProxy <TType, TProxy>, new() { return(new ComponentConfig <TType, TProxy>((TType)config)); }