Example #1
0
 /// <summary>
 /// Sets the context of this analytics call. Context contains information about the environment
 /// such as the app, the user agent, ip, etc ..
 /// </summary>
 /// <returns>This Options object for chaining.</returns>
 /// <param name="context">The visitor's context.</param>
 public RudderOptions SetContext(RudderContext context)
 {
     this.Context = context;
     return(this);
 }
Example #2
0
 /// <summary>
 /// Options object that allows the specification of a timestamp,
 /// an anonymousId, a context, or target integrations.
 /// </summary>
 public RudderOptions()
 {
     this.Integrations = new Dict();
     this.Context      = new RudderContext();
 }