Skip to content

Latest commit

 

History

History

Boilerplate-All-CodeGen

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

All Code Gen

This project shows how ALL of Shiny codegen can literally wire up EVERYTHING imaginable

Things to take a look at:

  • Sample\AssemblyInfo.cs - to see how your custom services can be wired in.
  • Your delegates are automatically wired
  • Any Shiny service that requires a delegate (ie. GeofenceDelegate) is not auto-registered when a delegate of that type is not presented
  • Any Shiny service that has an optional delegate (ie. GpsDelegate) is auto-registered in a foreground only mode
  • You get a compiler warning about Shiny.Push.AzureNotificationHubs because it requires additional config that the Shiny generator can't supply - Shiny.Push & Shiny.Push.FirebaseMessaging are the only push providers that can be "auto wired"
  • There are some 3rd party plugins that also get registered in Android/iOS Project/References/Analyzers/Shiny.Generators
  • Look at how MyCustomTestService.cs registers itself with Shiny in this full auto-register mode
  • Auto-registration is achieved simply by leaving ShinyStartupTypeName on the [assembly:ShinyApplicationAttribute] blank

3rd Party Libs