Esempio n. 1
0
        protected TrackPropertyChangeScope TrackReadonlyPropertyChanges()
        {
            if (!ShouldNotify || readOnlyTrackingScope != null)
            {
                return(null);
            }

            return(readOnlyTrackingScope = new TrackPropertyChangeScope(this));
        }
 protected TrackPropertyChangeScope TrackReadonlyPropertyChanges()
 {
     if (ShouldNotify && readonlyTrackingScope == null)
     {
         var scope = new TrackPropertyChangeScope(this);
         readonlyTrackingScope = scope;
         return(scope);
     }
     return(null);
 }
		protected TrackPropertyChangeScope TrackReadonlyPropertyChanges()
		{
			if (ShouldNotify && ReadonlyTrackingScope == null)
			{
				var scope = new TrackPropertyChangeScope(this);
				ReadonlyTrackingScope = scope;
				return scope;
			}
			return null;
		}
		protected TrackPropertyChangeScope TrackReadonlyPropertyChanges()
		{
			if (!ShouldNotify || readOnlyTrackingScope != null)
				return null;

			return readOnlyTrackingScope = new TrackPropertyChangeScope(this);
		}