コード例 #1
0
        public void Start(DynamoModel model)
        {
            //Whether enabled or not, we still record the startup.
            var service = Service.Instance;

            //Some clients such as Revit may allow start/close Dynamo multiple times
            //in the same session so register only if the factory is not registered.
            if (service.GetTrackerFactory(GATrackerFactory.Name) == null)
            {
                service.Register(new GATrackerFactory(ANALYTICS_PROPERTY));
            }

            if (true == Configuration.DebugModes.IsEnabled("ADPAnalyticsTracker"))
            {
                if (service.GetTrackerFactory(ADPTrackerFactory.Name) == null)
                {
                    service.Register(new ADPTrackerFactory());
                }
            }

            StabilityCookie.Startup();

            heartbeat = Heartbeat.GetInstance(model);

            logger = new UsageLog("Dynamo", UserId, SessionId);
        }
コード例 #2
0
        public void Start(DynamoModel model)
        {
            StabilityCookie.Startup();

            heartbeat = Heartbeat.GetInstance(model);

            logger = new UsageLog("Dynamo", UserId, SessionId);
        }
コード例 #3
0
        public void Start(DynamoModel model)
        {
            //Whether enabled or not, we still record the startup.
            Service.Instance.Register(new GATrackerFactory(ANALYTICS_PROPERTY));

            StabilityCookie.Startup();

            heartbeat = Heartbeat.GetInstance(model);

            logger = new UsageLog("Dynamo", UserId, SessionId);
        }
コード例 #4
0
ファイル: Heartbeat.cs プロジェクト: venusdharan/Dynamo
        private Heartbeat(DynamoModel dynamoModel)
        {
            // KILLDYNSETTINGS - this is provisional - but we need to enforce that Hearbeat is
            // not referencing multiple DynamoModels
            this.dynamoModel = dynamoModel;

            StabilityCookie.Startup();

            startTime       = DateTime.Now;
            heartbeatThread = new Thread(this.ExecThread);
            heartbeatThread.IsBackground = true;
            heartbeatThread.Start();
        }
コード例 #5
0
 public void Start(DynamoModel model)
 {
     StabilityCookie.Startup();
 }