Exemplo n.º 1
0
 internal bool TryGetValue(IOrType <IInternalMethodDefinition, IImplementationDefinition, IEntryPointDefinition> orType, out RealizedMethod realizedMethod)
 {
     return(backing.TryGetValue(orType, out realizedMethod));
 }
Exemplo n.º 2
0
 internal void Add(IOrType <IInternalMethodDefinition, IImplementationDefinition, IEntryPointDefinition> orType, RealizedMethod realizedMethod)
 {
     if (!backing.TryAdd(orType, realizedMethod))
     {
         throw new Exception("should have added, I think");
     }
 }