As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have an extension to the ICollectionView interface that allows me to handle multi-selection (IMultiSelectCollectionView). I want to provide an implementation that is compatible with BindingListCollectionView but that class is sealed. Does anyone know why this design decision was made?
Sealing a class usually denotes a safeguard to a derived class that might dramatically change the basic behavior of the original one. Anyway, I don't know what's the real meaning for sealing that class.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I presume that it is something like MVC4 + LINQ (or maybe NHibernate?)
I'm taking a dive into the .NET world (again) and would like to go with the best. Any tips and opinions?
There isn't an exact equivalent. You could use a combination of ASP.NET MVC + Entity Framework (NHibernate) if you want.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have class with method that inside of it i take complex object and
from it I create new object with simple structure user can work with it
in more convenient way .I store this object instance in the memory and
and provide simple api to it.
I give it name Serializable but I'm not sure that this is the right name.
Transform
TransformToX (where X is the name of the resulting object)
ToX (you see that a lot, for instance, ToString, ToInt32)
I name methods like that using names like asThing(). I suppose in C# it should be AsThing(). Another choice might be to follow the example of Java's Number class: Number.intValue(), etc.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Researching writing an ODBC driver for a particular data source. Since I am most familiar with .Net, was curious if it would be possible to do part (or most) of the coding in .Net... presumeably with a shim dll that would call it via interop. If this is possible, I am then curious if some source code exists that already does this, and might provide a good starting point for my project?
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
A simple question: Why there isn't any NotImplementedAttribute in C#?
You can always throw the exception, but I think it would be nice for this to work as the
ObsoleteAttribute -> you get an warning for using that method.
Ok, you have a method with this attribute, and when you implement it you have to remove the attribute by hand, but I think this is safer than using methods with throw new NotImplementedException() inside...and wait for them to get called.
I remember reading that the Obsolete is hard coded into the compiler, but maybe there is some spare room for this one :)
This is just my opinion, maybe I am wrong. But it's something that I would like to see.
Thanks
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
Is there a free .NET implementation of an algorithm that calculates alpha-shapes (aka concave-hull)? Alternatively, an implementation of this algorithm.
I know of this and this thread, but there's nothing specific for the .NET eco-system.
If the answer is simply 'use CGAL + a c# wrapper', then can you please point me to the wrapper as I could not find one, and a sample on how to use CGAL for alpha shapes. The CGAL reference manual on alpha-shapes is difficult to follow. Specifically, the goal is to take a set of lon/lat points and find an "outline".