SIL.FieldWorks.FdoUi.CmObjectUi.MakeUi C# (CSharp) Method

MakeUi() public static method

In many cases we don't really need the FDO object, which can be relatively expensive to create. This version saves the information, and creates it when needed.
public static MakeUi ( SIL.FieldWorks.FDO.FdoCache cache, int hvo ) : CmObjectUi
cache SIL.FieldWorks.FDO.FdoCache
hvo int
return CmObjectUi
		public static CmObjectUi MakeUi(FdoCache cache, int hvo)
		{
			return MakeUi(cache, hvo, cache.ServiceLocator.GetInstance<ICmObjectRepository>().GetObject(hvo).ClassID);
		}

Same methods

CmObjectUi::MakeUi ( SIL.FieldWorks.FDO.FdoCache cache, int hvo, int clsid ) : CmObjectUi
CmObjectUi::MakeUi ( ICmObject obj ) : CmObjectUi