Represents the current state of a VSS file.
상속: VssItemInfo
예제 #1
0
        private VssFileInfo GetOrCreateFile(VssItemName name)
        {
            VssFileInfo fileInfo;

            if (!fileInfos.TryGetValue(name.PhysicalName, out fileInfo))
            {
                fileInfo = new VssFileInfo(name.PhysicalName, name.LogicalName);
                fileInfos[name.PhysicalName] = fileInfo;
            }
            return(fileInfo);
        }
예제 #2
0
 private VssFileInfo GetOrCreateFile(VssItemName name)
 {
     VssFileInfo fileInfo;
     if (!fileInfos.TryGetValue(name.PhysicalName, out fileInfo))
     {
         fileInfo = new VssFileInfo(name.PhysicalName, name.LogicalName);
         fileInfos[name.PhysicalName] = fileInfo;
     }
     return fileInfo;
 }
예제 #3
0
        public void SetFileVersion(VssItemName name, int version)
        {
            VssFileInfo fileInfo = GetOrCreateFile(name);

            fileInfo.Version = version;
        }