Exemple #1
0
            public void Configure(RazorCodeGenerationOptionsBuilder options)
            {
                if (options == null)
                {
                    throw new ArgumentNullException(nameof(options));
                }

                options.RootNamespace = _rootNamespace;
            }
 private void ConfigureDesignTimeCodeGenerationOptions(RazorCodeGenerationOptionsBuilder builder)
 {
     builder.SetDesignTime(true);
     builder.SuppressChecksum           = true;
     builder.SuppressMetadataAttributes = true;
 }
 private void ConfigureCodeGenerationOptions(RazorCodeGenerationOptionsBuilder builder)
 {
 }
Exemple #4
0
 public void Configure(RazorCodeGenerationOptionsBuilder options)
 {
     options.SetDesignTime(_designTime);
 }
Exemple #5
0
 public void Configure(RazorCodeGenerationOptionsBuilder options)
 {
     options.SuppressPrimaryMethodBody = true;
 }