¡@

Home 

c# Programming Glossary: expose

What is the best scripting language to embed in a C# desktop application? [closed]

http://stackoverflow.com/questions/137933/what-is-the-best-scripting-language-to-embed-in-a-c-sharp-desktop-application

in reporting formats so we thought we would just expose our object model to a scripting langauge. Time was when that.. this class and the other uses. Just remember this will expose ALL public classes to the script options.ReferencedAssemblies.Add..

How to bind to a PasswordBox in MVVM

http://stackoverflow.com/questions/1483892/how-to-bind-to-a-passwordbox-in-mvvm

memory. The reason the WPF Silverlight PasswordBox doesn't expose a DP for the Password property is security related. If WPF Silverlight..

Recommended ServiceStack API Structure

http://stackoverflow.com/questions/15231537/recommended-servicestack-api-structure

services in ServiceStack are fairly de coupled in how you expose them since you can expose your services under any custom route... are fairly de coupled in how you expose them since you can expose your services under any custom route. ServiceStack encourages.. it meaningful context. So in this case if you wanted to expose Events and reviews my inclination is to go with following url..

What's the best way of implementing a thread-safe Dictionary?

http://stackoverflow.com/questions/157933/whats-the-best-way-of-implementing-a-thread-safe-dictionary

the class. You will need to be careful with any events you expose or add making sure that they get invoked outside of any locks...

How to enable design support in a custom control?

http://stackoverflow.com/questions/2785376/how-to-enable-design-support-in-a-custom-control

You'll need to add a public property to the UC to expose the list view and apply the DesignerSerializationVisibility..

Why C# doesn't implement indexed properties?

http://stackoverflow.com/questions/2806894/why-c-sharp-doesnt-implement-indexed-properties

to generate an inner class that implements the indexer and expose it through a public generic interface interface defined in the..

What is the difference between a field and a property in C#?

http://stackoverflow.com/questions/295104/what-is-the-difference-between-a-field-and-a-property-in-c

properties field share improve this question Properties expose fields. Fields should almost always be kept private to a class.. When you access it uses the underlying field but only exposes the contract that will not be affected by the underlying field..

C# - List<T> or IList<T>

http://stackoverflow.com/questions/400135/c-sharp-listt-or-ilistt

List in C# Related question Why is it considered bad to expose List T c# generics list ilist share improve this question.. a library that others will use you generally want to expose it via interfaces rather than concrete implementations. This..

How to get the word under the cursor in Windows?

http://stackoverflow.com/questions/4665045/how-to-get-the-word-under-the-cursor-in-windows

kernel driver on the computer. Some applications will not expose anything to anyone even with proper rights. For example if I'm.. . Other applications such as Outlook with DRM will not expose anything for the same reasons. Only the UI automation Text pattern..

C# vs Java Enum (for those new to C#)

http://stackoverflow.com/questions/469287/c-sharp-vs-java-enum-for-those-new-to-c

C# I would just change the enum to an immutable class and expose static readonly instances of that class using System using System.Collections.Generic..

ReadOnlyCollection or IEnumerable for exposing member collections?

http://stackoverflow.com/questions/491375/readonlycollection-or-ienumerable-for-exposing-member-collections

for exposing member collections Is there any reason to expose an internal collection as a ReadOnlyCollection rather than an.. share improve this question EDIT Is there any reason to expose an internal collection as a ReadOnlyCollection rather than an..

WPF MVVM Newbie - how should the ViewModel close the form?

http://stackoverflow.com/questions/501886/wpf-mvvm-newbie-how-should-the-viewmodel-close-the-form

MVVM pattern and had the View publish a Closed event and expose a Close method. The ViewModel would then just call view.Close..

Entity Framework And Business Objects

http://stackoverflow.com/questions/5202780/entity-framework-and-business-objects

it to get my feet wet. I see that entities can be exposed to the presentation layer. But i don't want certain fields.. to the presentation layer. But i don't want certain fields exposed fields like modified dates and created dates and various other.. fields. how could i implement Business objects and just expose the properties i need but still keep the objects serializable..

Proper use of the IDisposable interface

http://stackoverflow.com/questions/538060/proper-use-of-the-idisposable-interface

cleaning it up. The object that you've created needs to expose some method that the outside world can call in order to clean.. interface IDisposable void Dispose So you make your object expose the IDisposable interface and that way you promise that you've..

To return IQueryable<T> or not return IQueryable<T>

http://stackoverflow.com/questions/718624/to-return-iqueryablet-or-not-return-iqueryablet

handle paging for FindAll I'm debating whether or not to expose IQueryable ILocation instead of IList to simplify the interface..

Passing TextBox's text to another form in C#?

http://stackoverflow.com/questions/11165537/passing-textboxs-text-to-another-form-in-c

it. c# winforms share improve this question Expose the contents of the textbox using a property class Form1 public..

How to update textbox on GUI from another thread in C#

http://stackoverflow.com/questions/1136399/how-to-update-textbox-on-gui-from-another-thread-in-c-sharp

runtime ChannelServices.RegisterChannel channel false Expose the Calculator Object from this Server RemotingConfiguration.RegisterWellKnownServiceType..

Exporting functions from a C# class library

http://stackoverflow.com/questions/2425212/exporting-functions-from-a-c-sharp-class-library

.dll's at all. Your only three options are Use managed C Expose your C# classes as COM objects and consume them from your C..

Expose webHttpBinding endpoint in a WCF service

http://stackoverflow.com/questions/3036012/expose-webhttpbinding-endpoint-in-a-wcf-service

webHttpBinding endpoint in a WCF service I created a WCF service..

What is the yield keyword used for in C#?

http://stackoverflow.com/questions/39476/what-is-the-yield-keyword-used-for-in-c

is the yield keyword used for in C# In the How Can I Expose Only a Fragment of IList question one of the answers had the..

Best way to communicate between forms?

http://stackoverflow.com/questions/4438654/best-way-to-communicate-between-forms

EventArgs e txt_ClientName.Text _subForm1.ClientName Expose a public property private void _subForm2_ProductUpdated object..