PageRenderTime 49ms CodeModel.GetById 24ms RepoModel.GetById 1ms app.codeStats 0ms

/Shared/Member Management/TradingCenterMemberListingCommon/IsNullOrEmpty.cs

#
C# | 18 lines | 12 code | 1 blank | 5 comment | 1 complexity | b4d8163dd5b5ab135d545f5dcbf2a0af MD5 | raw file
  1. using SpiderMaster;
  2. namespace SpiderMaster.AspNet.TradingSystem
  3. {
  4. public sealed partial class TradingCenterMemberListingCommon
  5. {
  6. /// <summary> Determines whether [is null or empty] [the specified current]. </summary>
  7. /// <param name="Current">The current.</param>
  8. /// <returns>
  9. /// <c>true</c> if [is null or empty] [the specified current]; otherwise, <c>false</c>.
  10. /// </returns>
  11. [ReganSchroder(8, 10, 1, 10)]
  12. public static bool IsNullOrEmpty(TradingCenterMemberListingCommon Current)
  13. {
  14. return (Current.IsNull() || Current.Equals(Empty));
  15. }
  16. }
  17. }