Skip to content

Commit

Permalink
Improved trace messages for PropertyToken
Browse files Browse the repository at this point in the history
  • Loading branch information
slodge committed Aug 23, 2013
1 parent e9b67f7 commit 876adf8
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,9 @@ namespace Cirrious.MvvmCross.Binding.Parse.PropertyPath.PropertyTokens
{
public class MvxEmptyPropertyToken : MvxPropertyToken
{
public override string ToString()
{
return "Property:WholeObject";
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ protected MvxIndexerPropertyToken(object key)
}

public object Key { get; private set; }

public override string ToString()
{
return "IndexedProperty:" + (Key == null ? "null" : Key.ToString());
}
}

public class MvxIndexerPropertyToken<T> : MvxIndexerPropertyToken
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@ public MvxPropertyNamePropertyToken(string propertyText)
}

public string PropertyName { get; private set; }

public override string ToString()
{
return "Property:" + PropertyName;
}
}
}

0 comments on commit 876adf8

Please sign in to comment.