Skip to content

Commit 0f11e78

Browse files
author
rstam
committed
Finished merging pull request 88 with minor formatting changes.
1 parent f00b15e commit 0f11e78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Bson/Serialization/BsonClassMap.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -816,17 +816,18 @@ public BsonMemberMap MapProperty(string propertyName)
816816
}
817817
return MapMember(propertyInfo);
818818
}
819+
819820
/// <summary>
820821
/// Sets the creator for the object.
821822
/// </summary>
822823
/// <param name="creator">The creator.</param>
823824
/// <returns>The class map (so method calls can be chained).</returns>
824825
public BsonClassMap SetCreator(Func<object> creator)
825826
{
826-
this._creator = creator;
827+
_creator = creator;
827828
return this;
828-
829829
}
830+
830831
/// <summary>
831832
/// Sets the discriminator.
832833
/// </summary>
@@ -878,6 +879,7 @@ public void SetExtraElementsMember(BsonMemberMap memberMap)
878879

879880
_extraElementsMemberMap = memberMap;
880881
}
882+
881883
/// <summary>
882884
/// Adds a known type to the class map.
883885
/// </summary>
@@ -1317,8 +1319,6 @@ public BsonMemberMap GetMemberMap<TMember>(Expression<Func<TClass, TMember>> mem
13171319
return GetMemberMap(memberName);
13181320
}
13191321

1320-
1321-
13221322
/// <summary>
13231323
/// Creates a member map for the extra elements field and adds it to the class map.
13241324
/// </summary>

0 commit comments

Comments
 (0)