net framework projet with c#

18
.NET FRAMEWORK 2.0 assembly Project Language: C#. In this project, I used the .NET framework to create assemblies that can be reused in other Programs including UI. The first assembly called « foundation » contains Interfaces definition for managing customer information. The Second Assembly, « AppTypes » contains the actual classes definitions all together with a custom exception class, event argument class and custom attributes that demonstrate the OOP practices and design paterns. Also I added xml comments to allow visual studio intellisense description of the Name: Efoe CLUMSON-EKLU Url: www.eclumson.com Email: [email protected] Phone: (718) 736 5576

Upload: eclumson

Post on 10-May-2015

575 views

Category:

Technology


2 download

DESCRIPTION

C# project using the .NET 2.0 framework to create reusable modules.

TRANSCRIPT

Page 1: NET Framework Projet with C#

.NET FRAMEWORK 2.0 assembly ProjectLanguage: C#.

In this project, I used the .NET framework to create assemblies that can be reused in other Programs including UI. The first assembly called « foundation » contains Interfaces definition for managing customer information.The Second Assembly, « AppTypes » contains the actual classes definitions all together with a custom exception class, event argument class and custom attributes that demonstrate the OOP practices and design paterns. Also I added xml comments to allow visual studio intellisense description of the various classes, interfaces and functions.

Name: Efoe CLUMSON-EKLUUrl: www.eclumson.com Email: [email protected]: (718) 736 5576

Page 2: NET Framework Projet with C#

Class Diagram Of «Foundation »

Page 3: NET Framework Projet with C#

«Foundation » Interfaces & abstract class: The codes.

Page 4: NET Framework Projet with C#

« Contact » abstract class.

Page 5: NET Framework Projet with C#

« Contact » class properties validation

Page 6: NET Framework Projet with C#
Page 7: NET Framework Projet with C#

Class Diagram Of «AppTypes » Library. Custom Attributes

Classes with properties and methods, events classes

Page 8: NET Framework Projet with C#
Page 9: NET Framework Projet with C#
Page 10: NET Framework Projet with C#

In the next section is some sample of the codes I wrote to implement “AppTypes” library. This segments are:-Supplier class-Suppliers collection class-Developer custom attribute class

Code Sample: AppTypes libraryCode Sample: AppTypes library

Page 11: NET Framework Projet with C#

«AppTypes » Library implementation: The codes.Supplier class

Page 12: NET Framework Projet with C#
Page 13: NET Framework Projet with C#
Page 14: NET Framework Projet with C#
Page 15: NET Framework Projet with C#

Suppliers: Collection of Supplier class

Page 16: NET Framework Projet with C#
Page 17: NET Framework Projet with C#

DeveloperInfoAttribute class.

Page 18: NET Framework Projet with C#

This Project was all about using the framework to create a working assembly and demonstrates how to built an object oriented component that can be easily plugged into another software system. It also touches areas such as attributes, interfaces, abstract classes, collections, custom exceptions, events creation and handling.