Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo corrections - comments and xml doc comments #1163

Merged
merged 2 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Source/Basic Shapes/SvgLine.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Svg
namespace Svg
{
/// <summary>
/// Represents and SVG line element.
/// Represents an SVG line element.
/// </summary>
[SvgElement("line")]
public partial class SvgLine : SvgMarkerElement
Expand Down
14 changes: 7 additions & 7 deletions Source/SvgElement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}
Expand Down Expand Up @@ -455,7 +455,7 @@ public virtual void InitialiseFromXML(XmlReader reader, SvgDocument document)
throw new NotImplementedException();
}

/// <summary>Derrived classes may decide that the element should not be written. For example, the text element shouldn't be written if it's empty.</summary>
/// <summary>Derived classes may decide that the element should not be written. For example, the text element shouldn't be written if it's empty.</summary>
public virtual bool ShouldWriteElement()
{
//Write any element who has a name.
Expand Down Expand Up @@ -867,7 +867,7 @@ ISvgNode ISvgNode.DeepCopy()
}

/// <summary>
/// Fired when an Atrribute of this Element has changed
/// Fired when an Attribute of this Element has changed
/// </summary>
public event EventHandler<AttributeEventArgs> AttributeChanged;

Expand All @@ -881,7 +881,7 @@ protected void OnAttributeChanged(AttributeEventArgs args)
}

/// <summary>
/// Fired when an Atrribute of this Element has changed
/// Fired when an Attribute of this Element has changed
/// </summary>
public event EventHandler<ContentEventArgs> ContentChanged;

Expand Down Expand Up @@ -911,7 +911,7 @@ protected void OnContentChanged(ContentEventArgs args)
/// <summary>
/// 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.
/// </summary>
/// <param name="caller"></param>
public virtual void RegisterEvents(ISvgEventCaller caller)
Expand Down Expand Up @@ -1069,7 +1069,7 @@ public class AttributeEventArgs : SVGArg
}

/// <summary>
/// Content of this whas was set
/// Describes the Content of this which was set
/// </summary>
public class ContentEventArgs : SVGArg
{
Expand Down Expand Up @@ -1101,7 +1101,7 @@ public interface ISvgEventCaller
}

/// <summary>
/// Represents the state of the mouse at the moment the event occured.
/// Represents the state of the mouse at the moment the event occurred.
/// </summary>
public class MouseArg : SVGArg
{
Expand Down