Skip to content

Commit 4ffb101

Browse files
committed
Fix PooledInstanceContext property formatting
1 parent ddf5bce commit 4ffb101

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

src/Autofac.Pooling/PooledInstanceContext.cs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Autofac Project. All rights reserved.
1+
// Copyright (c) Autofac Project. All rights reserved.
22
// Licensed under the MIT License. See LICENSE in the project root for license information.
33

44
using Microsoft.Extensions.ObjectPool;
@@ -27,10 +27,16 @@ public PooledInstanceContext(ObjectPool<TLimit> pool, IPooledRegistrationPolicy<
2727
/// <summary>
2828
/// Gets the object pool.
2929
/// </summary>
30-
public ObjectPool<TLimit> Pool { get; }
30+
public ObjectPool<TLimit> Pool
31+
{
32+
get;
33+
}
3134

3235
/// <summary>
3336
/// Gets the resolved registration policy, shared between pool creation and retrieval.
3437
/// </summary>
35-
public IPooledRegistrationPolicy<TLimit> Policy { get; }
38+
public IPooledRegistrationPolicy<TLimit> Policy
39+
{
40+
get;
41+
}
3642
}

0 commit comments

Comments
 (0)