src/Microsoft/JSInterop/0.Core/src/Component/ServiceBuilder/ValueAssignerServiceCollectionExtensions.cs
/// <summary>
/// Adds the default property assigners that resides in this namespace.
/// </summary>
/// <param name="propertyAssignerServices"></param>
/// <returns></returns>
Adds the default property assigners that resides in this namespace.
Adds the default property assigners that resides in this namespace .
public static ValueAssignerServiceCollection AddNonDynamicDefaultValueAssigners(this ValueAssignerServiceCollection propertyAssignerServices)
        {
            propertyAssignerServices.UseExtension(extension => {
                extension.AddScoped<JSGlobalObjectActivatingAssigner>();
                extension.AddScoped<JSModuleActivatingAssigner>();
            });
            return propertyAssignerServices;
        }
public static ValueAssignerServiceCollection AddNonDynamicDefaultValueAssigners ( this ValueAssignerServiceCollection propertyAssignerServices ) { propertyAssignerServices . UseExtension ( extension => { extension . AddScoped < JSGlobalObjectActivatingAssigner > ( ) ; extension . AddScoped < JSModuleActivatingAssigner > ( ) ; } ) ; return propertyAssignerServices ; }
Adds the default property assigners that resides in this namespace.
Adds the default property assigners that resides in this namespace .
None
ValueAssignerServiceCollection
this
propertyAssignerServices
None