Bug in GetFirstMessage?

Bug in GetFirstMessage?

Old forum URL: forums.lhotka.net/forums/t/9174.aspx


nelis posted on Monday, July 05, 2010

    public BrokenRule GetFirstMessage(Csla.Core.IPropertyInfo property)
    {
      return this.Where(c => ReferenceEquals(c.Property, property)).FirstOrDefault();
    }

I suppose it should reference property.Name

RockfordLhotka replied on Monday, July 05, 2010

Good catch - thanks!

Copyright (c) Marimer LLC