コード例 #1
0
ファイル: PropertyKey.cs プロジェクト: iAJTin/iEEDID
        /// <summary>
        /// Returns the property name. If is null or empty then returns this property name.
        /// </summary>
        /// <returns>
        /// Property name.
        /// </returns>
        public string GetPropertyName()
        {
            string name = PropertyId.GetPropertyName();

            return(string.IsNullOrEmpty(name)
                ? PropertyId.ToString()
                : name);
        }
コード例 #2
0
ファイル: PropertyKey.cs プロジェクト: wbcuc/iSMBIOS
 /// <summary>
 /// Returns the property name.
 /// </summary>
 /// <returns>
 /// Property name.
 /// </returns>
 public string GetPropertyName()
 {
     return(PropertyId.GetPropertyName());
 }