Exemplo n.º 1
0
 public InternalTimeContext(TimeContextManager m, string s, Reporting.IReportingConnector <T> downstreamConn, bool hasAgg)
 {
     scope               = s;
     manager             = m;
     downstreamConnector = downstreamConn;
     if (hasAgg)
     {
         MakeAggregates();
     }
     else
     {
         intAggregator    = null;
         doubleAggregator = null;
     }
 }
Exemplo n.º 2
0
        public ITimeContext <T> MakeContextForScope <T>(string name, Reporting.IReportingConnector <T> downstreamConnector) where T : Time <T>
        {
            bool hasAggregate = this.reporting != null && this.reporting.HasAggregate;

            return(new InternalTimeContext <T>(this, name, downstreamConnector, hasAggregate));
        }