示例#1
0
        public static ConfigKeyKeeper InitializeInstance(ComponentAccessKey componentAccessKey)
        {
            if (componentAccessKey == null)
            {
                throw new ArgumentNullException("componentAccessKey");
            }

            IsInitialized = true;

            ConfigKeyKeeper keyKeeper = Instance;

            keyKeeper.AccessKey = componentAccessKey;
            return(keyKeeper);
        }
示例#2
0
 protected override void InitializeKeyKeeper(ComponentAccessKey componentAccessKey)
 {
     KeyKeeper = ConfigKeyKeeper.InitializeInstance(componentAccessKey);
 }