Library

Video Player is loading.
 
Current Time 0:00
Duration 5:33
Loaded: 0%
 
x1.00


Back

Games & Quizzes

Training Mode - Typing
Fill the gaps to the Lyric - Best method
Training Mode - Picking
Pick the correct word to fill in the gap
Fill In The Blank
Find the missing words in a sentence Requires 5 vocabulary annotations
Vocabulary Match
Match the words to the definitions Requires 10 vocabulary annotations

You may need to watch a part of the video to unlock quizzes

Don't forget to Sign In to save your points

Challenge Accomplished

PERFECT HITS +NaN
HITS +NaN
LONGEST STREAK +NaN
TOTAL +
- //

We couldn't find definitions for the word you were looking for.
Or maybe the current language is not supported

  • 00:00

    You can create classes that methods that create an instance of your class can respond to.

  • 00:05

    The most common reason to do this is that your class is a control that the user interacts

  • 00:10

    with. For example, the Button control calls the Click event when the user clicks it. There

  • 00:16

    are other events, such as MouseOver, that is called when the user moves the mouse over

  • 00:22

    the control.

  • 00:24

    The second common reason that you want to raise an event is because a class is asynchronous.

  • 00:30

    In an asynchronous class, the calling method will call one of your classes member methods

  • 00:40

    that performs a long-running calculation. Your class then does the work in the background,

  • 00:45

    returning control to the original method. Your class, when the calculation is complete,

  • 00:51

    can then raise the event and allowing the method that created an instance of your class

  • 00:57

    to respond to it.

  • 00:58

    I'll show you how to quickly create a simple class that raises an event.

  • 01:06

    I'm going to create a class called MyCalc that performs a calculation when the calling

  • 01:15

    method calls a member method. Instead of returning it the conventional way, it's going to return

  • 01:22

    it by raising an event.

  • 01:25

    The first thing we need to do is to create a delegate for the event. You do that in C#

  • 01:33

    using the delegate keyword. I'm going to call this KnowAnswer.

  • 01:47

    I'm going to provide two parameters: the standard Object, which represents the method that sent

  • 01:56

    it, and an instance of AnswerEventArgs.

  • 01:59

    I haven't yet created AnswerEventArgs, but I'm going to do that now by deriving it from

  • 02:04

    the EventArgs standard class built into the .NET Framework. IT automatically inherits

  • 02:13

    all of the EventArgs members, and I'm going to add one more member called answer which

  • 02:21

    is just an integer, in which the resulting class can place an integer.

  • 02:29

    Now I'm going to create a class called MyCalc. I'll create an event using the event keyword.

  • 02:40

    That's the name of the delegate, and now I'll actually create the event by naming it OnKnowAnswer.

  • 02:46

    I'm going to create a method called Add that adds two integers.

  • 03:01

    I'm going to use those two integers to populate the answer member of AnswerEventArgs. First

  • 03:08

    I'm going to create an instance of AnswerEventArgs.

  • 03:21

    Now that we've created that instance and populated the answer, I can actually call the event.

  • 03:32

    Now, by providing the first parameter as this, I'm providing an instance of the class itself.

  • 03:41

    The event handler could use that in some way; I won't use it in this example, but sometimes

  • 03:47

    it is useful. The second parameter, of course, is the instance of AnswerEventArgs which actually

  • 03:55

    contains the result of the addition.

  • 04:00

    Now I just need to create an instance of my MyCalc class and call the Add method to raise

  • 04:08

    the event, which will be handled by my event handler.

  • 04:13

    First I'll create an instance of the class. Next, I'll let VIsual Studio automatically

  • 04:21

    generate the event handler--you'll see it automatically generates it there.

  • 04:25

    Next I'm going to use the += operator to add the event handler. Notice that I haven't created

  • 04:30

    the event handler yet; Visual Studio can do this automatically. I'm going ot press the

  • 04:35

    Tab key twice, and it automatically generates a method called mc_OnKnowAnswer.

  • 04:43

    Notice that it automatically generates code that throws an exception. I'm just going to

  • 04:48

    remove that and add in a line that simply displays the answer to the console.

  • 05:01

    Notice that I can access the answer member of my custom AnswerEventArgs class.

  • 05:06

    Now I just need to call the Add method and have it add any two integers. I'll add a call

  • 05:20

    to Console.ReadKey to pause the console.

  • 05:24

    Run the application, and as you can see, it successfully displays the answer.

All

The example sentences of PROVIDING in videos (15 in total of 745)

now adverb , by preposition or subordinating conjunction providing verb, gerund or present participle the determiner first adjective parameter noun, singular or mass as preposition or subordinating conjunction this determiner , i personal pronoun 'm verb, non-3rd person singular present providing verb, gerund or present participle an determiner instance noun, singular or mass of preposition or subordinating conjunction the determiner class noun, singular or mass itself personal pronoun .
- mary proper noun, singular , a determiner home noun, singular or mass health noun, singular or mass nurse noun, singular or mass has verb, 3rd person singular present been verb, past participle providing verb, gerund or present participle care noun, singular or mass to to dorothy proper noun, singular for preposition or subordinating conjunction more adjective, comparative than preposition or subordinating conjunction
the determiner remains noun, plural of preposition or subordinating conjunction one cardinal number of preposition or subordinating conjunction these determiner settlements noun, plural recently adverb came verb, past tense to to light verb, base form , providing verb, gerund or present participle archaeologists noun, plural proper noun, singular and coordinating conjunction
finally adverb , samsung proper noun, singular has verb, 3rd person singular present pioneered verb, past participle enterprise noun, singular or mass security noun, singular or mass with preposition or subordinating conjunction trustzone proper noun, singular , providing verb, gerund or present participle the determiner hardware noun, singular or mass isolation noun, singular or mass technology noun, singular or mass necessary adjective
layers noun, plural providing verb, gerund or present participle you personal pronoun 've verb, non-3rd person singular present got verb, past participle enough adjective neurons noun, plural in preposition or subordinating conjunction the determiner hidden verb, past participle layers noun, plural , and coordinating conjunction providing verb, gerund or present participle they personal pronoun 're verb, non-3rd person singular present trained verb, past participle properly adverb .
as preposition or subordinating conjunction providing verb, gerund or present participle assurance noun, singular or mass as preposition or subordinating conjunction to to an determiner entity noun, singular or mass s proper noun, singular ability noun, singular or mass to to continue verb, base form as preposition or subordinating conjunction a determiner going verb, gerund or present participle concern noun, singular or mass . "
but coordinating conjunction providing verb, gerund or present participle there existential there are verb, non-3rd person singular present more adjective, comparative instances noun, plural than preposition or subordinating conjunction attributes noun, plural - - and coordinating conjunction usually adverb there existential there are verb, non-3rd person singular present , of preposition or subordinating conjunction course noun, singular or mass
the determiner latter noun, singular or mass specializes verb, 3rd person singular present in preposition or subordinating conjunction sourcing noun, singular or mass and coordinating conjunction providing verb, gerund or present participle aircraft noun, singular or mass parts noun, plural proper noun, singular including verb, gerund or present participle buying verb, gerund or present participle and coordinating conjunction tearing verb, gerund or present participle down adverb
bringing verb, gerund or present participle people noun, plural back adverb because preposition or subordinating conjunction we personal pronoun are verb, non-3rd person singular present providing verb, gerund or present participle technologies noun, plural , providing verb, gerund or present participle know verb, base form - how wh-adverb , and coordinating conjunction also adverb our possessive pronoun students noun, plural .
and coordinating conjunction providing verb, gerund or present participle your possessive pronoun engines noun, plural were verb, past tense efficient adjective enough adverb you personal pronoun would modal therefore adverb have verb, base form better adjective, comparative range noun, singular or mass .
by preposition or subordinating conjunction expensive adjective procedures noun, plural and coordinating conjunction eventually adverb a determiner wide adjective rollout proper noun, singular - providing verb, gerund or present participle we personal pronoun can modal map verb, base form the determiner quadrillion noun, singular or mass
nieces noun, plural and coordinating conjunction nephews noun, plural in preposition or subordinating conjunction terms noun, plural of preposition or subordinating conjunction providing verb, gerund or present participle for preposition or subordinating conjunction them personal pronoun and coordinating conjunction providing verb, gerund or present participle extra adjective resources noun, plural , and coordinating conjunction they personal pronoun 're verb, non-3rd person singular present not adverb
scie proper noun, singular has verb, 3rd person singular present a determiner number noun, singular or mass of preposition or subordinating conjunction resources noun, plural providing verb, gerund or present participle further adjective insight noun, singular or mass to to the determiner subject noun, singular or mass of preposition or subordinating conjunction restraint noun, singular or mass ,
providing verb, gerund or present participle you personal pronoun control verb, non-3rd person singular present the determiner sprayers noun, plural , but coordinating conjunction definitely adverb dressier adjective, comparative occasions noun, plural and coordinating conjunction evening noun, singular or mass wear verb, base form i personal pronoun think verb, non-3rd person singular present
and coordinating conjunction zijin proper noun, singular was verb, past tense born verb, past participle in preposition or subordinating conjunction this determiner life noun, singular or mass only adverb for preposition or subordinating conjunction providing verb, gerund or present participle bai proper noun, singular into preposition or subordinating conjunction the determiner immortal adjective .

Use "providing" in a sentence | "providing" example sentences

How to use "providing" in a sentence?

  • Providing great customer service is the most natural activity in the world. It’s fun to help others because it feels good.
    -Kevin Stirtz-
  • By strengthening the economy, providing job opportunity and meeting the needs of working families, we can ensure the continued prosperity of our nation.
    -Christopher Dodd-
  • By providing outstanding economic leadership, this country can wage its attack successfully - and can thereby build the foundations of a peaceful world.
    -James Forrestal-
  • My top three priorities for my first term in Congress are growing our economy; providing for quality, affordable health care; and keeping our nation and communities safe.
    -Cathy McMorris Rodgers-
  • Wealth, like happiness, is never attained when sought after directly. It comes as a by-product of providing a useful service.
    -Henry Ford-
  • Science is triumphant with far-ranging success, but its triumph is somehow clouded by growing difficulties in providing for the simple necessities of human life on earth.
    -Barry Commoner-
  • The first step in providing economic equality for women is to ensure a stable economy in which every person who wants to work can work.
    -Jimmy Carter-
  • We help God's children best by providing ways to build faith in Jesus Christ and in His restored gospel when they are young.
    -Henry B. Eyring-

Definition and meaning of PROVIDING

What does "providing mean?"

/prəˈvīdiNG/

conjunction
on condition or understanding that.
verb
To offer or give something that is wanted, needed.

What are synonyms of "providing"?
Some common synonyms of "providing" are:
  • if,

You can find detailed definitions of them on this page.