Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
23 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
namespace AutoMapper | ||
{ | ||
public interface IMemberAccessor : IMemberGetter | ||
{ | ||
void SetValue(object destination, object value); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,11 @@ | ||
using System; | ||
using System.Reflection; | ||
|
||
namespace AutoMapper | ||
{ | ||
public interface IMemberResolver : IValueResolver | ||
{ | ||
Type MemberType { get; } | ||
} | ||
|
||
public interface IMemberGetter : IMemberResolver | ||
{ | ||
MemberInfo MemberInfo { get; } | ||
string Name { get; } | ||
object GetValue(object source); | ||
} | ||
using System.Reflection; | ||
|
||
public interface IMemberAccessor : IMemberGetter | ||
{ | ||
void SetValue(object destination, object value); | ||
} | ||
public interface IMemberGetter : IMemberResolver | ||
{ | ||
MemberInfo MemberInfo { get; } | ||
string Name { get; } | ||
object GetValue(object source); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
namespace AutoMapper | ||
{ | ||
using System; | ||
|
||
public interface IMemberResolver : IValueResolver | ||
{ | ||
Type MemberType { get; } | ||
} | ||
} |