Ejemplo n.º 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)
 {
 }
Ejemplo n.º 4
0
 public void Configure(RazorCodeGenerationOptionsBuilder options)
 {
     options.SetDesignTime(_designTime);
 }
Ejemplo n.º 5
0
 public void Configure(RazorCodeGenerationOptionsBuilder options)
 {
     options.SuppressPrimaryMethodBody = true;
 }