Граф коммитов

6 Коммитов

Автор SHA1 Сообщение Дата
kingces95 eb8b4d1945 Add internal XF.Registrar.RegisterAll b/c previewer needs it (#816) 2017-03-16 16:19:35 +00:00
kingces95 b9b9d2536f Add [EditorBrowsable(EditorBrowsableState.Never)] to public classes/interfaces in XF.Internals (#806) 2017-03-09 10:38:06 -08:00
kingces95 e6d5186c8a Remove InternalsVisibleTo from Core to XF.Platforms.* (#782)
* Remove InternalsVisibleTo from Core to XF.Platforms.*

* Changes per Jason's code review

* Move LockableObservableListWrapper to internals namespace

* Changes per Stephane's code review

* update docs

* Touch code to get CI to run tests

* Rebase; Update documentation
2017-03-07 14:56:24 -05:00
E.Z. Hart 1616413215 Improve registry startup and lookup performance (#674)
* Optimize search for Effect resolution name
Avoid multiple collection of assemblies during startup
Cache handler lookups

* Handle s_initialized check inside of Initialize method
2017-01-12 19:22:00 +00:00
Alan McGovern 4553b845e4 [Core] Allow Registrar.RegisterAll to be run multiple times (#215)
There are cases where we run RegisterAll manually to ensure all
assemblies have actually been registered. The `Registrar<T>` class
does not use the `Dictionary<K, V>.Add` method so it does not
throw if there's a clash/duplicate.

If we change the `Effect` registration to use the same pattern we
can remove errors like this:

System.ArgumentException: An item with the same key has already been added.
	at ThrowArgumentException at offset 0 in file:line:column /Users/builder/data/lanes/2922/977921b7/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/throwhelper.cs:72:0
	at Insert at offset 142 in file:line:column /Users/builder/data/lanes/2922/977921b7/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/collections/generic/dictionary.cs:336:0
	at Add at offset 0 in file:line:column /Users/builder/data/lanes/2922/977921b7/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/collections/generic/dictionary.cs:192:0
	at RegisterAll at <unknown offset> in file:line:column <filename unknown>:0:0
	at <unknown method> at <unknown offset> in file:line:column <filename unknown>:0:0
	at Invoke at offset 56 in file:line:column /Users/builder/data/lanes/2922/977921b7/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Reflection/MonoMethod.cs:295:0
2016-06-08 10:30:13 -07:00
Jason Smith 17fdde66d9 Initial import 2016-03-22 16:13:41 -07:00