Ejemplo n.º 1
0
 internal void AddKeyIfValueAvailable(TInterestedHoldingParty ask) => InterestedHoldingPartyToResource.AddKeyIfValueAvailable(ask);
Ejemplo n.º 2
0
 public void RemoveKeyIfStillThere(TInterestedHoldingParty ask) => InterestedHoldingPartyToResource.RemoveKeyIfStillThere(ask);
Ejemplo n.º 3
0
 // Probably a bit goofy taking the 'add if missing' as a lambda, as the caller technically has the true value, which should match what he'd just put in here
 // Maybe to get rid of ambiguity the action should be ResourceHolder.Build... or something and just take it all private in here.
 internal void AddKeyRebuildingHeldResourceFromPassedInOnlyIfItSomehowWasMissing(TInterestedHoldingParty ask, Func <TResourceObject> getResourceObject) => InterestedHoldingPartyToResource.AddUnrepresentedKeyWithRecreateIfMissing(ask, () => ListModule.Singleton(getResourceObject()));