Replies: 1 comment 11 replies
-
This is a great question - it actually made me write some extra tests to verify my understanding about how the code analysis xrefs are generated. In answer to you first question about generic class xrefs, I'm surprised If I had to guess, I'm wondering if the use of angle brackets here is getting in the way since those are relatively loaded as a symbol for web stuff. For example, perhaps they're getting escaped before the xref resolver bits can convert the link. I'm going to try some stuff to get to the bottom of that and will report back. I may end up converting angle brackets to something else like dashes for xref purposes (which I'll need to make sure to document well). I'm also a little stumped about member xrefs right now. You're correct that those aren't working as intended, but I'm still not sure why. I've got a failing unit test now, so I just need to dig into it and see what's going on. This could get a little tricky though with things like method overloads. If you notice, all members end up with a numerical code that's a hash of their fully qualified name. I might end up using that as a part of the xref, which means you'd need to generate the docs to see what that code is, and then use that. Still thinking about this one. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am new to this wyam & statiq and need help with linking the generic api class
I have a ref
[`Result<T>`](xref:api-DbSyncKit.Core.DataContract.Result)
how do i get the link of it
i tried
xref:api-DbSyncKit.Core.DataContract.Result`1 xref:api-DbSyncKit.Core.DataContract.Result<T> xref:api-DbSyncKit.Core.DataContract.Result(T) xref:api-DbSyncKit.Core.DataContract.Result`T
this is the class that it refers to
other are working like
xref:api-DbSyncKit.Core
works perfectly finealso how do i refrence a property
DbSyncKit.DB.Attributes.GenerateInsertWithIDAttribute.IncludeIdentityInsert
it gives
Couldn't find document with xref "DbSyncKit.DB.Attributes.GenerateInsertWithIDAttribute.IncludeIdentityInsert"
Beta Was this translation helpful? Give feedback.
All reactions