Interface defined inside a class

How to indicate that an interface is a part of class? Let's take this case as an example.

public class Function
     public interface Function2D
            double GetValue(double x);



Talking more precisely - I need to show the relationship between Function and Function2D in an UML class diagram.


This UML Quick Reference gives an indication of how to represent an Inner class in a UML diagram:

Need Your Help

Am i using correctly Unit of Work here? (Entityi Framework 4 POCO)

c# .net entity-framework entity-framework-4 unit-of-work

I found some examples of how to create unit of work with ef4, i haven't used di/ioc and i would like to keep things simple and this an example (90% inspired) and i think it's ok but since i am look...

Rails 4 Destroy Action For Comments Not Working

ruby-on-rails crud

My destroy action for my comments is not working. Here is my link:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.