C# Class Rebel.Framework.HiveEntityUriExtensions

Extension methods for HiveEntityUri
ファイルを表示 Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
ConvertToNullIfEmpty ( this id ) : HiveEntityUri

Returns null if the id is null or empty, otherwise returns the id

IsNullOrEmpty ( this id ) : bool

Extension method to do IsNullOrEmpty fluently

Method Details

ConvertToNullIfEmpty() public static method

Returns null if the id is null or empty, otherwise returns the id
public static ConvertToNullIfEmpty ( this id ) : HiveEntityUri
id this
return HiveEntityUri

IsNullOrEmpty() public static method

Extension method to do IsNullOrEmpty fluently
public static IsNullOrEmpty ( this id ) : bool
id this
return bool