예제 #1
0
 /// <summary>
 /// Gets the <see cref="CallbackItem"/> for the given global variable name.
 /// </summary>
 /// <param name="variableName">Global variable name.</param>
 /// <param name="callback"></param>
 /// <returns>True if the is a preset callback for the given global variable, otherwise false.</returns>
 public bool TryGetPresetCallback(string variableName, out CallbackItem callback)
 {
     return(this.presetMapping.TryGetValue(variableName, out callback));
 }
예제 #2
0
 /// <summary>
 /// Gets the <see cref="CallbackItem"/> for the given global variable name.
 /// </summary>
 /// <param name="variableName">Global variable name.</param>
 /// <param name="callback"></param>
 /// <returns>True if the is a preset callback for the given global variable, otherwise false.</returns>
 public bool TryGetPresetCallback(string variableName, out CallbackItem callback)
 {
     return this.presetMapping.TryGetValue(variableName, out callback);
 }