473,322 Members | 1,425 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How an internal class in Server.dll can be use in Client.dll???

Kim
How an internal class in Server.dll can be use in Client.dll???

When i read the System.Workflow.Runtime.dll's source, I found the
following code is difficult to understand.

public void SubscribeForCorrelationTokenInitializedEvent(Activ ity
activity, IActivityEventListener<CorrelationTokenEventArgs>
dataChangeListener)
{
if (null == activity)
{
throw new ArgumentNullException("activity");
}
if (null ==dataChangeListener)
{
throw new ArgumentNullException("dataChangeListener");
}

ActivityExecutorDelegateInfo<CorrelationTokenEvent Args>
item = new
ActivityExecutorDelegateInfo<CorrelationTokenEvent Args>(dataChangeListener,
ContextActivityUtils.ContextActivity(activity), true);

IList<ActivityExecutorDelegateInfo<CorrelationToke nEventArgs>list =
base.GetValue(SubscriptionsProperty) as
IList<ActivityExecutorDelegateInfo<CorrelationToke nEventArgs>>;
if (list == null)
{
list = new
List<ActivityExecutorDelegateInfo<CorrelationToken EventArgs>>();
base.SetValue(SubscriptionsProperty, list);
}
list.Add(item);
}

that is a method of class CorrelationToken in
System.Workflow.Runtime.dll, But ActivityExecutorDelegateInfo<Tis
an interal class in System.Workflow.ConponentModel.dll!!!
how and why?
Jun 27 '08 #1
0 994

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: accessyou | last post by:
I am using a windows 2000 with apache and php5 A simple url submit containing only english characters are OK: http://www.abc.com/submit.php?msg=test If the value of msg is replaced with a...
8
by: Rod | last post by:
I have been working with ASP.NET 1.1 for quite a while now. For some reason, opening some ASP.NET applications we wrote is producing the following error message: "The Web server reported...
4
by: Terry | last post by:
Hello, I am trying to get a response for an .aspx page in my current project (same virtual directory) by using WebRequest.GetResponse but I keep getting a exception with "500 Internal server...
11
by: scorpion53061 | last post by:
I have been asked to come up with a way to make a instant message program that will allow our outside customers by clicking on a name in a drop down menu can IM who they want. THe application I...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
9
by: JT | last post by:
Here is the overall structure I will be referring to: End-program ProvideWorkFlow.dll Forms and methods that properly manipulate calls to methods in AccessUtils AccessUtils (a web service)...
6
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I am thinking about doing this since I got several cases that some of our internal users open more than one browser at the same time from our server. When one of the transactions was not...
3
by: guiroux22 | last post by:
Hi everybody, I have two assemblies. The first is used by the client sites and provides some public classes using internal classes (access must be restrictive). The second is an "administrative"...
0
by: Kim | last post by:
How an internal class in Server.dll can be use in Client.dll??? When i read the System.Workflow.Runtime.dll's source, I found the following code is difficult to understand. public void...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.