Inheritance: System.Configuration.Provider.ProviderBase
        public void CopyTo(RuleProviderBase[] array, int index)
        {
            lock (lockObject)
            {

                base.CopyTo(array, index);
            }
        }
Esempio n. 2
0
        public static void Initialize()
        {
            const string fallbackProviderSetting = "EPiCode.Relations.Core.RelationProviders.DynamicDataStoreProvider.DDSRuleProvider";
            string       defaultProviderSetting  = Settings.GetSettingValue("DefaultRuleProviderString");

            if (string.IsNullOrEmpty(defaultProviderSetting))
            {
                defaultProviderSetting = fallbackProviderSetting;
            }

            defaultProvider = GetRuleProvider(defaultProviderSetting) as RuleProviderBase ??
                              GetRuleProvider(fallbackProviderSetting) as RuleProviderBase;
        }