src/Microsoft/JSInterop/Dynamic/0.Core/src/Component/ServiceBuilder/DynamicValueAssignerServicesExtensions.cs
/// <summary>
/// Adds the default property assigners that resides in this namespace.
/// </summary>
/// <param name="propertyAssignerFactories"></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 AddDefaultDynamicValueAssigners(this ValueAssignerServiceCollection propertyAssignerFactories)
        {
            propertyAssignerFactories.UseExtension(extension => {
                extension.AddScoped<JSDynamicModuleActivatingAssigner>();
                extension.AddScoped<JSDynamicLocalObjectActivatingAssigner>();
            });
            return propertyAssignerFactories;
        }
public static ValueAssignerServiceCollection AddDefaultDynamicValueAssigners ( this ValueAssignerServiceCollection propertyAssignerFactories ) { propertyAssignerFactories . UseExtension ( extension => { extension . AddScoped < JSDynamicModuleActivatingAssigner > ( ) ; extension . AddScoped < JSDynamicLocalObjectActivatingAssigner > ( ) ; } ) ; return propertyAssignerFactories ; }
Adds the default property assigners that resides in this namespace.
Adds the default property assigners that resides in this namespace .
None
ValueAssignerServiceCollection
this
propertyAssignerFactories
None