예제 #1
0
 internal bool TryGetValue(IOrType <IInternalMethodDefinition, IImplementationDefinition, IEntryPointDefinition> orType, out RealizedMethod realizedMethod)
 {
     return(backing.TryGetValue(orType, out realizedMethod));
 }
예제 #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");
     }
 }