Skip to content

Commit 0d853a4

Browse files
committed
minor fixes
1 parent 0430da3 commit 0d853a4

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/JsonApiDotNetCore/Internal/ContextGraph.cs

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public interface IContextGraph
6767
/// <summary>
6868
/// Get the public attribute name for a type based on the internal attribute name.
6969
/// </summary>
70-
/// <param name="internalAttributeName">The internal attribute name for a <see cref="Attr" />.</param>
70+
/// <param name="internalAttributeName">The internal attribute name for a <see cref="AttrAttribute" />.</param>
7171
string GetPublicAttributeName<TParent>(string internalAttributeName);
7272

7373
/// <summary>
@@ -103,18 +103,18 @@ internal ContextGraph(List<ContextEntity> entities, bool usesDbContext, List<Val
103103
Instance = this;
104104
}
105105

106-
/// </ inheritdoc>
106+
/// <inheritdoc />
107107
public bool UsesDbContext { get; }
108108

109-
/// </ inheritdoc>
109+
/// <inheritdoc />
110110
public ContextEntity GetContextEntity(string entityName)
111111
=> Entities.SingleOrDefault(e => string.Equals(e.EntityName, entityName, StringComparison.OrdinalIgnoreCase));
112112

113-
/// </ inheritdoc>
113+
/// <inheritdoc />
114114
public ContextEntity GetContextEntity(Type entityType)
115115
=> Entities.SingleOrDefault(e => e.EntityType == entityType);
116116

117-
/// </ inheritdoc>
117+
/// <inheritdoc />
118118
public object GetRelationship<TParent>(TParent entity, string relationshipName)
119119
{
120120
var parentEntityType = entity.GetType();
@@ -152,7 +152,7 @@ private IEnumerable<IIdentifiable> GetHasManyThrough(IIdentifiable parent, HasMa
152152
}
153153
}
154154

155-
/// </ inheritdoc>
155+
/// <inheritdoc />
156156
public string GetRelationshipName<TParent>(string relationshipName)
157157
{
158158
var entityType = typeof(TParent);
@@ -163,6 +163,7 @@ public string GetRelationshipName<TParent>(string relationshipName)
163163
?.InternalRelationshipName;
164164
}
165165

166+
/// <inheritdoc />
166167
public string GetPublicAttributeName<TParent>(string internalAttributeName)
167168
{
168169
return GetContextEntity(typeof(TParent))

0 commit comments

Comments
 (0)