Click here to Skip to main content
Click here to Skip to main content
 

A Simple Solution to Some Problems with Asynchrony in Silverlight

By , 9 Mar 2010
 
TaskManagerDemo.zip
TaskManagerDemo.Web
App_Data
bin
ClientBin
DataContracts
ExampleService.svc
Properties
TaskManagerDemo.Web.csproj.user
TaskManagerDemo
Bin
Debug
Controls
Properties
Service References
ExampleServiceReference
configuration.svcinfo
configuration91.svcinfo
ExampleService.disco
ExampleService.wsdl
Reference.svcmap
TaskManagerDemo.ExampleServiceReference.CityZipCode.datasource
ServiceReferences.ClientConfig
Themes
Utility
using System.Collections.Generic;
using TaskManagerDemo.ExampleServiceReference;

namespace TaskManagerDemo.Utility
{
    public class ZipCodeComparer : IEqualityComparer<CityZipCode>
    {
        public bool Equals(CityZipCode x, CityZipCode y)
        {
            return x.ZipCode.Equals(y.ZipCode);
        }

        public int GetHashCode(CityZipCode obj)
        {
            return obj.ZipCode.GetHashCode();
        }
    }
}

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

George Henry 1954
Software Developer (Senior) Experis
United States United States
Member
George Henry has worked as a software developer for more than 20 years. He is currently employed by Experis in Bellevue, Washington, USA and working as a vendor contractor at Microsoft.

Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 9 Mar 2010
Article Copyright 2009 by George Henry 1954
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid