dotnet / dotnet/dotnet-api-docs

Move the example

未关闭
#1,007 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area-System.IO dotnet-api/prod Pri2 untriaged
主要语言
C#
星标
949
派生
1.7k
平均合并
2 天 19 小时
30 天内合并 PR
52

描述

The example under `CreateFromFile(String)` should be moved to `CreateFromFile(String, FileMode, String)`, because it actually uses that overload of the method

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 25bccff2-0202-40c0-278d-9f791e353b93
* Version Independent ID: a4d0765b-0488-c971-977c-cf4960b58b88
* Content: [MemoryMappedFile.CreateFromFile Method (System.IO.MemoryMappedFiles)](https://docs.microsoft.com/en-us/dotnet/api/system.io.memorymappedfiles.memorymappedfile.createfromfile?view=netframework-4.7.2)
* Content Source: [xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml](https://github.com/dotnet/dotnet-api-docs/blob/master/xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml)
* Product: **dotnet-api**
* GitHub Login: @dotnet-bot
* Microsoft Alias: **dotnetcontent**

贡献指南

打开贡献指南

调研方向

打开 xml/System.IO.MemoryMappedFiles/MemoryMappedFile.xml,找到 CreateFromFile(String) 下的示例。将其移动到 CreateFromFile(String, FileMode, String) 下,因为该示例使用的是这个重载。完成标准是:示例出现在匹配的 API 重载下,并且不再出现在单参数方法下。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp
领域
documentation
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。