B
Bill McCormick
What is the correct (simplest) way to share data between assemblies?
In very simple, generic terms - for the purpose of illustration, lets
say we have the following:
//Assembly 1
using Assembly2;
namespace Assembly1 {
class class1 {
public string someData;
...
}
}
//Assembly 2
namespace Assembly2 {
class class2 {
public string someMethod() {
//should return Assembly1.class1.someData;
}
}
}
What I'm trying to accomplish is to have a WCF service (someMethod)
located in Assembly2 return someData located in Assembly1.
Thanks,
Bill
In very simple, generic terms - for the purpose of illustration, lets
say we have the following:
//Assembly 1
using Assembly2;
namespace Assembly1 {
class class1 {
public string someData;
...
}
}
//Assembly 2
namespace Assembly2 {
class class2 {
public string someMethod() {
//should return Assembly1.class1.someData;
}
}
}
What I'm trying to accomplish is to have a WCF service (someMethod)
located in Assembly2 return someData located in Assembly1.
Thanks,
Bill