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); }
//internal sealed override void OnInternalCreateDynamicUpdateMap(DynamicUpdateMapBuilder.Finalizer finalizer, // DynamicUpdateMapBuilder.IDefinitionMatcher matcher, Activity originalActivity) //{ //} //protected sealed override void OnCreateDynamicUpdateMap(UpdateMapMetadata metadata, Activity originalActivity) //{ // // NO OP //} protected sealed override void CacheMetadata(ActivityMetadata metadata) { throw CoreWf.Internals.FxTrace.Exception.AsError(new InvalidOperationException(SR.WrongCacheMetadataForCodeActivity)); }
protected sealed override void CacheMetadata(ActivityMetadata metadata) { throw FxTrace.Exception.AsError(new InvalidOperationException(SR.WrongCacheMetadataForNativeActivity)); }