public override bool Equals(object obj) { if (!(obj is ActivityMetadata)) { return(false); } ActivityMetadata metadata = (ActivityMetadata)obj; return(((metadata.activity == this.activity) && (metadata.Environment == this.Environment)) && (metadata.CreateEmptyBindings == this.CreateEmptyBindings)); }
public override bool Equals(object obj) { if (!(obj is ActivityMetadata)) { return(false); } ActivityMetadata other = (ActivityMetadata)obj; return(other.activity == this.activity && other.Environment == this.Environment && other.CreateEmptyBindings == this.CreateEmptyBindings); }
protected sealed override void CacheMetadata(ActivityMetadata metadata) { throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WrongCacheMetadataForCodeActivity)); }
protected override sealed void CacheMetadata(ActivityMetadata metadata) { throw new NotImplementedException(); }
protected virtual void CacheMetadata(ActivityMetadata metadata) { throw new NotImplementedException(); }