mirror of
https://github.com/farcasclaudiu/myfriendsaround.git
synced 2026-06-29 09:01:55 +03:00
IoC and NavigationService implementation
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace MicroIoc
|
||||
{
|
||||
public static class PatternExtensions
|
||||
{
|
||||
public static string PropertyPattern(this Type type, string memberName)
|
||||
{
|
||||
return type.FullName + "." + memberName;
|
||||
}
|
||||
|
||||
public static string ConstructorParamPattern(this Type type, string memberName)
|
||||
{
|
||||
return type.FullName + "#" + memberName;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user