17 Commits

Author SHA1 Message Date
Chris bef5dd37c4 Maintenance - Fixed formatting, file encoding, and copyright year (#2504)
* Applied formatting

* Fixed file encoding + Updated copyright year

* Updated License

* Fixed more file encoding

* Copyright notice now shows the year the file was created
2018-09-10 10:41:13 +10:00
amaitland f6088f33d2 DefaultResourceHandlerFactory - Rewrite so it stores byte[] instead of storing IResourceHandler
It's not actually a factory and will handle multiple requests to the same url

Only API change is for DefaultResourceHandlerFactory directly, the LoadHtml and RegisterResourceHandler extension methods
stay unchanged
2018-08-13 12:39:04 +10:00
amaitland a683eade99 Follow up to #2010
ResourceFactoryItem renamed to DefaultResourceHandlerFactory - it's only used in the context of that class
Change persist to OneTimeUse and invert logic (false is the default)
Remove unnecessary RegisterHandler overload - user default value instead
2017-04-10 12:08:05 +10:00
Chris 563505c3c6 Made it possible to register a "one-time use" ResourceHandler 2017-04-07 14:18:05 +02:00
Chris 5132883d9e Changed from Uri.ToString to Uri.AbsoluteUri (#1994) 2017-03-27 09:27:54 +10:00
Chris cd934267c6 Updated copyright year and made sure it used same format everywhere (#1966) 2017-03-06 08:44:37 +10:00
amaitland fb5c6f7ecb More xml doc improvements 2016-04-15 15:27:19 +10:00
dga711 4e79f1091b Add some xml documentation (#1643)
* add some xml doc

* add missing drag xml doc

* xml doc corrections

* more xml doc
2016-04-08 18:55:29 -05:00
amaitland bae3c28e92 Update copyright to 2016 2016-01-11 14:11:30 +10:00
amaitland 0547c45f41 Readd using System.Collections.Generic; as needed by quality comparer
Remove implicit http scheme if none provided
2015-07-07 10:42:39 +10:00
lamerbug 6f08123174 Update DefaultResourceHandlerFactory.cs
- using ConcurrentDictionary
- create canonical URL from any string
- update value if key exists
- return bool when register and unregister
2015-07-06 19:47:47 +07:00
rassilon 26ad951da4 Ensure IRequest is disposed. 2015-06-13 10:01:49 -04:00
Bill Tutt 3a330f4352 Here's some more, and the missing return stmt. GetResourceHandler of course doesn't go on PopupHandler. 2015-06-03 00:14:43 -04:00
amaitland 9c7bf2e930 Change ResourceHandler to IResourceHandler
Add StatusText
2015-05-27 17:11:52 +10:00
rassilon 7128e40fd1 It's time for copyright updates again. Yay!
Throw in a couple of tab containing files for good measure.
Evil tabs, evil I say.
2015-04-25 02:45:21 -04:00
amaitland a0ba80ca6c Add HasHandlers property to IResourceHandlerFactory - immediately return NULL if no handlers registered 2015-03-12 12:38:23 +10:00
rassilon 6d8f8866b0 Rename files to new name. 2015-03-03 00:19:52 -05:00