DCSIMG
SELA,Beginner - Bnaya Eshet

Bnaya Eshet

Disclaimer

Browse by Tags

All Tags » SELA » Beginner (RSS)
T 4 beginners – part 4
T 4 beginners – part 4 this is the 4rd post on this series. in this post we will focus on T4 Class feature control blocks . you can download the code for this post here . the series TOC is available here .   What is class feature control block? class feature control block is one of the T4 extension mechanism that enable reuse of T4 sections. using class feature control block you can defines helper properties or methods , that can be used from different T4 templates.   The syntax of class...
T 4 beginners – part 3
T 4 beginners – part 3 this is the 3rd post on this series. in this post we will focus on basics T4 Control blocks . you can download the code sample from here . the series TOC is available here .   T4 Control blocks is where dynamic text is added into the template output, this is the heart of T4 concept ( C# is the default language but you can change it to VB ).   Standard control blocks A standard control block is a section of program code that generates part of the output . You can mix...
T 4 beginners – part 2
T 4 beginners – part 2 this is the second post on this series. in this post we will focus on basics T4   Directives . you can use the code sample of the previous post here . the series TOC is available here .   Directive syntax: any of the directives is using the following syntax: <#@ DirectiveName [ParameterName = " ParameterValue "] #> it start with <#@ follow with the directive name , includes zero or more name value parameters and end with #> All parameter values...
T 4 beginners – TOC
T 4 beginners – TOC The current available posts on the T 4 beginner series (T4 template) are: Introduction Directives Control blocks Class feature control blocks Debug
T 4 beginners – part 1
T 4 beginners – part 1 this is the first post of a series that will focus on T4 template. this post discuss the T4 in general while the following pose will focus on the T4 practice. the code for this post can be found here . the series TOC is available here .   What is T4 template? T4 is sanding for T ext T emplate T ransformation T oolkit. T4 is all about automating code or content generation. the usual extension for T4 files is the *. tt   When to use T4? whenever you identify repeatable...
MEF for Beginner (Deployment Catalog) - part 12
MEF for Beginner (Deployment Catalog) - part 12   this is the 12th post of the MEF for Beginner series, the series TOC is available here . this post will focus on Deployment Catalog .   the code sample for this post can be found here .     What is MEF Deployment Catalogs? the deployment catalog is actually a redesign of the older package catalog . it enable to load parts from xap packages a-synchronically.   Code sample the following code sample depend on 2 assembly that...
Rx - for beginners (part 13): Publish (broadcast to many subscribers)
Rx - for beginners (part 13): Publish (broadcast to many subscribers) this post is the 13th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here . in this post we will focus on the Publish operator.   the code for this post available here .   let guess how many times the select statement will be invoke for the following code, the underline stream will produce 2 value (0, 1) ? Code Snippet IObservable < long > observableRoot = Observable .Interval...
Rx - for beginners (part 12): RxJs
this post is the 11th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here . in this post we will focus on Rx for JavaScript .   the recently the Rx team release JavaScript library that capable to get observable stream from events.   for example the syntax for mouse move event will be: var mouseMove = Rx.Observable.FromJQueryEvent($(document), "mousemove" );   all you have to do in order of using this library is to rx.js which is less...
MEF for Beginner (Import from Xaml) - part 11
MEF for Beginner (Import from Xaml) - part 11 this is the 11th post of the MEF for Beginner series, the series TOC is available here . this post will focus on Importing mef parts directly from the Xaml . the code sample for this post is available here .   assuming that we have the following exports : Code Snippet class DemoStrings {     [ Export ( "MyTag" )]      public string Text1 { get { return "Hello world" ; } }     ...
Rx - for beginners (part 10): Concat expression
Rx - for beginners (part 10): Concat expression this post is the 10th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here . in this post we will focus on the Concat expression.   the code for this post can be download from here .   What does it do? the Concat expression is used to concatenate one Observable stream into the end of another Observable stream. once the first Observable stream is completed the the concat stream will be immediate subscribed...
Rx - for beginners (part 8): Combine Latest expression
Rx - for beginners (part 8): Combine Latest expression this post is the 8th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here .   in this post we will focus on the Combine Latest expression. the code for this post can be download from here .   What does it do? like the zip expression the Combine Latest expression is used to synchronize 2 IObservable streams into single IObservable stream. unlike the zip expression the Combine Latest doesn't...
Rx - for beginners (part 7): Zip expression
Rx - for beginners (part 7): Zip expression this post is the 7th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here .   in this post we will focus on the Zip expression. the code for this post can be download from here .   What does it do? the zip expression is used to synchronize 2 IObservable streams into single IObservable stream.   How does it do it? it is taking the first observed value on either of the stream and wait for value from the...
Rx - for beginners (part 6): Merge expression
Rx - for beginners (part 6): Merge expression this post is the 6th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here . in this post we will focus on the Merge expression.   What does it do? the merge expression is used to merge multiple IObservable streams into single IObservable streams. the marble diagrams of merge expression will look as follow: each value on the source streams is project into the result stream until all the source streams complete...
Rx - for beginners (part 5): marble diagrams, select and where
Rx - for beginners (part 5): marble diagrams, select and where this post is the 5th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here .   this post will focus on marble diagrams which is used for visualizing IObservable stream . on this post we will visualize the select and where clause, while in the upcoming posts we will discuss other operations that can be used to upon IObservable streams .   the code sample for this post is available here ....
Rx - for beginners (part 4): anonymous observer handler
Rx - for beginners (part 4): anonymous observer handler this post is the 4th in a series of posts about the new Reactive Framework ( Rx ). the series TOC can found here .   this post will focus on anonymous observer handler. the code sample for this post can be download from here .   Anonymous Observer as we mention on the previous posts, IObserver is used as a callback interface which can be subscribe to the IObservable , but this is a bit of overkill, when what we subscribe is relatively...
More Posts Next page »