예제 #1
0
        /// <summary>
        /// Generates the HashSourceFilePipDetails for a given Pip
        /// </summary>
        public HashSourceFilePipDetails GenerateHashSourceFilePipDetails(HashSourceFile pip)
        {
            HashSourceFilePipDetails hashSourceFilePipDetails = new HashSourceFilePipDetails
            {
                FileHashed = pip.Artifact.Path.ToString(PathTable)
            };

            return(hashSourceFilePipDetails);
        }
예제 #2
0
 private XElement GetHashSourceFileDetails(HashSourceFile pip)
 {
     return(m_html.CreateBlock(
                "HashSourceFile Pip Details",
                m_html.CreateRow("Artifact", pip.Artifact)));
 }
예제 #3
0
 private static HashSourceFileSpecificDetails CreateHashSourceFileSpecificDetails(HashSourceFile pip, PathTable pathTable)
 {
     return(new HashSourceFileSpecificDetails
     {
         Artifact = CreateString(pip.Artifact.Path, pathTable)
     });
 }