NVelocity.App.Tools.VelocityFormatter.IsNull C# (CSharp) Méthode

IsNull() public méthode

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