SIL.FieldWorks.CacheLight.RealDataCache.get_GuidProp C# (CSharp) Method

get_GuidProp() public method

Member get_GuidProp
ISilDataAccess method
public get_GuidProp ( int hvo, int tag ) : Guid
hvo int hvo
tag int tag
return Guid
		public Guid get_GuidProp(int hvo, int tag)
		{
			CheckDisposed();

			CheckBasics(hvo);

			var key = new HvoFlidKey(hvo, tag);
			var removeFromCache = false;
			if (!m_guidCache.ContainsKey(key))
				removeFromCache = CheckForVirtual(hvo, tag);
			var val = m_guidCache[key];
			if (removeFromCache)
				m_guidCache.Remove(key);
			return val;
		}