示例#1
0
        protected override void BeginProcessing()
        {
            var documentAs = _ParameterAs ?? new ParameterAs(null);

            Path = GetUnresolvedProviderPathFromPSPath(Path);

            foreach (var doc in FileCollection.ReadDocumentsAs(documentAs.Type, Path, FileFormat))
            {
                WriteObject(doc);
            }
        }