public static StatisticsKeyKeeper InitializeInstance(ComponentAccessKey componentAccessKey) { if (componentAccessKey == null) { throw new ArgumentNullException("componentAccessKey"); } IsInitialized = true; StatisticsKeyKeeper keyKeeper = Instance; keyKeeper.AccessKey = componentAccessKey; return(keyKeeper); }
protected override void InitializeKeyKeeper(ComponentAccessKey componentAccessKey) { KeyKeeper = StatisticsKeyKeeper.InitializeInstance(componentAccessKey); }