From 1aebf101f565d058354973e86015a6810b430929 Mon Sep 17 00:00:00 2001 From: sunyudai Date: Wed, 17 Jul 2024 09:31:20 -0500 Subject: [PATCH 1/2] Minor XMLDoc comment typo correction --- Source/Basic Shapes/SvgLine.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Basic Shapes/SvgLine.cs b/Source/Basic Shapes/SvgLine.cs index a96bf2c3a..3812c4750 100644 --- a/Source/Basic Shapes/SvgLine.cs +++ b/Source/Basic Shapes/SvgLine.cs @@ -1,7 +1,7 @@ -namespace Svg +namespace Svg { /// - /// Represents and SVG line element. + /// Represents an SVG line element. /// [SvgElement("line")] public partial class SvgLine : SvgMarkerElement From 3849c639d51f6cb316f234601aeed6d229ee0d6f Mon Sep 17 00:00:00 2001 From: sunyudai Date: Wed, 17 Jul 2024 09:57:12 -0500 Subject: [PATCH 2/2] Comment- and XMLDoc-comment only typo corrections. --- Source/SvgElement.cs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Source/SvgElement.cs b/Source/SvgElement.cs index a07e88586..962bb6cac 100644 --- a/Source/SvgElement.cs +++ b/Source/SvgElement.cs @@ -122,7 +122,7 @@ protected internal string ElementName { // The SvgDocument does not have SvgElement attribute set, instead the attitude is used on SvgFragment so there would be duplicate im dictionary. // The SvgDocument is not valid Svg element (that is SvgFragment) and is mainly used as abstraction for document reading and writing. - // The ElementName for SvgDocument is set explicitly here as that is the exception to attribute convention used accross codebase. + // The ElementName for SvgDocument is set explicitly here as that is the exception to attribute convention used across the codebase. this._elementName = "svg"; } } @@ -455,7 +455,7 @@ public virtual void InitialiseFromXML(XmlReader reader, SvgDocument document) throw new NotImplementedException(); } - /// Derrived classes may decide that the element should not be written. For example, the text element shouldn't be written if it's empty. + /// Derived classes may decide that the element should not be written. For example, the text element shouldn't be written if it's empty. public virtual bool ShouldWriteElement() { //Write any element who has a name. @@ -867,7 +867,7 @@ ISvgNode ISvgNode.DeepCopy() } /// - /// Fired when an Atrribute of this Element has changed + /// Fired when an Attribute of this Element has changed /// public event EventHandler AttributeChanged; @@ -881,7 +881,7 @@ protected void OnAttributeChanged(AttributeEventArgs args) } /// - /// Fired when an Atrribute of this Element has changed + /// Fired when an Attribute of this Element has changed /// public event EventHandler ContentChanged; @@ -911,7 +911,7 @@ protected void OnContentChanged(ContentEventArgs args) /// /// Use this method to provide your implementation ISvgEventCaller which can register Actions /// and call them if one of the events occurs. Make sure, that your SvgElement has a unique ID. - /// The SvgTextElement overwrites this and regsiters the Change event tor its text content. + /// The SvgTextElement overwrites this and registers the Change event tor its text content. /// /// public virtual void RegisterEvents(ISvgEventCaller caller) @@ -1069,7 +1069,7 @@ public class AttributeEventArgs : SVGArg } /// - /// Content of this whas was set + /// Describes the Content of this which was set /// public class ContentEventArgs : SVGArg { @@ -1101,7 +1101,7 @@ public interface ISvgEventCaller } /// - /// Represents the state of the mouse at the moment the event occured. + /// Represents the state of the mouse at the moment the event occurred. /// public class MouseArg : SVGArg {