/// <summary> /// Initializes a new instance of the <see cref="ItemDetailsCommandProvider"/> class. /// </summary> /// <remarks> /// The constructor requires an implementation of ICommandContextState /// because ItemDetailsCommandProvider is used with /// IGenericContextMenuCommandProviderFactoryRegistry as a factory for /// creating commands based on ICommandsContext objects. /// </remarks> public ItemDetailsCommandProvider( ICommandsContext commandsContext, ICommandContextState commandContextState, IIntentManager intentManager, ISubsettingExampleOriginIdentifierFactory subsettingExampleOriginIdentifierFactory, ISubsetExampleOriginHelper subsetExampleOriginHelper) { mCommandsContext = commandsContext; mCommandContextState = commandContextState; mIntentManager = intentManager; mSubsettingExampleOriginIdentifierFactory = subsettingExampleOriginIdentifierFactory; mSubsetExampleOriginHelper = subsetExampleOriginHelper; }
/// <summary> /// Initializes a new instance of the <see cref="ItemDetailsCommandProvider"/> class. /// </summary> /// <remarks> /// The constructor requires an implementation of ICommandContextState /// because ItemDetailsCommandProvider is used with /// IGenericContextMenuCommandProviderFactoryRegistry as a factory for /// creating commands based on ICommandsContext objects. /// </remarks> public ItemDetailsCommandProvider( ICommandsContext commandsContext, ICommandContextState commandContextState, IIntentManager intentManager, ISubsettingExampleOriginIdentifierFactory subsettingExampleOriginIdentifierFactory, ISubsetExampleOriginHelper subsetExampleOriginHelper) { mCommandsContext = commandsContext; mCommandContextState = commandContextState; mIntentManager = intentManager; mSubsettingExampleOriginIdentifierFactory = subsettingExampleOriginIdentifierFactory; mSubsetExampleOriginHelper = subsetExampleOriginHelper; }