public Option<string> TryGetConstructiveLabel(Type elementType) => _baseModel.TryGetConstructiveLabel(elementType).Map(x => x.ToCamelCase());
protected AddElementStep(IGraphElementModel elementModel, object value) { Label = elementModel.TryGetConstructiveLabel(value.GetType()).IfNone(value.GetType().Name); }
public Option<string> TryGetConstructiveLabel(Type elementType) { return _baseGraphElementModel .TryGetConstructiveLabel(elementType) .IfNone(elementType.Name); }