NVelocity.App.Tools.VelocityFormatter.IsNull C# (CSharp) 메소드

IsNull() 공개 메소드

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