using System;
using System.Collections;
using NHibernate.Type;

namespace NHibernate.Cfg
{
	[Serializable]
	internal class EmptyInterceptor : IInterceptor
	{

		public EmptyInterceptor()
		{	
		}

		public void OnDelete( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types )
		{
		}

		public bool OnFlushDirty( object entity, object id, object[ ] currentState, object[ ] previousState, string[ ] propertyNames, IType[ ] types )
		{
			return false;
		}

		public bool OnLoad( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types )
		{
			return false;
		}

		public bool OnSave( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types )
		{
			return false;
		}

		public void OnPostFlush( object entity, object id, object[ ] currentState, string[ ] propertyNames, IType[ ] types )
		{
		}

		public void PostFlush( ICollection entities )
		{
		}

		public void PreFlush( ICollection entitites )
		{
		}

		public object IsUnsaved( object entity )
		{
			return null;
		}

		public object Instantiate( System.Type clazz, object id )
		{
			return null;
		}

		public int[ ] FindDirty( object entity, object id, object[ ] currentState, object[ ] previousState, string[ ] propertyNames, IType[ ] types )
		{
			return null;
		}
	}

}

using System;
using System.Collections;
using NHibernate.Type;

namespace NHibernate.Cfg
{
	[Serializable]
	public class EmptyInterceptor : IInterceptor
	{
		public virtual void OnDelete( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types )
		{
		}

		public virtual bool OnFlushDirty( object entity, object id, object[ ] currentState, object[ ] previousState, string[ ] propertyNames, IType[ ] types )
		{
			return false;
		}

		public virtual bool OnLoad( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types )
		{
			return false;
		}

		public virtual bool OnSave( object entity, object id, object[ ] state, string[ ] propertyNames, IType[ ] types )
		{
			return false;
		}

		public virtual void PostFlush( ICollection entities )
		{
		}

		public virtual void PreFlush( ICollection entitites )
		{
		}

		public virtual object IsUnsaved( object entity )
		{
			return null;
		}

		public virtual object Instantiate( System.Type clazz, object id )
		{
			return null;
		}

		public virtual int[] FindDirty( object entity, object id, object[] currentState, object[] previousState, string[] propertyNames, IType[] types )
		{
			return null;
		}
	}

}

Make class public and all methods virtual so that it can be used as a base class for interceptors.
Make class public and all methods virtual so that it can be used as a base class for interceptors.

SVN: 488784591515bd4cdaa016be4ec9b172dc4e7caf@2077
