Class DSCCommentIncludeResource

All Implemented Interfaces:
DSCParserConstants, DSCComment, DSCEvent

public class DSCCommentIncludeResource extends AbstractResourceDSCComment
Represents a %IncludeResource DSC comment.
  • Constructor Details

    • DSCCommentIncludeResource

      public DSCCommentIncludeResource()
      Creates a new instance
    • DSCCommentIncludeResource

      public DSCCommentIncludeResource(PSResource resource)
      Creates a new instance for a given PSResource instance
      Parameters:
      resource - the resource
  • Method Details

    • getName

      public String getName()
      Returns the name of the DSC comment.
      Returns:
      the name of the DSC comment (without the "%%" prefix)