FeedHelperCreateMockFeedManager Method (ListMock`1IFeed, ListMock`1IBaseStationAircraftList, ListListIAircraft, Boolean, Int32) |
Namespace: Test.FrameworkAssembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static Mock<IFeedManager> CreateMockFeedManager(
List<Mock<IFeed>> feeds,
List<Mock<IBaseStationAircraftList>> baseStationAircraftLists,
List<List<IAircraft>> aircraftLists,
bool useVisibleFeeds,
params int[] feedIds
)
Public Shared Function CreateMockFeedManager (
feeds As List(Of Mock(Of IFeed)),
baseStationAircraftLists As List(Of Mock(Of IBaseStationAircraftList)),
aircraftLists As List(Of List(Of IAircraft)),
useVisibleFeeds As Boolean,
ParamArray feedIds As Integer()
) As Mock(Of IFeedManager)
public:
static Mock<IFeedManager^>^ CreateMockFeedManager(
List<Mock<IFeed^>^>^ feeds,
List<Mock<IBaseStationAircraftList^>^>^ baseStationAircraftLists,
List<List<IAircraft^>^>^ aircraftLists,
bool useVisibleFeeds,
... array<int>^ feedIds
)
static member CreateMockFeedManager :
feeds : List<Mock<IFeed>> *
baseStationAircraftLists : List<Mock<IBaseStationAircraftList>> *
aircraftLists : List<List<IAircraft>> *
useVisibleFeeds : bool *
feedIds : int[] -> Mock<IFeedManager>
Parameters
- feeds
- Type: System.Collections.GenericListMockIFeed
- baseStationAircraftLists
- Type: System.Collections.GenericListMockIBaseStationAircraftList
- aircraftLists
- Type: System.Collections.GenericListListIAircraft
- useVisibleFeeds
- Type: SystemBoolean
- feedIds
- Type: SystemInt32
Return Value
Type:
MockIFeedManagerSee Also