Download presentation
Presentation is loading. Please wait.
Published byAryanna Wark Modified over 10 years ago
4
.NET 2.0 2.0 add-in 3.0 3.5/SP1 Host Process 3.0 add-in 3.5 add-in 1.1 add-in.NET 1.1 CLR 2.0 – CLR 1.1
5
.NET 2.0 2.0 add-in 3.0 3.5/SP1 Host Process 3.0 add-in 3.5 add-in CLR 2.0 – CLR 1.1 CLR 4.0 – CLR 2.0
6
.NET 2.0 2.0 add-in 3.0 3.5/SP1 Host Process 3.0 add-in 3.5 add-in CLR 4.0 – CLR 2.0.NET 4.0 4.0 add-in
8
Modell-specifikus Interop Statikus nyelvek (pl. C++, C#) Objektummodellek (pl. Office, HTML DOM) Dinamikus nyelvek (pl. Python, Ruby) (Visual Basic).NET CLR COM Interop VB Runtime Python, Ruby, Interop
9
Dynamic Language Runtime IronPython IronRuby C# Visual Basic Egyéb Expression Trees Call Site Caching Dynamic Object Interop IronPython IronRuby Office Silverlight.NET Saját környezet Programozási nyelvek és DLR-ügyfelek Futásidejű illesztők Futásidejű környezetek
12
TypeEquivalenceDemo TableHelper Main Word.Application InsertTable Word.Application Word PIA 1 1 typeof( 1 ) == typeof( 2 ) false typeof( 1 ).IsEquivalentTo(typeof( 2 )) true typeof( 1 ) == typeof( 2 ) false typeof( 1 ).IsEquivalentTo(typeof( 2 )) true 2 2
15
Excel.Chart chart =... chart.ChartWizard( range.CurrentRegion, // --- Source Type.Missing, // --- Gallery Type.Missing, // --- Format Type.Missing, // --- PlotBy Type.Missing, // --- CategoryLabels Type.Missing, // --- SeriesLabels Type.Missing, // --- HasLegend "Memory Usage in " + Environment.MachineName, // --- Title Type.Missing, // --- CategoryTitle Type.Missing, // --- ValueTitle Type.Missing); // --- ObjectTitle Excel.Chart chart =... chart.ChartWizard( range.CurrentRegion, // --- Source Type.Missing, // --- Gallery Type.Missing, // --- Format Type.Missing, // --- PlotBy Type.Missing, // --- CategoryLabels Type.Missing, // --- SeriesLabels Type.Missing, // --- HasLegend "Memory Usage in " + Environment.MachineName, // --- Title Type.Missing, // --- CategoryTitle Type.Missing, // --- ValueTitle Type.Missing); // --- ObjectTitle
16
Excel.Chart chart =... chart.ChartWizard( Source: range.CurrentRegion, Title: "Memory Usage in " + Environment.MachineName); Excel.Chart chart =... chart.ChartWizard( Source: range.CurrentRegion, Title: "Memory Usage in " + Environment.MachineName);
17
var word = new Word.Application(); object template = Type.Missing; object newTemplate = Type.Missing; object docType = Type.Missing; object visible = Type.Missing; word.Documents.Add( ref template, ref newTemplate, ref docType, ref visible); var word = new Word.Application(); object template = Type.Missing; object newTemplate = Type.Missing; object docType = Type.Missing; object visible = Type.Missing; word.Documents.Add( ref template, ref newTemplate, ref docType, ref visible);
18
var word = new Word.Application(); word.Documents.Add(); var word = new Word.Application(); word.Documents.Add();
19
foreach (var p in processes) { ((Excel.Range)excel.Cells[i, 1]).Value2 = p.ProcessName; ((Excel.Range)excel.Cells[i, 2]).Value2 = p.WorkingSet64; i++; } foreach (var p in processes) { ((Excel.Range)excel.Cells[i, 1]).Value2 = p.ProcessName; ((Excel.Range)excel.Cells[i, 2]).Value2 = p.WorkingSet64; i++; }
20
foreach (var p in processes) { excel.Cells[i, 1].Value = p.ProcessName; excel.Cells[i, 2].Value = p.WorkingSet64; i++; } foreach (var p in processes) { excel.Cells[i, 1].Value = p.ProcessName; excel.Cells[i, 2].Value = p.WorkingSet64; i++; }
22
Programozási modellek Concurrency Runtime ThreadPool Resource Manager Task Scheduler Data Structures for coordination Concurrent Data Structures Resource Manager Task Scheduler Task Parallel Library PLINQ Parallel Pattern Library Agents Library Felügyelt (menedzselt) kódNatív kód Operációs rendszer Szálkezelés Integrált eszközök Parallel Debugger Tool Windows Profiler, Concurrency Analysis HPC MPI Debugger
24
Inicializálás Task A Task I1 Task A1 Task A2 Task A3 Task A4 Task B Task B1 Task B2 Task B3 Task B4 Task B5 Task I2 Összegzés Task C1 Task C2
26
public class Rational { public Rational(int numerator, int denominator); public int Numerator {get; } public int Denominator { get; } public Add(Rational other); //... } public class Rational { public Rational(int numerator, int denominator); public int Numerator {get; } public int Denominator { get; } public Add(Rational other); //... }
30
Part #1#2#3#4#5#6
35
© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.