FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
SignNow.NET/SignNow.Net.Examples/Users/GetUserDocuments.cs at develop · signnow/SignNow.NET · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
signnow
/
SignNow.NET
Public
Notifications
You must be signed in to change notification settings
Fork
18
Star
22
Code
Issues
5
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
SignNow.NET
/
SignNow.Net.Examples
/
Users
/
GetUserDocuments.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (26 loc) · 900 Bytes
Breadcrumbs
SignNow.NET
/
SignNow.Net.Examples
/
Users
/
GetUserDocuments.cs
Copy path
File metadata and controls
29 lines (26 loc) · 900 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using
System
;
using
System
.
Linq
;
using
System
.
Threading
.
Tasks
;
using
Microsoft
.
VisualStudio
.
TestTools
.
UnitTesting
;
namespace
SignNow
.
Net
.
Examples
{
public
partial
class
UserExamples
{
[
TestMethod
]
public
async
Task
GetUserDocumentsAsync
(
)
{
// Get user documents, first 25 documents
var
signNowDocuments
=
await
testContext
.
Users
.
GetUserDocumentsAsync
(
perPage
:
25
)
.
ConfigureAwait
(
false
)
;
// Check if the documents are owned by the user
var
userDocuments
=
signNowDocuments
.
ToList
(
)
;
foreach
(
var
document
in
userDocuments
)
{
Assert
.
AreEqual
(
credentials
.
Login
,
document
.
Owner
)
;
}
Assert
.
IsNotNull
(
userDocuments
.
Count
)
;
Console
.
WriteLine
(
$@
"Total modified documents:
{
userDocuments
.
Count
}
"
)
;
}
}
}
Back
|
FazBrowse Home
|
New Git URL