protected override void ProcessRecord()
        {
            base.ProcessRecord();
            ListDependentObjectsRequest request;

            try
            {
                request = new ListDependentObjectsRequest
                {
                    WorkspaceId    = WorkspaceId,
                    ApplicationKey = ApplicationKey,
                    Fields         = Fields,
                    Name           = Name,
                    Identifier     = Identifier,
                    Type           = Type,
                    TypeInSubtree  = TypeInSubtree,
                    Limit          = Limit,
                    Page           = Page,
                    SortOrder      = SortOrder,
                    SortBy         = SortBy,
                    OpcRequestId   = OpcRequestId
                };
                IEnumerable <ListDependentObjectsResponse> responses = GetRequestDelegate().Invoke(request);
                foreach (var item in responses)
                {
                    response = item;
                    WriteOutput(response, response.DependentObjectSummaryCollection, true);
                }
                FinishProcessing(response);
            }
            catch (Exception ex)
            {
                TerminatingErrorDuringExecution(ex);
            }
        }
        protected override void ProcessRecord()
        {
            base.ProcessRecord();
            ListDependentObjectsRequest request;

            try
            {
                request = new ListDependentObjectsRequest
                {
                    WorkspaceId    = WorkspaceId,
                    ApplicationKey = ApplicationKey,
                    Fields         = Fields,
                    Name           = Name,
                    NameContains   = NameContains,
                    Identifier     = Identifier,
                    Type           = Type,
                    TypeInSubtree  = TypeInSubtree,
                    Limit          = Limit,
                    Page           = Page,
                    SortOrder      = SortOrder,
                    SortBy         = SortBy,
                    OpcRequestId   = OpcRequestId
                };
                IEnumerable <ListDependentObjectsResponse> responses = GetRequestDelegate().Invoke(request);
                foreach (var item in responses)
                {
                    response = item;
                    WriteOutput(response, response.DependentObjectSummaryCollection, true);
                }
                if (!ParameterSetName.Equals(AllPageSet) && !ParameterSetName.Equals(LimitSet) && response.OpcNextPage != null)
                {
                    WriteWarning("This operation supports pagination and not all resources were returned. Re-run using the -All option to auto paginate and list all resources.");
                }
                FinishProcessing(response);
            }
            catch (Exception ex)
            {
                TerminatingErrorDuringExecution(ex);
            }
        }