Problem with Custom Functoid in C#
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > Problem with Custom Functoid in C#




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Problem with Custom Functoid in C#  
RichardT


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
10-03-04 01:59 AM

I'm writing what should be a simple functoid to return one of two strings
based on an incoming boolean parameter.

This code works in a script functoid using Inline C# but returns nothing
when I put it in an external functoid that's been GAC'ed.

public string IfThenElseScript(bool boolVal, string trueVal, string falseVal
)
{
string target = "NULL";

if (boolVal)
{
target = trueVal;
}
else
{
target = falseVal;
}

return target;
}

--
RichardT





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:12 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register