|
by: BillyO |
last post by:
I need a general mechanism for passing parameters to an API function I
am designing, call it foo. Foo processes data, the operation used to
process the data and the parameters for that operation are to be
passed to foo. A simple approach involves the use of base and derived
classes:
Class DataProcessor
{
Public:
enum ProcessorTypeEnum{op1, op2, op3}
|
by: hazz |
last post by:
The following classes follow from the base class ' A ' down to the derived class ' D ' at the bottom of the inheritance chain.
I am calling the class at the bottom, "public class D" from a client app with;
D m_D = new D(tkn);
public class A : MarshalByRefObject
public A () <---------------------
public class B : A
public B () <----------------------
|
by: aa7im |
last post by:
I am attempting to create a base collection that I can use to derive
strongly typed collection. My base collection class will derive from
CollectionBase and I want my typed collections to be forced to
implement certain methods:
public abstract class MyCollectionBase: CollectionBase
{
public void Sort() {.... SORT IMPLEMENTATION }
public void Filter() {...> FILTER IMPLEMENTATION }
|
by: Ido Flatow |
last post by:
As it seems, if I define a nested class in the WS, the client that references
the WS get's a generated code where the nested class is defined outside the
class.
I can say - "Ok, I'll play along" but ... When I create a dataset in the WS,
the generated Typed dataset classes define the datatables as nested classes
of the dataset - somehow, the generated code on the client knows that they
are nested (that's what happens when you let MS...
|
by: vincent |
last post by:
Hello,
I'm webreferecing some webservice.
I have one WebMethod returning "List<SomeClass>"
I don't want "SomeClass" to be proxy generated on client side But i want
to use the same "SomeClass" that i have on server side.
I have seen one day an attribute to put on the WebMethod to specify the return
type.
|
|
by: Jackson |
last post by:
I want a class that will determine its base class by the argument passed
in. What I am about to write _does_not_work_, but it shows what I am
trying to do.
class ABC(some_super):
def __init__(self,some_super):
some_super.__init__(self)
if some_super == list:
self.append('ABC')
|
by: keith.thornhill |
last post by:
hey all, got a problem here using Visual basic .net 2005
i have two pairs of base/derived classes. lets call them Base/Derived
and BaseStruct/DerivedStruct.
i want to be able to instantiate a DerivedStruct in my Derived class,
but have the instance of it be accessible from both the Base class (as
BaseStruct) and Derived class (as DerivedStruct)
this is the kind of code i'm looking to be able to use
|
by: nyathancha |
last post by:
Hi,
How Do I create an instance of a derived class from an instance of a
base class, essentially wrapping up an existing base class with some
additional functionality. The reason I need this is because I am not
always able to control/create all the different constructors the base
class has. My problem can be described in code as follows ...
/* This is the base class with a whole heap of
constructors/functionality*/
public class Animal
|
by: kamran65536 |
last post by:
Hi,
I've implemented a SchemaImporterExtension so I can ignore or change the behaviour of the XmlSerializer used by wsdl.exe.
I successfully did that :) but the problem is the types which has been included to the schema... see:
public class Class1 {}
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|