File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,16 @@ namespace CefSharp
153153 return gcnew CefPostDataElementWrapper (element);
154154 }
155155
156+ virtual property bool HasExcludedElements
157+ {
158+ bool get ()
159+ {
160+ ThrowIfDisposed ();
161+
162+ return _postData->HasExcludedElements ();
163+ }
164+ }
165+
156166 void ThrowIfReadOnly ()
157167 {
158168 if (IsReadOnly)
Original file line number Diff line number Diff line change @@ -48,5 +48,13 @@ public interface IPostData : IDisposable
4848 /// </summary>
4949 /// <returns></returns>
5050 IPostDataElement CreatePostDataElement ( ) ;
51+
52+ /// <summary>
53+ /// Returns true if the underlying POST data includes elements that are not
54+ /// represented by this IPostData object (for example, multi-part file upload
55+ /// data). Modifying IPostData objects with excluded elements may result in
56+ /// the request failing.
57+ /// </summary>
58+ bool HasExcludedElements { get ; }
5159 }
5260}
You can’t perform that action at this time.
0 commit comments