public ContainsItem ( string findAndReplaceItem ) : bool | ||
findAndReplaceItem | string | String to search for. |
return | bool |
public bool ContainsItem(string findAndReplaceItem)
{
bool result = false;
if (_templateContents.ToLower().Contains(findAndReplaceItem.ToLower()))
{
result = true;
}
return result;
}