Omgili - forum search, search forums  
  

Discussions about internal class

Displaying 1 - 10 out of 93,566 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I was having the problem of wanting a property to have an internal getter and a protected setter, as described in this question , and I thought I solved that by doing the following: public class Accessor : AccessorBase { private Connection _connection...
Started by on , 8 posts by 8 people.  
Since the Connection is internal some class deriving from Accessor from another an internal (from....
If the class Connection is internal, a class deriving Accessor won't be able to call protected you cannot do that.
How to write unit tests to internal classes ???
Started by on , 6 posts by 6 people.  
} HoweverYou write tests ....
That class uses internal classes to implement that behaviour or not, is an implementation detail using the DEBUG symbol eg #if DEBUG public #else internal #endif class MyInternalClass { ...
I have a class which I marked as internal and I marked fields and methods as public. It compiled without errors or warnings. Is there any specific need to have methods as public and class as internal (except when they are being implemented from interfaces...
Started by on , 5 posts by 5 people.  
Edit From Scope of internal method in C#? You may want a method on a public class which for the same reason....
A class marked as internal with public methods would allow for other classes in the same assemly it was defined.
Ask your Facebook Friends
There's something I want to customize in the System.Web.Script.Services.ScriptHandlerFactory and other .NET stuff inside an internal class. Unfortunately, it's an internal class. What options do I have when trying to customize a method in this class?
Started by on , 5 posts by 5 people.  
Best you can hope assembly, you cannot do anything....
The internal keyword signifies that a unit of code (class, method, etc anything marked internal , and the source is about as authoritative as it gets.
For is an extension method.
Hi All I am trying to use reflection to create instance of a class. But it is sealed internal and has private constructor. I wonder how can i initiaise it and as its part of framework, I can only use reflection to take it out? internal sealed class ABC...
Started by on , 6 posts by 6 people.  
Using System.Reflection; internal sealed class ABC { private ABC(string password) { Console.WriteLine: System.ServiceModel.Channels.SelfSignedCertificate is the internal class I am trying to use Do not doYou can't instantiate....
We use DevExpress and with today release came a weird change to one of their printing class. The class is named ClosedShapeBase and it is used to print out shape in a report. The class itself is public, but some of its properties are protected internal...
Started by on , 5 posts by 5 people.  
The "protected internal" just means that DevExpress's own code in their project to maintain the "internal....
Public class MyShape : ClosedShapeBase { protected internal override PointF[] CreatePoints in the overridden class.
Hello there, How can I access an internal class of an assembly? Say I want to access System.ComponentModel.Design.DesignerHost. Here the DesignerHost is an internal and sealed class. How can I write a code to load the assembly and the type. Thanks, Dattebayo...
Started by on , 3 posts by 3 people.  
In general, you shouldn't do this - if a type has been marked internal, that means you're not meant.
Hi, Having an assembly which I cannot modify (vendor-supplied) which have a method returning an object type but is really of an internal type. How can I access the fields and/or methods of the object from my assembly? Keep in mind that I cannot modify...
Started by on , 5 posts by 5 people.  
Internal classes can't case that you would ....
Are you spotting the pattern? Well, you can't.
Using System.Reflection; Vendor vendor = new Vendor "trust" (breaking your code) .
Reflection.
From the internal class indirectly.
I have a common assembly/project that has a abstract base class, then several derived classes that I want to make public to other assemblies. I don't want the abstract base class to show up from using code in intellisense so I thought I'd make it internal...
Started by on , 7 posts by 7 people.  
In the AssemblyInfo for that assembly you need but also private so it ... .
Base class public, but give it an internal default constructor: public abstract class MyClass base class in 1 assembly with everything internal.
I'm trying to add XML serialization to a fairly trivial class structure in C#. Essentially, there's a single instance of a root class (call it AClass), which holds a List of several instances of some other class (call it AnotherClass): [XmlRoot("RootNode...
Started by on , 3 posts by 3 people.  
There is no way to make XmlSerializer serialize or deserialize internal types, and you will have class documentation explicitly states that only public properties of the object will be serialized.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost