When I pass a reference to an instance to a method, what is the correct
cfargument type I should use?

Here is an example in which all of the types are the same names as my
actual components.

<cfargument name="UserName" type="string" required="Yes">
<cfargument name="objADService" type="ActiveDirectoryService"
required="Yes">
<cfargument name="objUserService" type="UserService" required="Yes">
<cfargument name="objCourseService" type="CourseService" required="Yes">

This code works, but is it the "correct" way?

With instance references, is the type attribute even verified?

M!chael A. Dawson
Group Manager, Programming and Software Development
Office of Technology Services
University of Evansville
1800 Lincoln Avenue
Evansville, IN 47722
812-479-2581
----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the word 'unsubscribe cfcdev'
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

Reply via email to