Questions tagged [fcl]

Framework Class Library

26 questions
39
votes
2 answers

Why is the Process class in the Diagnostics namespace?

Why is the Process class part of the Diagnostics namespace? This is a part of design of the BCL that kept me wondering for some time now. I find it kind of counter-intuitive, I fail to see the connection between Process and for instance the Debug…
H H
  • 263,252
  • 30
  • 330
  • 514
9
votes
5 answers

Is BigInteger immutable or not?

In .NET 4 beta 2, there is the new Numerics namespace with struct BigInteger. The documentation states that it is an immutable type, as I would have expected. But I'm a little confused by the post-increment operator (++). This defintely seems to…
H H
  • 263,252
  • 30
  • 330
  • 514
8
votes
1 answer

Programmatically use XSD.exe tool feature (generate class from XSD Schema) through .NET Framework classes?

I want to generate a class from an XML XSD Schema, just as you can do with the Xsd.exe tool. E.g. XSD.exe /namespace:Generated.Xsd_1 /classes /outputdir:..\Classes Is there a way to do this by using classes in the .NET Framework instead of using…
John K
  • 28,441
  • 31
  • 139
  • 229
7
votes
2 answers

Programmatically use XSD.exe tool feature (generate schema from class) through .NET Framework classes?

I want to generate an XML Schema based upon a class, just as you can do with the Xsd.exe tool. E.g. xsd.exe /type: typename /outputdir:c:\ assmeblyname. Is there a way to do this by using classes in the .NET Framework instead of using the…
John K
  • 28,441
  • 31
  • 139
  • 229
6
votes
3 answers

Generic built-in EventArgs to hold only one property?

I have a number of EventArgs classes with only one field and an appropriate property to read it: public class SomeEventArgs : EventArgs { private readonly Foo f; public SomeEventArgs(Foo f) { this.f = f; } public Foo Foo …
abatishchev
  • 98,240
  • 88
  • 296
  • 433
3
votes
1 answer

Why is SerializableAttribute not included in the Silverlight version of FCL?

Why is SerializableAttribute not included in the Silverlight version of FCL? And also, BinaryFormatter is not in there either. I am not looking for an alternative solution, I am just curious about the fact. Is binary serialization fundamentally…
Cui Pengfei 崔鹏飞
  • 8,017
  • 6
  • 46
  • 87
3
votes
2 answers

Is there any class in the .NET Framework to represent a holding container for objects?

I am looking for a class that defines a holding structure for an object. The value for this object could be set at a later time than when this container is created. It is useful to pass such a structure in lambdas or in callback functions…
Charles Prakash Dasari
  • 4,964
  • 1
  • 27
  • 46
2
votes
2 answers

How drake used to collision detected?

The library which drake used to collision detected is different from the FCL(https://github.com/flexible-collision-library/fcl)? Is Drake collision detection based on FCL? Or where can I find the difference? Can I use FCL to get the contact force…
ZYC
  • 23
  • 5
1
vote
1 answer

What is the difference in intent between the serializers in FCL?

This question does a good job of explaining the difference in functionality between the serializers. BinaryFormatter is fast, XmlSerializer is interoperable, etc. I know that. But what is the difference in intent? What use-case was each class…
Stefan Monov
  • 11,332
  • 10
  • 63
  • 120
1
vote
1 answer

is framework class library(FCL) implemented separately for C# and C++?

I am just beginning with C# . net programming, a book i read states that the FCL has many useful classes for many tasks. My question is, does it mean that microsoft has created different versions of FCL for different .net compliant languages or, the…
DesirePRG
  • 6,122
  • 15
  • 69
  • 114
1
vote
1 answer

cannot find -lfcl using fcl library

I want to run a ROS node using fcl library. I just wrote a small code and I edited the CMakeLists.txt to make sure that I can run the node but I got the following error: /usr/bin/ld: cannot find -lfcl collect2: error: ld returned 1 exit status What…
RSA
  • 79
  • 12
1
vote
4 answers

How does .NET framework low level APIs work?

One of the questions that i always faced was the implementation of .NET Framework class libraries. I know some of the methods original implementation: For example : MessageBox.Show("..."); As i know this method must have used P/Invoke to call…
Amirreza H
  • 63
  • 1
  • 9
1
vote
0 answers

FCL Stack class thread safety and it's version field

I discovered an odd implementation of Stack class in FCL. As I see, Stack class provides SyncRoot property intended to allow external users to block the entire collection and work with it in a thread safe manner. But along with SyncRoot I discovered…
EngineerSpock
  • 2,575
  • 4
  • 35
  • 57
1
vote
1 answer

What is the best way to search for classes that implement a particular interface in .NET's FCL?

Yes, a similar question was asked back in 2009 - almost 4 years ago. However, it's no longer true that MSDN will show a list of "Classes that Implement Interface" in the FCL documentation. Also, while I agree that Reflector is neat, it's also not…
JustDucky
  • 478
  • 4
  • 7
0
votes
0 answers

Equivalent REST Endpoints for Old Sporks: Retrieving Block Events

I’m looking for the equivalent REST endpoints that correspond to the gRPC endpoints used to retrieve block events for older sporks. I need to access block events from historical blocks, but the current implementation relies on gRPC endpoints. Could…
kira
  • 435
  • 5
  • 16
1
2