-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #372 from PHOENIXCONTACT/fix/missing-allow-multiple
Port #371 to release 8
- Loading branch information
Showing
3 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/Tests/Moryx.Resources.Management.Tests/Mocks/DerivedResourceWithNewProxy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// Copyright (c) 2023, Phoenix Contact GmbH & Co. KG | ||
// Licensed under the Apache License, Version 2.0 | ||
|
||
using Moryx.AbstractionLayer.Resources; | ||
|
||
namespace Moryx.Resources.Management.Tests | ||
{ | ||
public interface ISecondNonResourceInterface | ||
{ | ||
} | ||
|
||
[ResourceAvailableAs(typeof(ISecondNonResourceInterface))] | ||
public class DerivedResourceWithNewProxy : SimpleResource, ISecondNonResourceInterface | ||
{ | ||
public override int MultiplyFoo(int factor) | ||
{ | ||
return Foo *= factor + 2; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters