protected override void StartInternal()
        {
            mStorage.Start();
            var resourceTracker = SharedServices.GetService <IResourceTracker>();

            if (resourceTracker != null && mResourceProfile != null)
            {
                mResourceConsumer = resourceTracker.RegisterConsumer(GetType().Name, mResourceProfile);
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// This override starts the storage agent.
 /// </summary>
 protected override void StartInternal()
 {
     mStorage.Start();
     base.StartInternal();
 }