Exemplo n.º 1
0
        public string ConvertToHashedValue(object value)
        {
            TelemetryPiiProperty telemetryPiiProperty = value as TelemetryPiiProperty;

            CodeContract.RequiresArgumentNotNull <TelemetryPiiProperty>(telemetryPiiProperty, "piiProperty");
            return(HashPii(telemetryPiiProperty.StringValue));
        }
Exemplo n.º 2
0
        public object ConvertToRawValue(object value)
        {
            TelemetryPiiProperty obj = value as TelemetryPiiProperty;

            CodeContract.RequiresArgumentNotNull <TelemetryPiiProperty>(obj, "piiProperty");
            return(obj.RawValue);
        }