From 264771f33e734c062229c569e2955e3fc161060e Mon Sep 17 00:00:00 2001 From: Marcin Celej Date: Sat, 3 Sep 2016 07:57:49 +0200 Subject: [PATCH] Create documentation #13 --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index bda0c43..7d2a370 100644 --- a/README.md +++ b/README.md @@ -9,12 +9,12 @@ DbC help us develop more reliable software. It is one of the basic principles of Now, let's quit yapping and show some code: ```C# - [NotNull, Pure] - public static Contractor CreatePerson([NotNull] string firstName, [NotNull] string lastName) - { - Fail.IfArgumentEmpty(firstName, nameof(firstName)); - Fail.IfArgumentEmpty(lastName, nameof(lastName)); +[NotNull, Pure] +public static Contractor CreatePerson([NotNull] string firstName, [NotNull] string lastName) +{ + Fail.IfArgumentEmpty(firstName, nameof(firstName)); + Fail.IfArgumentEmpty(lastName, nameof(lastName)); - throw Fail.Because("Not implemented yet"); - } + throw Fail.Because("Not implemented yet"); +} ```