resharperでコードを次のようにインデントしたいと思います。
var modification = shortUrlIndexCollection.FindAndModify
(
Query.Or
(
Query.And
(
Query.EQ("_id", "Index"),
Query.EQ("LockId", Guid.Empty)
),
Query.LT("UnlockOn", now)
),
SortBy
.Null,
Update
.Set("LockId", guid)
.Set("UnlockOn", now + reserveDuration),
true
);
しかし、代わりに次のようにコードをフォーマットします。
var modification = shortUrlIndexCollection.FindAndModify
(
Query.Or
(
Query.And
(
Query.EQ("_id", "Index"),
Query.EQ("LockId", Guid.Empty)
),
Query.LT("UnlockOn", now)
),
SortBy
.Null,
Update
.Set("LockId", guid)
.Set("UnlockOn", now + reserveDuration),
true
);
Resharperを使用したカスタムブレースフォーマットによると、私はすでにこのcontinuous line indent multiplier
オプションを試しましたが、間違った結果が得られます...