protected override void Cleanup() { ConsumedMethod?.Dispose(); ProvidedMethod?.Dispose(); ContextLinkageOptions?.Dispose(); ClearTarget(); }
protected override void Cleanup() { ProvidedMethod?.Dispose(); ProvidedMethod = default; MethodTitle = default; InputMessageId = default; OutputMessageId = default; MethodType = default; }
protected override void Cleanup() { InputMessageId = string.Empty; OutputMessageId = string.Empty; MethodTitle = string.Empty; MethodType = default; ProvidedMethod?.Dispose(); ProvidedMethod = default; }
protected override void Cleanup() { InputMessageId = string.Empty; OutputMessageId = string.Empty; MethodTitle = string.Empty; MethodType = default; ProvidedMethod?.Dispose(); ProvidedMethod = default; foreach (var option in Options) { option.Dispose(); } Options.Clear(); }
protected override void Cleanup() { ProvidedMethod?.Dispose(); ProvidedMethod = default; MethodTitle = default; InputMessageId = default; OutputMessageId = default; MethodType = default; foreach (var option in Options) { option.Dispose(); } Options = ArrayConstants <IOption> .Empty; }
protected override void Cleanup() { ConsumedMethod?.Dispose(); ProvidedMethod?.Dispose(); ClearTarget(); }