Skip to content

Commit 1cc9c24

Browse files
authored
fix: Xml comments fix 5 (#2419)
* fix: Correct reference added to BoundingBox * fix: cref corrected - removed full stop * fix: cref for AudioEmitterComponent corrected * fix: param fixed from rotation to scale * fix: RaiseException doesn't exist, most likely it should be SetException, which is present * fix: cref corrected with full namespace * fix: cref references corrected * chore: Reversing the update because it's not working * fix: Incorrect reference * fix: The C# reference itself doesn't exist but the reference seems ok * fix: Correcting the references * fix: Fixed xml comment * fix: xml summary corrected * fix: cref reversed back, but added full namespace * fix: Fixing see xml tag with appropriate html link to our manual
1 parent 32e341c commit 1cc9c24

File tree

16 files changed

+32
-25
lines changed

16 files changed

+32
-25
lines changed

sources/assets/Stride.Core.Assets/Bundle.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public sealed class Bundle
3333
public List<string> Dependencies { get; } = new List<string>();
3434

3535
/// <summary>
36-
/// Gets the output group (used in conjonction with <see cref="ProjectBuildProfile.OutputGroupDirectories"/> to control where file will be put).
36+
/// Gets the output group (used in conjonction with `ProjectBuildProfile.OutputGroupDirectories` to control where file will be put).
3737
/// </summary>
3838
/// <value>
3939
/// The output group.

sources/assets/Stride.Core.Assets/OverrideUpgraderHint.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public enum OverrideUpgraderHint
1818
Derived,
1919

2020
/// <summary>
21-
/// The upgrader is performed on the base asset of an asset being upgraded (<see cref="Asset.Base"/> or <see cref="Asset.BaseParts"/>)
21+
/// The upgrader is performed on the base asset of an asset being upgraded (<see cref="AssetItem"/> or <see cref="Assets.BasePart"/>)
2222
/// </summary>
2323
Base
2424
}

sources/core/Stride.Core.Mathematics/CollisionHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ public static bool RayIntersectsBox(ref readonly Ray ray, ref readonly BoundingB
895895
}
896896

897897
/// <summary>
898-
/// Determines whether there is an intersection between a <see cref="Stride.Core.Mathematics.Ray"/> and a <see cref="Stride.Core.Mathematics.Plane"/>.
898+
/// Determines whether there is an intersection between a <see cref="Stride.Core.Mathematics.Ray"/> and a <see cref="Stride.Core.Mathematics.BoundingBox"/>.
899899
/// </summary>
900900
/// <param name="ray">The ray to test.</param>
901901
/// <param name="box">The box to test.</param>

sources/core/Stride.Core.MicroThreading/MicroThread.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public long Priority
9292
/// <summary>
9393
/// Gets the exception that was thrown by this <see cref="MicroThread"/>.
9494
/// </summary>
95-
/// It could come from either internally, or from <see cref="RaiseException"/> if it was successfully processed.
95+
/// It could come from either internally, or from <see cref="SetException"/> if it was successfully processed.
9696
/// <value>The exception.</value>
9797
public Exception Exception { get; private set; }
9898

sources/engine/Stride.Engine/Animations/AnimationCurve.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected AnimationCurve()
6666
}
6767

6868
/// <summary>
69-
/// Shifts all animation keys by the specified time, adding it to all <see cref="KeyFrameData{T}.Time". />
69+
/// Shifts all animation keys by the specified time, adding it to all <see cref="KeyFrameData{T}.Time" />
7070
/// </summary>
7171
/// <param name="shiftTimeSpan">The time span by which the keys should be shifted</param>
7272
public virtual void ShiftKeys(CompressedTimeSpan shiftTimeSpan) { }

sources/engine/Stride.Engine/Audio/AudioEmitterSoundController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ namespace Stride.Audio
1717
/// <remarks>
1818
/// <para>
1919
/// Instances of this class can not be directly created by the user, but need to queried from an <see cref="AudioEmitterComponent"/>
20-
/// instance using the readonly <see cref="AudioEmitterComponent.Item(string)"/> indexer.
20+
/// instance using the readonly <see cref="AudioEmitterComponent.this[string]"/> indexer.
2121
/// </para>
2222
/// <para>
2323
/// An instance <see cref="AudioEmitterSoundController"/> is not valid anymore if any of those situations arrives:

sources/engine/Stride.Engine/Engine/AudioEmitterComponent.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace Stride.Engine
2424
/// Use the <see cref="Sounds"/> dictionary to associate or dissociate a <see cref="SoundBase"/> to the emitter component.
2525
/// Each SoundBase associated to the emitter component can be controlled (played, paused, stopped, ...) independently for the others.
2626
/// Once attached to the emitter component, a SoundBase is controlled using a <see cref="AudioEmitterSoundController"/>.
27-
/// To get the AudioEmitterSoundController associated to a SoundBase use the readonly <see cref="AudioEmitterComponent.Item(string)"/> indexer.
27+
/// To get the AudioEmitterSoundController associated to a SoundBase use the readonly <see cref="AudioEmitterComponent.this[string]"/> indexer.
2828
/// </para>
2929
/// </remarks>
3030
[Display("Audio emitter", Expand = ExpandRule.Once)]
@@ -128,7 +128,7 @@ public ControllerCollectionChangedEventArgs(Entity entity, AudioEmitterSoundCont
128128

129129
/// <summary>
130130
/// Attach a <see cref="SoundBase"/> to this emitter component.
131-
/// Once attached a <see cref="AudioEmitterSoundController"/> can be queried using readonly <see cref="AudioEmitterComponent.Item(string)"/> indexer to control the attached SoundBase.
131+
/// Once attached a <see cref="AudioEmitterSoundController"/> can be queried using readonly <see cref="AudioEmitterComponent.this[string]"/> indexer to control the attached SoundBase.
132132
/// </summary>
133133
/// <param name="sound">The SoundBase to attach</param>
134134
/// <exception cref="ArgumentNullException">The provided <paramref name="sound"/> is null.</exception>

sources/engine/Stride.Engine/Engine/Design/EffectCompilationMode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace Stride.Engine.Design
88
{
99
/// <summary>
10-
/// Defines how <see cref="EffectCompilerFactory.CreateEffectCompiler"/> tries to create compiler.
10+
/// Defines how <see cref="Stride.Shaders.Compiler.EffectCompilerFactory.CreateEffectCompiler"/> tries to create compiler.
1111
/// </summary>
1212
[Flags]
1313
public enum EffectCompilationMode

sources/engine/Stride.Engine/Engine/Entity.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public Entity(string name)
5454
/// <param name="name">The name to give to the entity</param>
5555
/// <param name="position">The initial position of the entity</param>
5656
/// <param name="rotation">The initial rotation of the entity</param>
57-
/// <param name="rotation">The initial scale of the entity</param>
57+
/// <param name="scale">The initial scale of the entity</param>
5858
public Entity(string name = null, Vector3 position = default, Quaternion? rotation = null, Vector3? scale = null)
5959
: this(name, false)
6060
{

sources/engine/Stride.Engine/Engine/EntityManager.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@ public TProcessor GetProcessor<TProcessor>() where TProcessor : EntityProcessor
161161

162162
/// <summary>
163163
/// Removes the entity from the <see cref="EntityManager" />.
164-
/// It works weither entity has a parent or not.
165-
/// In conjonction with <see cref="HierarchicalProcessor" />, it will remove child entities as well.
164+
/// It works either entity has a parent or not.
165+
/// In conjonction with <see cref="EntityProcessor" />, it will remove child entities as well.
166166
/// </summary>
167167
/// <param name="entity">The entity.</param>
168168
public void Remove(Entity entity)
@@ -408,7 +408,7 @@ private void OnProcessorAdded(EntityProcessor processor)
408408

409409
private void OnProcessorRemoved(EntityProcessor processor)
410410
{
411-
// Remove the procsesor from any list
411+
// Remove the processor from any list
412412
foreach (var componentTypeAndProcessors in MapComponentTypeToProcessors)
413413
{
414414
var processorList = componentTypeAndProcessors.Value;

0 commit comments

Comments
 (0)