Mono.TextEditor.TextDocument.RunWhenLoaded C# (CSharp) Method

RunWhenLoaded() public method

Performs an action when the content is loaded.
public RunWhenLoaded ( Action action ) : void
action Action /// The action to run. ///
return void
		public void RunWhenLoaded (Action action)
		{
			if (IsLoaded) {
				action ();
				return;
			}
			loadedActions.Add (action);
		}
		#endregion
TextDocument