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