зеркало из https://github.com/wieslawsoltes/SVG.git
18 строки
515 B
C#
18 строки
515 B
C#
namespace Svg
|
|
{
|
|
public class SvgContentNode : ISvgNode
|
|
{
|
|
public string Content { get; set; }
|
|
|
|
/// <summary>
|
|
/// Create a deep copy of this <see cref="ISvgNode"/>.
|
|
/// </summary>
|
|
/// <returns>A deep copy of this <see cref="ISvgNode"/></returns>
|
|
public ISvgNode DeepCopy()
|
|
{
|
|
// Since strings are immutable in C#, we can just use the same reference here.
|
|
return new SvgContentNode { Content = this.Content };
|
|
}
|
|
}
|
|
}
|