Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #10945 from OmarTawfik/update-runtimefeature-docs
Browse files Browse the repository at this point in the history
Update comment to reflect how RuntimeFeature members should be defined
  • Loading branch information
OmarTawfik committed Apr 14, 2017
2 parents ad86b4f + 392c18f commit d09465f
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ public static class RuntimeFeature
public static bool IsSupported(string feature)
{
// No features are supported for now.
// These features should be added as public static readonly string fields in the same class.
// These features should be added as public const string fields in the same class.
// Example: public const string FeatureName = nameof(FeatureName);

return false;
}
}
Expand Down

0 comments on commit d09465f

Please sign in to comment.