Class ObfuscatedValueProvider
Newtonsoft JSONs value provider for obfuscated data.
Implements
Newtonsoft.Json.Serialization.IValueProvider
Inherited Members
Namespace: Microsoft.Graph.Communications.Common.Telemetry.Obfuscation
Assembly: Microsoft.Graph.Communications.Common.dll
Syntax
public class ObfuscatedValueProvider : IValueProvider
Constructors
ObfuscatedValueProvider(MemberInfo, IObfuscationEngine, ObfuscationTag)
Initializes a new instance of the ObfuscatedValueProvider class.
Declaration
public ObfuscatedValueProvider(MemberInfo memberInfo, IObfuscationEngine obfuscationEngine, ObfuscationTag obfuscationTag)
Parameters
Type | Name | Description |
---|---|---|
MemberInfo | memberInfo | The member information. |
IObfuscationEngine | obfuscationEngine | The obfuscation engine. |
ObfuscationTag | obfuscationTag | The obfuscation tag. |
Methods
GetValue(Object)
Declaration
public object GetValue(object target)
Parameters
Type | Name | Description |
---|---|---|
Object | target |
Returns
Type | Description |
---|---|
Object |
SetValue(Object, Object)
Sets the value.
Declaration
public void SetValue(object target, object value)
Parameters
Type | Name | Description |
---|---|---|
Object | target | The target to set the value on. |
Object | value | The value to set on the target. |
Implements
Newtonsoft.Json.Serialization.IValueProvider