Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
hazzik committed Jun 7, 2018
1 parent 7f74a96 commit dd1081d
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,14 @@ protected override void RegisterComponentMapping<TComponent>(Expression<Func<TEn
base.RegisterComponentMapping(property, mapping);
}

protected override void RegisterDynamicComponentMapping<TComponent>(Expression<Func<TEntity, System.Collections.IDictionary>> property
, Action<IDynamicComponentMapper<TComponent>> mapping)
protected override void RegisterDynamicComponentMapping<TComponent>(Expression<Func<TEntity, System.Collections.IDictionary>> property, Action<IDynamicComponentMapper<TComponent>> mapping)
{
MemberInfo member = TypeExtensions.DecodeMemberAccessExpression(property);
ExplicitDeclarationsHolder.AddAsPropertySplit(new SplitDefinition(typeof(TEntity), splitGroupId, member));
base.RegisterDynamicComponentMapping(property, mapping);
}

protected override void RegisterDynamicComponentMapping<TComponent>(Expression<Func<TEntity, IDictionary<string, object>>> property
, Action<IDynamicComponentMapper<TComponent>> mapping)
protected override void RegisterDynamicComponentMapping<TComponent>(Expression<Func<TEntity, IDictionary<string, object>>> property, Action<IDynamicComponentMapper<TComponent>> mapping)
{
MemberInfo member = TypeExtensions.DecodeMemberAccessExpression(property);
ExplicitDeclarationsHolder.AddAsPropertySplit(new SplitDefinition(typeof(TEntity), splitGroupId, member));
Expand Down Expand Up @@ -169,4 +167,4 @@ protected override void RegisterIdBagMapping<TElement>(Expression<Func<TEntity,
base.RegisterIdBagMapping(property, collectionMapping, mapping);
}
}
}
}

0 comments on commit dd1081d

Please sign in to comment.