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

CanSave() public method

Return true if we expect (absent pathological changes while we're not looking) to be able to save changes to this writing system.
public CanSave ( IWritingSystem ws, string &path ) : bool
ws IWritingSystem
path string
return bool
		public bool CanSave(IWritingSystem ws, out string path)
		{
			// JohnT: I don't know why the global store has to be able to save, but the check was there
			// so I left it. However, it needs to be guarded because m_globalStore might not exist.
			return m_localStore.CanSave((WritingSystemDefinition)ws, out path) &&
				(m_globalStore == null || m_globalStore.CanSave((WritingSystemDefinition)ws, out path));
		}