SIL.FieldWorks.Common.RootSites.CollectorEnv.CollectorEnv C# (CSharp) Method

CollectorEnv() public method

Create one. If the base environment is not null, it is used for various things, such as obtaining 'outer object' information.
public CollectorEnv ( IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot ) : System
baseEnv IVwEnv The base env.
sda ISilDataAccess Data access to get prop values etc.
hvoRoot int The root object to display, if m_baseEnv is null. /// If baseEnv is not null, hvoRoot is ignored.
return System
		public CollectorEnv(IVwEnv baseEnv, ISilDataAccess sda, int hvoRoot)
		{
			m_baseEnv = baseEnv;
			m_sda = sda;
			if (baseEnv == null)
				m_hvoCurr = hvoRoot;
			else
				m_hvoCurr = baseEnv.OpenObject;
		}
		#endregion