Add IPostData.HasExcludedElements

This commit is contained in:
amaitland
2016-01-11 13:40:42 +10:00
parent 009fa9b7de
commit c91c9f3953
2 changed files with 18 additions and 0 deletions
@@ -153,6 +153,16 @@ namespace CefSharp
return gcnew CefPostDataElementWrapper(element);
}
virtual property bool HasExcludedElements
{
bool get()
{
ThrowIfDisposed();
return _postData->HasExcludedElements();
}
}
void ThrowIfReadOnly()
{
if (IsReadOnly)
+8
View File
@@ -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; }
}
}