예제 #1
0
        public override bool Equals(object obj)
        {
            if (!(obj is ActivityMetadata))
            {
                return(false);
            }

            ActivityMetadata other = (ActivityMetadata)obj;

            return(other._activity == _activity && other.Environment == this.Environment &&
                   other.CreateEmptyBindings == this.CreateEmptyBindings);
        }
예제 #2
0
 protected sealed override void CacheMetadata(ActivityMetadata metadata)
 {
     throw Microsoft.CoreWf.Internals.FxTrace.Exception.AsError(new InvalidOperationException(SR.WrongCacheMetadataForNativeActivity));
 }