SIL.FieldWorks.FieldWorks.ProjectsInUseLocally C# (CSharp) Méthode

ProjectsInUseLocally() public static méthode

Get a list of all projects (by ProjectName) currently open by processes on the local machine.
public static ProjectsInUseLocally ( ) : List
Résultat List
		public static List<string> ProjectsInUseLocally()
		{
			List<string> projects = new List<string>();
			projects.Add(Cache.ProjectId.UiName);	// be sure to include myself!
			RunOnRemoteClients(kFwRemoteRequest, requestor =>
			{
				projects.Add(requestor.ProjectName);
				return false;
			});

			return projects;
		}
		#endregion
FieldWorks