/// <inheritdoc/> public IReadOnlyList <Exception> ValidateCluster(ClusterConfig cluster) { var context = new TransformClusterValidationContext() { Services = _services, Cluster = cluster, }; // Let the app add any more validation it wants. foreach (var transformProvider in _providers) { transformProvider.ValidateCluster(context); } // We promise not to modify the list after we return it. return((IReadOnlyList <Exception>)context.Errors); }
public void ValidateCluster(TransformClusterValidationContext context) { }