private void RunDisplayItemDetailsTabIntent()
        {
            var item = mCommandsContext.SelectedModels.Single().OriginalItem;

            // If we got here, then there must be at least one card that
            // contains data from the example source, so just take the first.
            var subsettingExampleOriginIdentifier = GetProvenancesFromItemForExampleDataSource(item)
                                                    .Select(x => mSubsettingExampleOriginIdentifierFactory.Create(x.OriginIdentifier))
                                                    .First();

            var intent = new ItemDetailsTabIntent(subsettingExampleOriginIdentifier.Id,
                                                  subsettingExampleOriginIdentifier.Source);

            mIntentManager.Run(intent);
        }
コード例 #2
0
        private void RunDisplayItemDetailsTabIntent()
        {
            var item = mCommandsContext.SelectedModels.Single().OriginalItem;

            // If we got here, then there must be at least one card that
            // contains data from the example source, so just take the first.
            var subsettingExampleOriginIdentifier = GetProvenancesFromItemForExampleDataSource(item)
                .Select(x => mSubsettingExampleOriginIdentifierFactory.Create(x.OriginIdentifier))
                .First();

            var intent = new ItemDetailsTabIntent(subsettingExampleOriginIdentifier.Id,
                                                         subsettingExampleOriginIdentifier.Source);
            mIntentManager.Run(intent);
        }