コード例 #1
0
 private void SetUpData()
 {
     Store(_frisbee  = new NamedThing("Frisbee"));
     Store(_bee      = new NamedThing("Bee"));
     Store(_friday   = new NamedThing("Friday"));
     Store(_robinson = new NamedThing("Robinson Crusoe"));
     Store(_round    = new NamedThing("Round Robin"));
 }
コード例 #2
0
		void SetUpData()
		{	
			Store(_frisbee = new NamedThing("Frisbee"));
			Store(_bee = new NamedThing("Bee"));
			Store(_friday = new NamedThing("Friday"));
			Store(_robinson = new NamedThing("Robinson Crusoe"));
			Store(_round = new NamedThing("Round Robin"));
		}
コード例 #3
0
		public bool Match(NamedThing thing)
		{
			return thing.Name.Contains(_s);
		}
コード例 #4
0
		public bool Match(NamedThing thing)
		{
			return _s.Equals(thing.Name);
		}
コード例 #5
0
		public bool Match(NamedThing thing)
		{
			return thing.Name.EndsWith(_s);
		}
コード例 #6
0
 public bool Match(NamedThing thing)
 {
     return(thing.Name.Contains(_s));
 }
コード例 #7
0
 public bool Match(NamedThing thing)
 {
     return(_s.Equals(thing.Name));
 }
コード例 #8
0
 public bool Match(NamedThing thing)
 {
     return(thing.Name.EndsWith(_s));
 }