Example #1
0
 public OptimizelyForcedDecision this[OptimizelyDecisionContext context]
 {
     get
     {
         if (context != null && context.IsValid &&
             ForcedDecisionsMap.TryGetValue(context.GetKey(), out OptimizelyForcedDecision flagForcedDecision))
         {
             return(flagForcedDecision);
         }
         return(null);
     }
     set
     {
         if (context != null && context.FlagKey != null)
         {
             ForcedDecisionsMap[context.GetKey()] = value;
         }
     }
 }