I am trying to write a class called Trie that implements the IDictionary inteface, however when I try to compile my code I get the following error:
Error 1 Error occured during processing of assembly 'F:\Progs\C#\Sy nctopClient\Syn ctopClient\Sync topClient\bin\D ebug\SynctopCli ent.exe': The type or method has 2 generic parameter(s), but 1 generic argument(s) were provided. A generic argument must be provided for each generic parameter. SynctopClientTe st
Here is the code that causes this: - class TrieDictionary<T> : IDictionary<string, T>
-
{
-
IEnumerator<KeyValuePair<string, T>> IEnumerable<KeyValuePair<string, T>>.GetEnumerator()
-
{
-
throw new System.NotImplementedException();
-
}
-
-
IEnumerator IEnumerable.GetEnumerator()
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public void Add(KeyValuePair<string, T> item)
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public void Clear()
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public bool Contains(KeyValuePair<string, T> item)
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public void CopyTo(KeyValuePair<string, T>[] array, int arrayIndex)
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public bool Remove(KeyValuePair<string, T> item)
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public int Count
-
{
-
get { throw new System.NotImplementedException(); }
-
}
-
-
public bool IsReadOnly
-
{
-
get { throw new System.NotImplementedException(); }
-
}
-
-
public bool ContainsKey(string key)
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public void Add(string key, T value)
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public bool Remove(string key)
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public bool TryGetValue(string key, out T value)
-
{
-
throw new System.NotImplementedException();
-
}
-
-
public T this[string key]
-
{
-
get { throw new System.NotImplementedException(); }
-
set { throw new System.NotImplementedException(); }
-
}
-
-
public ICollection<string> Keys
-
{
-
get { throw new System.NotImplementedException(); }
-
}
-
-
public ICollection<T> Values
-
{
-
get { throw new System.NotImplementedException(); }
-
}
-
}
-
-
Does anyone understand what the problem here is and how I can solve it ?
Thanks in advance.
0 1218 Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Remo |
last post by:
Hi
I want to install the VS .Net 2003 Prof on my XP prof
First i tryed the installation, but error occured during required comps.
Reading docu, they say install required comps by hand, doing so, install
IE6SP1 ,...., and at DotnetFx.EXE it works great, copy files, register all,
and at the end, an error occured (all will be rolled back):
Microsoft .NET Framework 1.1 Setup
Error 1935. An Error occured during the installation of assembly...
|
by: sean |
last post by:
Hi there,
I am trying to call a C# web service from an aspx page, I have the asmx
file, a user control file ascx and the aspx file. I have verified that the
web service is returning correct values from the service, however when I try
to load the aspx page it falls over in a cruumbling heap! Could someone tell
me what I am doing wrong as I know that I am close to getting this thing
working.
Thanks in advance for your answer
|
by: Scott Hamlin |
last post by:
I am receiving an error while trying to use Crystal Reports with .NET, which
I have pasted below. The main problem is this message:
File or assembly name CrystalDecisions.CrystalReports.Engine, or one of
its dependencies, was not found.
I have checked the winnt/assembly directory and the assembly is there. I
have two versions of the file - 9.1.5000.0 and 9.1.3300.0. I have tried both
with no luck. Is there another assembly that...
|
by: Oney |
last post by:
I use Microsoft Exception management block to publish exception to
event log. but some error occured. Error is blow, how can I solve this
problem ???
Configuration Error
Description: An error occurred during the processing of a
configuration file required to service this request. Please review the
specific error details below and modify your configuration file
appropriately.
|
by: Dan |
last post by:
Hi everyone,
I have a web application that was built in .net. I received the source
code and the DLL files, compiled the application, and when I run it on
IIS, I get the following error.
Now, I think I know what may be causing the problem. The project
required a DLL called Trinet.DLL, This DLL was not included with the
source code, but I had one called Trinet.v1.dll, so I renamed the DLL
to Trinet.DLL, re-added the reference and...
| |
by: Terry Holland |
last post by:
I posted a follow up to an earlier post but did not receive response so here
it is again (with original post and response)
> This could be because you are running the index service over this web
> application. try to stop indexing this application (from IIS management
> console, clear "Index this resource") or stop the index service to test if
> you still get error or not.
I removed this option but still get the error. The error...
|
by: Richard Thornley |
last post by:
Hello,
I am working on a VB.Net application and I am getting an error ONLY on the
main computer that uses the application. The main computer is on the other
coast so of course it would be the one having the problem. The application
works fine on the test computers in my office. The test computers are all
running Windows XP Service Pack 2. (Now that I wrote that I should check
the version of Windows XP on the main computer.)
Here is...
|
by: Josef Brunner |
last post by:
Hi,
I published my application (VS 2005) and am now trying to install it when I
get this error message. It worked before...even on a different machine.
Here is the detailed description:
PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.42
|
by: whitehorse |
last post by:
When the warehousecontroller service is invoked, the following error message
is sent to the application log:
Event Type: Error
Event Source: TFS Warehouse
Event Category: None
Event ID: 3000
Date: 4/14/2006
Time: 2:41:08 PM
User: N/A
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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: 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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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: 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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |