public string ConvertToHashedValue(object value)
        {
            TelemetryPiiProperty telemetryPiiProperty = value as TelemetryPiiProperty;

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

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