Skip to content

Commit

Permalink
Merge pull request #4 from ClydeDz/dev/0.3.0
Browse files Browse the repository at this point in the history
Add a constructor to settings class so it generates documentation on the consumer's side.
  • Loading branch information
ClydeDz authored Dec 22, 2020
2 parents 6b3d36c + d15b30b commit 9820d26
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var avatarURL= GiveMeAnAvatar.GetAvatarURL(settings);
|--------------------------------------------|------------------------------------------------------|
| [placeholder.com](https://placeholder.com) | ![image](https://via.placeholder.com/128?Text=J%20S) |
| [placeimg.com](https://placeimg.com) | ![image](https://placeimg.com/128/128/people) |
| [placekitten.com](https://placekitten.com) | ![image](https://placekitten.com/g/128/128?cache=nuget) |
| [placekitten.com](https://placekitten.com) | ![image](https://placekitten.com/g/128/128?usage=readme) |
| [dummyimage.com](https://dummyimage.com/) | ![image](https://dummyimage.com/128x128&text=J%20S) |
| [loremflickr.com](https://loremflickr.com) | ![image](https://loremflickr.com/128/128/human) |
| [baconmockup.com](https://baconmockup.com) | ![image](https://baconmockup.com/128/128/) |
Expand Down
3 changes: 2 additions & 1 deletion src/GiveMeAnAvatar/GiveMeAnAvatar.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0;net5.0</TargetFrameworks>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.2.0</Version>
<Version>0.3.0</Version>
<Description>Gets a random avatar URL from a collection of different avatar generation services.</Description>
<Authors>Clyde D'Souza</Authors>
<Product>Give Me an Avatar</Product>
<Title>Give Me an Avatar</Title>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Copyright>Copyright (c) 2020 Clyde D'Souza</Copyright>
<PackageProjectUrl>https://github.com/ClydeDz/give-me-an-avatar-nuget</PackageProjectUrl>
Expand Down
5 changes: 5 additions & 0 deletions src/GiveMeAnAvatar/Model/AvatarSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ public class AvatarSettings
private int? _size;
private string _extraFilter;

/// <summary>
/// Use these avatar settings to customize your avatar a bit.
/// </summary>
public AvatarSettings() { }

/// <summary>
/// (Optional) Some avatars display user initials or even the full name and if this setting isn't supplied,
/// the program randomly decides a user initial. Feel free to supply a value if you need to
Expand Down

0 comments on commit 9820d26

Please sign in to comment.