473,396 Members | 1,838 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,396 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 996

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.