Example #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);
        }
 void loader_ProviderLoading(object sender, ProviderLoadingEventArgs e)
 {
     throw new NotImplementedException();
 }
Example #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;
        }