[Mmclibrary-cvs] mmclibrary/MMCLib2/Core SnapinStateBase.cs,1.1,1.2
Brought to you by:
imjimmurphy,
kachalkov
From: Lesley v. Z. <ex...@us...> - 2005-01-19 22:49:34
|
Update of /cvsroot/mmclibrary/mmclibrary/MMCLib2/Core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1049 Modified Files: SnapinStateBase.cs Log Message: Changed a lot of protected variables that where storage for properties to private Index: SnapinStateBase.cs =================================================================== RCS file: /cvsroot/mmclibrary/mmclibrary/MMCLib2/Core/SnapinStateBase.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SnapinStateBase.cs 31 Mar 2004 07:58:44 -0000 1.1 --- SnapinStateBase.cs 19 Jan 2005 22:49:22 -0000 1.2 *************** *** 25,35 **** public class SnapinStateBase { ! protected bool m_dirty = false; /// <summary> /// Set this to true when the state has changed (is dirty). /// </summary> public bool Dirty { ! get { return this.m_dirty; } ! set { this.m_dirty = value; } } --- 25,36 ---- public class SnapinStateBase { ! private bool _dirty = false; /// <summary> + /// Get or set the dirty state /// Set this to true when the state has changed (is dirty). /// </summary> public bool Dirty { ! get { return _dirty; } ! set { _dirty = value; } } |