Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
FIT-Connect-SDK - .NET
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIT-Connect
FIT-Connect-SDK - .NET
Commits
1a124656
Commit
1a124656
authored
2 years ago
by
Klaus Fischer
Browse files
Options
Downloads
Patches
Plain Diff
Updated method signatures
parent
d4e03dc8
No related branches found
No related tags found
2 merge requests
!58
Issue/release preparation
,
!42
Issue/872 check submission data schema
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
FitConnect/EncryptedSender.cs
+6
-2
6 additions, 2 deletions
FitConnect/EncryptedSender.cs
with
6 additions
and
2 deletions
FitConnect/EncryptedSender.cs
+
6
−
2
View file @
1a124656
...
@@ -5,6 +5,8 @@ namespace FitConnect;
...
@@ -5,6 +5,8 @@ namespace FitConnect;
public
class
EncryptedSubmissionBuilder
:
IEncryptedBuilderWithData
,
public
class
EncryptedSubmissionBuilder
:
IEncryptedBuilderWithData
,
IEncryptedBuilderWithMetadata
,
IEncryptedBuilderWithAttachments
,
IEncryptedBuilderWithMetadata
,
IEncryptedBuilderWithAttachments
,
IEncryptedBuilderWithDestination
,
IEncryptedBuilderWithService
{
IEncryptedBuilderWithDestination
,
IEncryptedBuilderWithService
{
private
Uri
?
SchemaUri
{
get
;
set
;
}
private
readonly
SendableEncryptedSubmission
_submission
;
private
readonly
SendableEncryptedSubmission
_submission
;
internal
EncryptedSubmissionBuilder
()
{
internal
EncryptedSubmissionBuilder
()
{
...
@@ -36,11 +38,13 @@ public class EncryptedSubmissionBuilder : IEncryptedBuilderWithData,
...
@@ -36,11 +38,13 @@ public class EncryptedSubmissionBuilder : IEncryptedBuilderWithData,
return
this
;
return
this
;
}
}
public
IEncryptedBuilderWithData
SetEncryptedData
(
string
data
)
{
public
IEncryptedBuilderWithData
SetEncryptedData
(
string
data
,
Uri
?
schemaUri
=
null
)
{
SchemaUri
=
schemaUri
;
_submission
.
Data
=
data
;
_submission
.
Data
=
data
;
return
this
;
return
this
;
}
}
public
IEncryptedBuilderWithMetadata
SetEncryptedMetadata
(
string
metadata
)
{
public
IEncryptedBuilderWithMetadata
SetEncryptedMetadata
(
string
metadata
)
{
_submission
.
Metadata
=
metadata
;
_submission
.
Metadata
=
metadata
;
return
this
;
return
this
;
...
@@ -61,7 +65,7 @@ public interface IEncryptedBuilderWithService {
...
@@ -61,7 +65,7 @@ public interface IEncryptedBuilderWithService {
}
}
public
interface
IEncryptedBuilderWithMetadata
{
public
interface
IEncryptedBuilderWithMetadata
{
IEncryptedBuilderWithData
SetEncryptedData
(
string
data
);
IEncryptedBuilderWithData
SetEncryptedData
(
string
data
,
Uri
?
schemaUri
=
null
);
}
}
public
interface
IEncryptedBuilderWithData
{
public
interface
IEncryptedBuilderWithData
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment