SIL.CoreImpl.PalasoWritingSystemManager.TryGet C# (CSharp) Method

TryGet() public method

Gets the specified writing system if it exists.
public TryGet ( string identifier, IWritingSystem &ws ) : bool
identifier string The identifier.
ws IWritingSystem The writing system.
return bool
		public bool TryGet(string identifier, out IWritingSystem ws)
		{
			lock (m_syncRoot)
			{
				if (Exists(identifier))
				{
					ws = Get(identifier);
					return true;
				}
				ws = null;
				return false;
			}
		}