예제 #1
0
 public string NameFor(BlockToken token)
 {
     return(NamingStrategyFor(token).NameFor(token));
 }
예제 #2
0
 protected bool Equals(BlockToken other)
 {
     return(string.Equals(_value, other._value) && Equals(_accessor, other._accessor));
 }
예제 #3
0
 public IBlockNamingStrategy NamingStrategyFor(BlockToken token)
 {
     return(AllNamingStrategies().FirstOrDefault(x => x.Matches(token)));
 }