Ejemplo n.º 1
0
 public RelevanceService(IHttpContextAccessor contextAccessor)
 {
     this.ContextAccessor  = contextAccessor;
     this.RelevanceEmitter = RelevanceEmitter.Instance;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialize application relevance emitter.
 /// </summary>
 /// <param name="repository"></param>
 public static void Initialize(IMongoRepository repository)
 {
     RelevanceEmitter.Instance = new RelevanceEmitter(repository);
 }