Skip to content

Commit

Permalink
doc: add comment block
Browse files Browse the repository at this point in the history
  • Loading branch information
mikechu-optimizely committed Oct 21, 2024
1 parent a866266 commit 80bed0a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions OptimizelySDK/Optimizely.cs
Original file line number Diff line number Diff line change
Expand Up @@ -855,6 +855,14 @@ private OptimizelyUserContext CreateUserContextCopy(string userId,
);
}

/// <summary>
/// Get forced decision for the given flag key.
/// </summary>
/// <param name="flagKey">Flag key</param>
/// <param name="decisionReasons">A collection of decision reasons</param>
/// <param name="projectConfig">The project config</param>
/// <param name="user">The user context</param>
/// <returns>Feature decision</returns>
public FeatureDecision GetForcedDecision(string flagKey, DecisionReasons decisionReasons,
ProjectConfig projectConfig, OptimizelyUserContext user
)
Expand Down Expand Up @@ -1443,8 +1451,7 @@ internal void IdentifyUser(string userId)
/// <param name="identifiers">Dictionary for identifiers. The caller must provide at least one key-value pair.</param>
/// <param name="type">Type of event (defaults to `fullstack`)</param>
/// <param name="data">Optional event data in a key-value pair format</param>
public void SendOdpEvent(string action, Dictionary<string, string> identifiers,
string type = Constants.ODP_EVENT_TYPE,
public void SendOdpEvent(string action, Dictionary<string, string> identifiers, string type = Constants.ODP_EVENT_TYPE,
Dictionary<string, object> data = null
)
{
Expand Down

0 comments on commit 80bed0a

Please sign in to comment.