public static IActivityBuilder New <T>( this ICompositeActivityBuilder compositeActivityBuilder, IDictionary <string, IActivityPropertyValueProvider>?propertyValueProviders = default, IDictionary <string, string>?storageProviders = default, [CallerLineNumber] int lineNumber = default, [CallerFilePath] string?sourceFile = default) where T : class, IActivity => compositeActivityBuilder.New <T>(typeof(T).Name, propertyValueProviders, storageProviders, lineNumber, sourceFile);
public static IActivityBuilder New <T>( this ICompositeActivityBuilder compositeActivityBuilder, Action <ISetupActivity <T> >?setup, [CallerLineNumber] int lineNumber = default, [CallerFilePath] string?sourceFile = default) where T : class, IActivity => compositeActivityBuilder.New <T>(typeof(T).Name, setup, lineNumber, sourceFile);