Project_WL/Assets/ThirdParty/AppleAuth/Native/FullPersonName.cs

22 lines
626 B
C#
Raw Normal View History

2024-12-18 06:23:47 +00:00
using AppleAuth.Interfaces;
using System;
namespace AppleAuth.Native
{
[Serializable]
internal class FullPersonName : PersonName, IPersonName
{
public bool _hasPhoneticRepresentation = false;
public PersonName _phoneticRepresentation = null;
public new IPersonName PhoneticRepresentation { get { return _phoneticRepresentation; } }
public override void OnAfterDeserialize()
{
base.OnAfterDeserialize();
SerializationTools.FixSerializationForObject(ref this._phoneticRepresentation, this._hasPhoneticRepresentation);
}
}
}