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));
        }
示例#2
0
        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);
        }
示例#3
0
 protected sealed override void CacheMetadata(ActivityMetadata metadata)
 {
     throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WrongCacheMetadataForCodeActivity));
 }
示例#4
0
 protected override sealed void CacheMetadata(ActivityMetadata metadata)
 {
     throw new NotImplementedException();
 }
示例#5
0
 protected virtual void CacheMetadata(ActivityMetadata metadata)
 {
     throw new NotImplementedException();
 }