public UserTrackingController(TelimenaProperties properties, Locator locator, ITelimenaSerializer serializer, UserInfo initialUserInfo = null) { this.properties = properties; this.locator = locator; this.serializer = serializer; this.initialUserInfo = initialUserInfo; this.settingsProvider = new RemoteSettingsProvider(this.properties.TelemetryApiBaseUrl); }
internal static ITelimena GetNullObjectTeli(ITelimenaStartupInfo startupInfo) { //something went wrong when building telimena //return something that will not break client's code ITelimenaProperties props; try { //try at least building properties if possible props = new TelimenaProperties(startupInfo); } catch { //ok, even that failed, return fail safe thing props = new NullObjectTelimenaProperties(); } return(new NullObjectTelimena(props)); }
/// <summary> /// /// </summary> /// <param name="telimenaProperties"></param> /// <param name="userTrackingController"></param> internal TelemetryModule(TelimenaProperties telimenaProperties, UserTrackingController userTrackingController) { this.telimenaProperties = telimenaProperties; this.userTrackingController = userTrackingController; }
/// <summary> /// Asynchronous Telimena methods /// </summary> public TelemetryModule(TelimenaProperties telimenaProperties) { this.telimenaProperties = telimenaProperties; this.userTrackingController = new UserTrackingController(this.telimenaProperties, new Locator(this.telimenaProperties.StaticProgramInfo), new TelimenaSerializer()); }
/// <summary> /// Asynchronous Telimena methods /// </summary> public TelemetryModule(TelimenaProperties telimenaProperties) { this.telimenaProperties = telimenaProperties; }