Skip to content

Instantly share code, notes, and snippets.

@tobiasschulz
Created December 16, 2018 02:22
Show Gist options
  • Save tobiasschulz/36217f2b32e79316ed7477b623639c25 to your computer and use it in GitHub Desktop.
Save tobiasschulz/36217f2b32e79316ed7477b623639c25 to your computer and use it in GitHub Desktop.
Lazy BuildConfig
private static Lazy<BuildConfig> _instance = new Lazy<BuildConfig> (() => (BuildConfig)Activator.CreateInstance (Type.GetType ($"BuildConfig_Local, Framework.Portable, Version={typeof (BuildConfig).Assembly.GetName ().Version}, Culture=neutral, PublicKeyToken=null"), nonPublic: true));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment