Browse by Tags

Related Posts

  • Abstract class V/S Interface

    Abstract Class: Abstract classes are classes that cannot be instantiated and are partially implemented or not implemented. Members that are implemented can still be overridden in the implementation class. A class can only inherit only one abstract class or any other type of class. Abstract classes provide...
    Posted to Getting Started (Forum) by ajaypathak on 08-12-2008, 12:00 AM
    Filed under: Abstract class, Interface
  • Re: When v go for Abstract Classes and Interfaces

    In short, use abstract classes if you want to provide some base implementation - by means of non abstract methods etc. Go for interfaces if the functionality / contract you want classes to conform to is merely a feature and doesn't define your entity as a whole. Cheers, Wim
    Posted to Architecture (Forum) by WimH on 06-30-2008, 12:00 AM
    Filed under: abstract class, interface
  • Re: Interfaces and abstract base classes

    Hi you have to declare I1 methods but you mustn't implement their body. Try somthing like this: abstract class B1 { public abstract void b1(); } interface I1 { void i1m(); } abstract class B2 : B1, I1 { public abstract void i1m(); } class D1 : B2 { public override void b1() { } public override void...
    Posted to Architecture (Forum) by Wamba on 04-24-2008, 12:00 AM
    Filed under: approach, arcitecture, C#, Class Design, interface, inheritance
  • Interfaces and abstract base classes

    I want to do something like this: abstract class B1 { } interface I1 { } abstract class B2 : B1, I1 { } class D1 : B2 { } class D2 : B2 { } I want to create an abstract base class that derives from both a base class and an interface (B2), and then create concrete classes derived from that class (D1,...
    Posted to Architecture (Forum) by Jack_A on 04-24-2008, 12:00 AM
    Filed under: approach, arcitecture, C#, Class Design, interface, inheritance
  • Problem when prividing interface as TypeName of ObjectDataSource

    Hello all. I got interfaces IGenericDao and IUserDao : public interface IUserDao : IGenericDao int > { void SetRoleFilter( int roleId); void SetUserNameFilter(String userName); } public interface IGenericDao { void SaveOrUpdate(TEntity entity); void Delete(TEntity entity); IList GetAll(); IList GetAll...
    Posted to Data Access and ObjectDataSource Control (Forum) by belochub on 02-20-2008, 12:00 AM
    Filed under: objectdatasource, TypeName, interface
  • Re: Communication between windows service and asp.net component

    I agree with the other comments here about remoting, it is a natural for Windows to Windows communications. I have used remoting from a windows service that is the core middleware serving a multi-user desktop app, and three internal and two public data-driven and dynamic websites concurrently without...
    Posted to Architecture (Forum) by MrKazoo on 02-04-2008, 12:00 AM
    Filed under: remoting web services, web service, .NET, interface, WCF
  • Internationalisation component

    Let me explain This is where I work www.guidestar.org.uk We display financial info about all of the charities in uk and wales. We are undergoing an internationalisation where countries across Europe want our business model, so we have really made the site successful. I fuly understand and have experience...
    Posted to Localization (Forum) by born_2_code on 10-24-2007, 12:00 AM
    Filed under: components, interface, language packs, localisation, api, internationalisation
  • Strategy pattern implementation Orders and Shipping

    I have a Shipping Interface as below: Public Interface IShipping ReadOnly Property name() As String Function ParcelTrackURL( ByVal OrderID As Long ) As String ' Other methods... End Interface and I have two implementations: Public Class BobsCarriage Implements IShipping Public ReadOnly Property name...
    Posted to Architecture (Forum) by scott@elbandit.co.uk on 08-17-2007, 12:00 AM
    Filed under: Basic Architecture Design, Best Practices, Class Design, Factory pattern, interface, Strategy pattern, Patterns & Practices
  • Is this the Factory Pattern? Abstract Class, Class libraries

    hello I would like some help, I am designing a system and would like to know if I have the basics before I get to far into the project. Could you have a look at my project solution below and let me know what you think. Many thanks Scott. I have a simple test project set up like so: the class listing...
    Posted to Architecture (Forum) by scott@elbandit.co.uk on 05-16-2007, 12:00 AM
    Filed under: architecture, Basic Architecture Design, bll, business, business logic layer, Class Design, classes, dal, design, design pattern, interface, inheritance, Patterns & Practices, ASP.NET Architecture
  • Architecture Advice for Tracking/cms system

    hello, Im currently working on a tracking system for a kb tool. Here's my basic scenario: our knowledge base will be a straight forward system. Similar to a webhelp(robohelp) project, it will have a side menu with table of contents pointing to files,pages,external links in a content frame. some of the...
    Posted to Architecture (Forum) by werD on 02-15-2007, 12:00 AM
    Filed under: interface, inheritance
Page 1 of 2 (14 items) 1 2 Next >