Show / Hide Table of Contents

Enum SanitationMode

How to do sanitation of objects before creating the request

Namespace: Cognite.Extensions
Assembly: Cognite.Extensions.dll
Syntax
public enum SanitationMode

Fields

Name Description
Clean

Clean objects before requesting. This modifies the passed request.

None

Don't do any sanitation. If you use this, you should make sure that objects are sanitized some other way.

Remove

Remove any offending objects and report them in the result.

Extension Methods

DataModelUtils.GetOrCreateResourcesAsync<T, SanitationMode>(SanitationMode, IEnumerable<InstanceIdentifier>, Func<IEnumerable<InstanceIdentifier>, IEnumerable<SourcedNodeWrite<T>>>, Func<IEnumerable<SourcedNodeWrite<T>>, SanitationMode, (IEnumerable<SourcedNodeWrite<T>>, IEnumerable<CogniteError<SourcedNodeWrite<T>>>)>, int, int, RetryMode, SanitationMode, CancellationToken)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX