mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Add IPostData.HasExcludedElements
This commit is contained in:
@@ -153,6 +153,16 @@ namespace CefSharp
|
||||
return gcnew CefPostDataElementWrapper(element);
|
||||
}
|
||||
|
||||
virtual property bool HasExcludedElements
|
||||
{
|
||||
bool get()
|
||||
{
|
||||
ThrowIfDisposed();
|
||||
|
||||
return _postData->HasExcludedElements();
|
||||
}
|
||||
}
|
||||
|
||||
void ThrowIfReadOnly()
|
||||
{
|
||||
if (IsReadOnly)
|
||||
|
||||
@@ -48,5 +48,13 @@ namespace CefSharp
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
IPostDataElement CreatePostDataElement();
|
||||
|
||||
/// <summary>
|
||||
/// Returns true if the underlying POST data includes elements that are not
|
||||
/// represented by this IPostData object (for example, multi-part file upload
|
||||
/// data). Modifying IPostData objects with excluded elements may result in
|
||||
/// the request failing.
|
||||
/// </summary>
|
||||
bool HasExcludedElements { get; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user