mirror of
https://github.com/ppy/osu
synced 2025-01-10 08:09:40 +00:00
Merge pull request #23406 from peppy/blocked-namespaces
Prefer block scoped namespaces
This commit is contained in:
commit
c62dafa407
@ -191,6 +191,8 @@ csharp_style_prefer_index_operator = false:silent
|
||||
csharp_style_prefer_range_operator = false:silent
|
||||
csharp_style_prefer_switch_expression = false:none
|
||||
|
||||
csharp_style_namespace_declarations = block_scoped:warning
|
||||
|
||||
[*.{yaml,yml}]
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
|
@ -3,17 +3,18 @@
|
||||
|
||||
using osu.Framework.Bindables;
|
||||
|
||||
namespace osu.Game.Rulesets.Objects.Types;
|
||||
|
||||
/// <summary>
|
||||
/// A HitObject that has a slider velocity multiplier.
|
||||
/// </summary>
|
||||
public interface IHasSliderVelocity
|
||||
namespace osu.Game.Rulesets.Objects.Types
|
||||
{
|
||||
/// <summary>
|
||||
/// The slider velocity multiplier.
|
||||
/// A HitObject that has a slider velocity multiplier.
|
||||
/// </summary>
|
||||
double SliderVelocity { get; set; }
|
||||
public interface IHasSliderVelocity
|
||||
{
|
||||
/// <summary>
|
||||
/// The slider velocity multiplier.
|
||||
/// </summary>
|
||||
double SliderVelocity { get; set; }
|
||||
|
||||
BindableNumber<double> SliderVelocityBindable { get; }
|
||||
BindableNumber<double> SliderVelocityBindable { get; }
|
||||
}
|
||||
}
|
||||
|
@ -277,6 +277,7 @@
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/DEFAULT_INTERNAL_MODIFIER/@EntryValue">Explicit</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/LOCAL_FUNCTION_BODY/@EntryValue">ExpressionBody</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/METHOD_OR_OPERATOR_BODY/@EntryValue">BlockBody</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/NAMESPACE_BODY/@EntryValue">BlockScoped</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/OBJECT_CREATION_WHEN_TYPE_EVIDENT/@EntryValue">ExplicitlyTyped</s:String>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpCodeStyle/USE_HEURISTICS_FOR_BODY_STYLE/@EntryValue">True</s:Boolean>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ACCESSOR_DECLARATION_BRACES/@EntryValue">NEXT_LINE</s:String>
|
||||
|
Loading…
Reference in New Issue
Block a user