Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d00d387

Browse files
authored
doc(Socket): remove DataTypeConverter attribute (#6745)
1 parent 2aba6f8 commit d00d387

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/BootstrapBlazor.Server/Components/Samples/Sockets/SocketFactories.razor

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ private async Task CreateClient()
9595
<li>使用 <code>DataPropertyConverterAttribute</code> 标签约定如何转换数据类型 (Property) 属性值</li>
9696
</ol>
9797

98-
<Pre>[DataTypeConverter(Type = typeof(DataConverter&lt;MockEntity&gt;))]
99-
class MockEntity
98+
<Pre>class MockEntity
10099
{
101100
[DataPropertyConverter(Type = typeof(byte[]), Offset = 0, Length = 5)]
102101
public byte[]? Header { get; set; }

0 commit comments

Comments
 (0)