Пример #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="applicationConfiguration">Instance of <see cref="ApplicationConfiguration"/> for the AppBlocks application</param>
 /// <param name="applicationMode"><see cref="AppBlocksApplicationMode"/> for the AppBlocks application. <see cref="AppBlocksApplicationMode"/> can be Live or Test</param>
 public AppBlocksContainerBuilder(
     ApplicationConfiguration applicationConfiguration,
     AppBlocksApplicationMode applicationMode)
 {
     ApplicationConfiguration = applicationConfiguration ??
                                throw new ArgumentNullException(
                                          paramName: nameof(applicationConfiguration),
                                          message: "Application configuration cannot be null");
     ApplicationMode = applicationMode;
 }
Пример #2
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="applicationMode"><see cref="AppBlocksApplicationMode"/> for the AppBlocks application. <see cref="AppBlocksApplicationMode"/> can be Live or Test</param>
 public AppBlocksContainerBuilder(AppBlocksApplicationMode applicationMode)
     : this(new ApplicationConfiguration(), applicationMode)
 {
 }