Пример #1
0
        private bool onLoading(string name, string type, NameValueCollection parameters)
        {
            var copy = Loading;

            if (copy == null)
            {
                return(false);
            }

            var args = new ProviderLoadingEventArgs()
            {
                Canceled = false, Name = name, Type = type, Parameters = parameters
            };

            copy(this, args);
            return(args.Canceled);
        }
Пример #2
0
 void loader_ProviderLoading(object sender, ProviderLoadingEventArgs e)
 {
     throw new NotImplementedException();
 }
Пример #3
0
        private bool onLoading(string name, string type, NameValueCollection parameters)
        {
            var copy = Loading;
            if (copy == null)
                return false;

            var args = new ProviderLoadingEventArgs() { Canceled = false, Name = name, Type = type, Parameters = parameters };
            copy(this, args);
            return args.Canceled;
        }