Versions/VersionSpecs.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;


namespace ComLib.VersionCheck
{
    /// <summary>
    /// Match condition
    /// </summary>    
    public enum VersionMatch
    {
        /// <summary>
        /// Target Component must equal ( match exactly ) against definition.
        /// </summary>
        Equal,


        /// <summary>
        /// Target component must be equal to or greater than definition.
        /// </summary>
        GreaterEqual,


        /// <summary>
        /// Target component must be equal to or less than definition.
        /// </summary>
        LessEqual,


        /// <summary>
        /// Target component must not be equal to the definition.
        /// </summary>
        NotEqual,


        /// <summary>
        /// Indicates that the match can be any of the above.
        /// Useful just for checking if files exist.
        /// </summary>
        Any
    };



    /// <summary>
    /// Check mode.
    /// </summary>
    public enum VersionRequirement
    { 
        /// <summary>
        /// Indicates that the definition component is required ( on target computer )
        /// </summary>
        Required,


        /// <summary>
        /// Indicates that the definition component can be optional.
后面还有 4 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。