SpaPrerenderingOptions.SupplyData 属性

定义

获取或设置将在预呈现期间调用的回调,以便将其他数据传递给预呈现入口点代码。

public:
 property Action<Microsoft::AspNetCore::Http::HttpContext ^, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^> ^ SupplyData { Action<Microsoft::AspNetCore::Http::HttpContext ^, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^> ^ get(); void set(Action<Microsoft::AspNetCore::Http::HttpContext ^, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^> ^ value); };
public Action<Microsoft.AspNetCore.Http.HttpContext,System.Collections.Generic.IDictionary<string,object>> SupplyData { get; set; }
member this.SupplyData : Action<Microsoft.AspNetCore.Http.HttpContext, System.Collections.Generic.IDictionary<string, obj>> with get, set
Public Property SupplyData As Action(Of HttpContext, IDictionary(Of String, Object))

属性值

适用于