protected virtual void ApplyFrameworkOptions(StringBuilder builder, string command, Project project, CommandOptions options) { lock (_lock) { if (FrameworkOptions != null && FrameworkOptions.Any()) { if (FrameworkOptions.TryGetValue(command, out ICollection <string> defaultOptions)) { builder.AppendJoinCliOptions(defaultOptions); } if (FrameworkOptions.TryGetValue(FrameworkCommands.Any, out ICollection <string> anyCommandOptions)) { builder.AppendJoinCliOptions(anyCommandOptions); } } } }
private static IntPtr Create(object defaultValue, FrameworkOptions options, PropertyChangedCallback propertyChangedCallback) { return(Create(defaultValue, propertyChangedCallback, (def, invoke) => Noesis_CreateFrameworkPropertyMetadata_(def, (int)options, invoke))); }
public FrameworkPropertyMetadata(object defaultValue, FrameworkOptions options, PropertyChangedCallback propertyChangedCallback) : this(Create(defaultValue, options, propertyChangedCallback), true) { }
public FrameworkPropertyMetadata(object defaultValue, FrameworkOptions options) : this(Create(defaultValue, options, null), true) { }
public string GetProperty(string section, FrameworkOptions option) { return(iniHandler.GetProperty(section, option.ToString())); }
public string GetProperty(FrameworkOptions option) { return(iniHandler.GetProperty(configurationIniSection, option.ToString())); }