PageRenderTime 38ms CodeModel.GetById 10ms RepoModel.GetById 1ms app.codeStats 0ms

/Shared/Member Management/TradingCenterMember/IsNullOrEmpty.cs

#
C# | 18 lines | 12 code | 1 blank | 5 comment | 1 complexity | 44643529970f9f2dee7e87d019c9215e MD5 | raw file
  1. using SpiderMaster;
  2. namespace SpiderMaster.AspNet.TradingSystem
  3. {
  4. public sealed partial class TradingCenterMember
  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(TradingCenterMember Current)
  13. {
  14. return (Current.IsNull() || Current.Equals(Empty));
  15. }
  16. }
  17. }