NVelocity.App.Tools.VelocityFormatter.IsNull C# (CSharp) Method

IsNull() public method

Returns a default value if the object passed is null.
public IsNull ( Object o, Object dflt ) : Object
o Object
dflt Object
return Object
		public Object IsNull(Object o, Object dflt)
		{
			if (o == null)
				return dflt;
			else
				return o;
		}
	}