Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExtensionSettingsProvider"/> class.
 /// </summary>
 /// <param name="extension">The extension to which the current <c>ExtensionSettingProvider</c> serves.</param>
 public ExtensionSettingsProvider(Extension extension)
 {
     this.extension = extension;
 }
Ejemplo n.º 2
0
 private static string GetExtensionSettingsFileName(Extension extension) => Path.Combine(ExtensionSettingsPath, string.Format("{0}.setting.json", extension.Id.ToString().Replace('-', '_').ToUpper()));