示例#1
0
        public void OnAfterDeserialize()
        {
            SerializationTools.FixSerializationForString(ref this._domain);
            SerializationTools.FixSerializationForString(ref this._localizedDescription);
            SerializationTools.FixSerializationForString(ref this._localizedRecoverySuggestion);
            SerializationTools.FixSerializationForString(ref this._localizedFailureReason);

            SerializationTools.FixSerializationForArray(ref this._localizedRecoveryOptions);
        }
        public void OnAfterDeserialize()
        {
            SerializationTools.FixSerializationForString(ref this._identityToken);
            SerializationTools.FixSerializationForString(ref this._authorizationCode);
            SerializationTools.FixSerializationForString(ref this._state);
            SerializationTools.FixSerializationForString(ref this._user);
            SerializationTools.FixSerializationForString(ref this._email);

            SerializationTools.FixSerializationForArray(ref this._authorizedScopes);

            SerializationTools.FixSerializationForObject(ref this._fullName, this._hasFullName);

            SerializationTools.FixSerializationForFullPersonName(ref this._fullName);
        }
示例#3
0
        public void OnAfterDeserialize()
        {
            SerializationTools.FixSerializationForString(ref this._base64IdentityToken);
            SerializationTools.FixSerializationForString(ref this._base64AuthorizationCode);
            SerializationTools.FixSerializationForString(ref this._state);
            SerializationTools.FixSerializationForString(ref this._user);
            SerializationTools.FixSerializationForString(ref this._email);

            SerializationTools.FixSerializationForArray(ref this._authorizedScopes);

            SerializationTools.FixSerializationForObject(ref this._fullName, this._hasFullName);

            this._identityToken     = SerializationTools.GetBytesFromBase64String(this._base64IdentityToken, "_identityToken");
            this._authorizationCode = SerializationTools.GetBytesFromBase64String(this._base64AuthorizationCode, "_authorizationCode");
        }