Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. convert from IObservable to IEnumerable

convert from IObservable to IEnumerable

Scheduled Pinned Locked Moved C#
phpcomhelptutorialquestion
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kaminem
    wrote on last edited by
    #1

    Hi I'm looking for an implementation of ToObservable and ToEnumerable can you pls help with this thx

    How to use google - fun[^]

    L K A C 4 Replies Last reply
    0
    • K kaminem

      Hi I'm looking for an implementation of ToObservable and ToEnumerable can you pls help with this thx

      How to use google - fun[^]

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      kaminem wrote:

      I'm looking for an implementation of ToObservable and ToEnumerable

      That's a different statement than in the title. Are you trying to convert an Observable to an Enumerable, or something else? Can you show us some code that shows what you want to convert?

      Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^]

      1 Reply Last reply
      0
      • K kaminem

        Hi I'm looking for an implementation of ToObservable and ToEnumerable can you pls help with this thx

        How to use google - fun[^]

        K Offline
        K Offline
        Keith Barrow
        wrote on last edited by
        #3

        There is a simple (by MSDN's standards) of ToObservable here[^]. Likewise, in the opposite direction, here[^] Note that these are really conversions (as opposed to casts): ToObservable takes the value from the IEnumerable on the basis of the IScheduler, whereas ToEnumerable produces the "list" from the Observable's updates.

        “Education is not the piling on of learning, information, data, facts, skills, or abilities - that's training or instruction - but is rather making visible what is hidden as a seed”
        “One of the greatest problems of our time is that many are schooled but few are educated”

        Sir Thomas More (1478 – 1535)

        1 Reply Last reply
        0
        • K kaminem

          Hi I'm looking for an implementation of ToObservable and ToEnumerable can you pls help with this thx

          How to use google - fun[^]

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #4

          This blog[^] might help you as well.

          Apps - Color Analyzer | Arctic | XKCD | Sound Meter | Speed Dial

          1 Reply Last reply
          0
          • K kaminem

            Hi I'm looking for an implementation of ToObservable and ToEnumerable can you pls help with this thx

            How to use google - fun[^]

            C Offline
            C Offline
            Clifford Nelson
            wrote on last edited by
            #5

            You cannot really implement either since they are both interfaces. You can get an IEnumerable with ToList() (http://msdn.microsoft.com/en-us/library/bb342261.aspx[^]). There is also ToArray.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups