-
Notifications
You must be signed in to change notification settings - Fork 475
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* make adding string css parameter binary compatible * added release notes * introduce svgoptions for css paramater * added obsolete to unnecessary overloads * added more svgoptions overloads * fixing build * Improved release notes
- Loading branch information
1 parent
e9778e4
commit d5e5059
Showing
4 changed files
with
68 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
using System.Collections.Generic; | ||
|
||
#nullable enable | ||
|
||
namespace Svg; | ||
|
||
public class SvgOptions | ||
{ | ||
public SvgOptions() | ||
{ | ||
} | ||
|
||
public SvgOptions(Dictionary<string, string> entities) | ||
{ | ||
Entities = entities; | ||
} | ||
|
||
public SvgOptions(Dictionary<string, string> entities, string css) | ||
{ | ||
Entities = entities; | ||
Css = css; | ||
} | ||
|
||
public SvgOptions(string css) | ||
{ | ||
Css = css; | ||
} | ||
|
||
public Dictionary<string, string>? Entities { get; set; } | ||
public string? Css { get; set; } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters