code_junkie

Including a generic class in Unity App.Config file

Nov 13th, 2011
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. <typeAlias alias="ISimpleCacheOfIBrokeredDataObject" type="MyApplication.ISimpleCache<IBrokeredDataObject>, MyApplication" />
  2.  
  3. <typeAlias alias="ISimpleCacheOfIBrokeredDataObject" type="MyApplication.ISimpleCache<IBrokeredDataObject>, MyApplication" />
  4.  
  5. <typeAlias alias="ISimpleCacheOfIBrokeredDataObject"
  6. type="MyApplication.ISimpleCache`1[[MyApplication.IBrokeredDataObject, MyApplication]], MyApplication" />
  7.  
  8. <typeAlias alias="IPublisherOfXElement" type="MyLib.IX.IPublisher`1[[System.Xml.Linq.XElement, System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]], MyLib.IX" />
  9.  
  10. <section name="doubleFamilyConfig"
  11. type="ConfigTest.Configuration.FamilySection`2[
  12. [ConfigTest.Types.Child, ConfigTest],
  13. [ConfigTest.Types.Parent, ConfigTest]
  14. ],
  15. ConfigTest" />
  16.  
  17. Type.GetType("MyGenericType`1[MyType]")
  18.  
  19. Type.GetType("MyGenericType`2[MyType,AnotherType]")
  20.  
  21. Type.GetType("MyGenericType`2[[MyType,MyAssembly],[AnotherType,AnotherAssembly]]")
  22.  
  23. Type.GetType("MyGenericType`1[[MyType,MyAssembly]],MyGenericTypeAssembly")
  24.  
  25. Type.GetType("MyGenericType`1[AnotherGenericType`2[MyType,AnotherType]]")
Add Comment
Please, Sign In to add comment