public Guid Guid { get { return m_guid; } set { if (value != null) Debugger.Log(0, "Warning", "This property has an empty setter, just for serializing purpose!"); } } ) Debugger.Log ( public Guid Guid { get { return m_guid; } set { if (value != null) Debugger.Log(0, "Warning", "This property has an empty setter, just for serializing purpose!"); } } has an empty setter, just for serializing purpose!"); public Guid Guid { get { return m_guid; } set { if (value != null) Debugger.Log(0, "Warning", "This property has an empty setter, just for serializing purpose!"); } }
It is, if you accidentally set the value yourself, you will get a warning in the debug window. On the other hand, you absolutely need the installer to the serializer, deserializer otherwise never be able to assign the value of the property after reading from a file! Thus, the installer is not for you, but in order to serializer functioned normally.
source share