protected internal virtual bool IsEquivalent(StatFunction statFunction) { if (statFunction == null) { return(false); } return((this.GetType() == statFunction.GetType()) && (this.SourcePropertyName == statFunction.SourcePropertyName)); }
protected internal virtual bool IsEquivalent(StatFunction statFunction) { if (object.ReferenceEquals(statFunction, null)) { return(false); } if (object.ReferenceEquals(statFunction, this)) { return(true); } return((this.GetType() == statFunction.GetType()) && (this.SourcePropertyName == statFunction.SourcePropertyName)); }
protected internal virtual bool IsEquivalent( StatFunction statFunction ) { if( statFunction == null ) return false; return ( this.GetType() == statFunction.GetType() ) && ( this.SourcePropertyName == statFunction.SourcePropertyName ); }
protected internal virtual bool IsEquivalent( StatFunction statFunction ) { if( object.ReferenceEquals( statFunction, null ) ) return false; if( object.ReferenceEquals( statFunction, this ) ) return true; return ( this.GetType() == statFunction.GetType() ) && ( this.SourcePropertyName == statFunction.SourcePropertyName ); }