├── samples
├── ClientServerApp
│ ├── .gitignore
│ ├── ClientServerApp.Client
│ │ ├── Index.cshtml
│ │ ├── wwwroot
│ │ │ ├── css
│ │ │ │ └── fonts
│ │ │ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ │ │ ├── glyphicons-halflings-regular.woff
│ │ │ │ │ └── glyphicons-halflings-regular.woff2
│ │ │ └── index.html
│ │ ├── _ViewImports.cshtml
│ │ ├── Program.cs
│ │ ├── Shared
│ │ │ └── _Layout.cshtml
│ │ ├── ClientServerApp.Client.csproj
│ │ ├── Counter.cshtml
│ │ └── CounterDisplay.cshtml
│ ├── ClientServerApp.Shared
│ │ ├── ClientServerApp.Shared.csproj
│ │ └── WeatherForecast.cs
│ └── ClientServerApp.Server
│ │ ├── Program.cs
│ │ └── ClientServerApp.Server.csproj
└── JSLibs
│ ├── JSLibs.csproj
│ └── Bootstrap
│ └── Modal.cs
├── src
├── DNA
│ ├── .gitignore
│ ├── corlib
│ │ ├── System
│ │ │ ├── IDisposable.cs
│ │ │ ├── ConsoleModifiers.cs
│ │ │ ├── DayOfWeek.cs
│ │ │ ├── OperationCanceledException.cs
│ │ │ ├── DateTimeOffset.cs
│ │ │ ├── IComparable.cs
│ │ │ ├── IFormatProvider.cs
│ │ │ ├── FormatException.cs
│ │ │ ├── IAsyncResult.cs
│ │ │ ├── AggregateException.cs
│ │ │ ├── InvalidOperationException.cs
│ │ │ ├── IndexOutOfRangeException.cs
│ │ │ ├── BitConverter.cs
│ │ │ └── Func.cs
│ │ ├── System.ComponentModel.DataAnnotations
│ │ │ ├── ValidationAttribute.cs
│ │ │ ├── RequiredAttribute.cs
│ │ │ ├── StringLengthAttribute.cs
│ │ │ └── DisplayNameAttribute.cs
│ │ ├── System.IO
│ │ │ ├── SeekOrigin.cs
│ │ │ ├── FileAccess.cs
│ │ │ ├── FileNotFoundException.cs
│ │ │ ├── FileShare.cs
│ │ │ ├── FileMode.cs
│ │ │ ├── IOException.cs
│ │ │ ├── DirectoryNotFoundException.cs
│ │ │ ├── SearchPattern.cs
│ │ │ ├── FileAttributes.cs
│ │ │ ├── File.cs
│ │ │ └── FileInfo.cs
│ │ ├── System.Globalization
│ │ │ ├── DigitShapes.cs
│ │ │ ├── CalendarWeekRule.cs
│ │ │ ├── CultureTypes.cs
│ │ │ └── GregorianCalendarTypes.cs
│ │ ├── System.Runtime.CompilerServices
│ │ │ ├── VoidTaskResult.cs
│ │ │ ├── IAsyncMethodBuilder.cs
│ │ │ ├── AsyncServices.cs
│ │ │ ├── IAsyncStateMachine.cs
│ │ │ └── INotifyCompletion.cs
│ │ ├── System.Reflection
│ │ │ ├── TypeInfo.cs
│ │ │ ├── AssemblyName.cs
│ │ │ ├── IntrospectionExtensions.cs
│ │ │ ├── RuntimeReflectionExtensions.cs
│ │ │ ├── MethodInfo.cs
│ │ │ └── PropertyInfo.cs
│ │ ├── System.Runtime.Versioning
│ │ │ └── TargetFrameworkAttribute.cs
│ │ ├── corlib.csproj
│ │ └── System.Net.Http
│ │ │ ├── HttpContent.cs
│ │ │ └── StringContent.cs
│ └── native
│ │ ├── System.Attribute.h
│ │ └── src
│ │ ├── Reflection.h
│ │ ├── System.Reflection.MethodInfo.h
│ │ ├── System.Reflection.MemberInfo.h
│ │ ├── System.Reflection.MethodBase.h
│ │ ├── System.Reflection.PropertyInfo.h
│ │ ├── JSInterop.h
│ │ └── System.Attribute.h
├── AngleSharp
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Css
│ │ ├── Values
│ │ │ ├── ITimingFunction.cs
│ │ │ ├── IImageSource.cs
│ │ │ ├── ITransform.cs
│ │ │ └── IGradient.cs
│ │ ├── IPropertyValue.cs
│ │ ├── IValueConverter.cs
│ │ └── ValueConverters
│ │ │ └── RequiredValueConverter.cs
│ ├── Services
│ │ ├── IMediaFeatureFactory.cs
│ │ ├── Media
│ │ │ ├── IAudioInfo.cs
│ │ │ ├── IResourceInfo.cs
│ │ │ ├── IMediaInfo.cs
│ │ │ ├── IImageInfo.cs
│ │ │ ├── IVideoInfo.cs
│ │ │ └── IObjectInfo.cs
│ │ ├── IInputTypeFactory.cs
│ │ ├── ILinkRelationFactory.cs
│ │ ├── IElementFactory.cs
│ │ ├── IEntityProvider.cs
│ │ ├── ICommandProvider.cs
│ │ ├── IEventFactory.cs
│ │ ├── IPseudoClassSelectorFactory.cs
│ │ ├── IStylingProvider.cs
│ │ ├── IPseudoElementSelectorFactory.cs
│ │ ├── IScriptingProvider.cs
│ │ ├── IEncodingProvider.cs
│ │ ├── IServiceFactory.cs
│ │ ├── IIntegrityProvider.cs
│ │ └── ICssPropertyFactory.cs
│ ├── Network
│ │ ├── RequestProcessors
│ │ │ └── IRequestProcessor.cs
│ │ ├── OriginBehavior.cs
│ │ ├── ILoader.cs
│ │ ├── IDownload.cs
│ │ ├── IDocumentLoader.cs
│ │ ├── HttpMethod.cs
│ │ ├── CorsSetting.cs
│ │ └── IResourceLoader.cs
│ ├── Interfaces
│ │ ├── Html
│ │ │ ├── IHtmlHrElement.cs
│ │ │ ├── IHtmlDivElement.cs
│ │ │ ├── IHtmlPreElement.cs
│ │ │ ├── IHtmlHeadElement.cs
│ │ │ ├── IHtmlSpanElement.cs
│ │ │ ├── IHtmlBreakRowElement.cs
│ │ │ ├── IHtmlAudioElement.cs
│ │ │ ├── IHtmlParagraphElement.cs
│ │ │ ├── IHtmlUnknownElement.cs
│ │ │ ├── IHtmlDocument.cs
│ │ │ ├── IHtmlHeadingElement.cs
│ │ │ ├── IHtmlUnorderedListElement.cs
│ │ │ ├── IHtmlTableCaptionElement.cs
│ │ │ ├── IHtmlTableDataCellElement.cs
│ │ │ ├── IHtmlBodyElement.cs
│ │ │ ├── IHtmlFormControlsCollection.cs
│ │ │ ├── IHtmlLegendElement.cs
│ │ │ ├── IHtmlTimeElement.cs
│ │ │ ├── ILabelabelElement.cs
│ │ │ ├── IHtmlTitleElement.cs
│ │ │ ├── IHtmlDataElement.cs
│ │ │ ├── IHtmlQuoteElement.cs
│ │ │ ├── IHtmlTemplateElement.cs
│ │ │ ├── IHtmlDataListElement.cs
│ │ │ ├── IHtmlListItemElement.cs
│ │ │ ├── IHtmlDetailsElement.cs
│ │ │ ├── IHtmlHtmlElement.cs
│ │ │ ├── IHtmlTableHeaderCellElement.cs
│ │ │ ├── IHtmlTableColumnElement.cs
│ │ │ ├── IHtmlBaseElement.cs
│ │ │ ├── IHtmlParamElement.cs
│ │ │ ├── IHtmlMenuElement.cs
│ │ │ └── IHtmlOptionsGroupElement.cs
│ │ ├── Svg
│ │ │ ├── ISvgSvgElement.cs
│ │ │ ├── ISvgTitleElement.cs
│ │ │ ├── ISvgCircleElement.cs
│ │ │ ├── ISvgDescriptionElement.cs
│ │ │ ├── ISvgForeignObjectElement.cs
│ │ │ ├── ISvgElement.cs
│ │ │ └── ISvgDocument.cs
│ │ ├── Xml
│ │ │ └── IXmlDocument.cs
│ │ ├── Css
│ │ │ ├── ICssComment.cs
│ │ │ ├── ICssSupportsRule.cs
│ │ │ ├── IConditionFunction.cs
│ │ │ ├── ICssCharsetRule.cs
│ │ │ ├── ICssMediaRule.cs
│ │ │ ├── ICssDocumentRule.cs
│ │ │ ├── ICssRuleCreator.cs
│ │ │ ├── ICssNode.cs
│ │ │ ├── IKeyframeSelector.cs
│ │ │ ├── ICssConditionRule.cs
│ │ │ ├── IElementCssInlineStyle.cs
│ │ │ ├── ICssFontFeatureValuesRule.cs
│ │ │ ├── ICssMarginRule.cs
│ │ │ ├── ICssNamespaceRule.cs
│ │ │ └── ICssPageRule.cs
│ │ ├── IDocumentFragment.cs
│ │ ├── Navigator
│ │ │ ├── INavigator.cs
│ │ │ ├── INavigatorOnline.cs
│ │ │ └── INavigatorStorageUtilities.cs
│ │ ├── IPseudoElement.cs
│ │ ├── IComment.cs
│ │ ├── IHtmlAllCollection.cs
│ │ ├── Media
│ │ │ └── IMediaError.cs
│ │ ├── IDomException.cs
│ │ ├── ILoadableElement.cs
│ │ ├── ILinkImport.cs
│ │ ├── ILinkStyle.cs
│ │ ├── ISettableTokenList.cs
│ │ ├── Io
│ │ │ └── IFile.cs
│ │ ├── IBindable.cs
│ │ └── IProcessingInstruction.cs
│ ├── Dom
│ │ ├── NodeFilter.cs
│ │ ├── Constants
│ │ │ ├── SimpleChoice.cs
│ │ │ ├── DirectionMode.cs
│ │ │ ├── ContentEditableMode.cs
│ │ │ ├── DocumentReadyState.cs
│ │ │ ├── WordBreak.cs
│ │ │ ├── ShadowRootMode.cs
│ │ │ ├── QuirksMode.cs
│ │ │ ├── RangePosition.cs
│ │ │ ├── TextTrackMode.cs
│ │ │ ├── AdjacentPosition.cs
│ │ │ ├── WheelMode.cs
│ │ │ ├── MediaControllerPlaybackState.cs
│ │ │ └── FilterResult.cs
│ │ ├── MutationCallback.cs
│ │ ├── DomEventHandler.cs
│ │ ├── Html
│ │ │ ├── HtmlRubyElement.cs
│ │ │ ├── HtmlBigElement.cs
│ │ │ ├── HtmlBoldElement.cs
│ │ │ ├── HtmlCodeElement.cs
│ │ │ ├── HtmlItalicElement.cs
│ │ │ ├── HtmlPictureElement.cs
│ │ │ ├── HtmlSpanElement.cs
│ │ │ ├── HtmlStruckElement.cs
│ │ │ ├── HtmlUnknownElement.cs
│ │ │ ├── HtmlAddressElement.cs
│ │ │ ├── HtmlSmallElement.cs
│ │ │ ├── HtmlUnderlineElement.cs
│ │ │ ├── HtmlEmphasizeElement.cs
│ │ │ ├── HtmlRtElement.cs
│ │ │ ├── HtmlStrikeElement.cs
│ │ │ ├── HtmlStrongElement.cs
│ │ │ ├── HtmlXmpElement.cs
│ │ │ ├── HtmlDivElement.cs
│ │ │ ├── HtmlHeadElement.cs
│ │ │ ├── HtmlNoNewlineElement.cs
│ │ │ ├── HtmlRbElement.cs
│ │ │ ├── HtmlRpElement.cs
│ │ │ ├── HtmlRtcElement.cs
│ │ │ ├── HtmlTeletypeTextElement.cs
│ │ │ ├── HtmlHrElement.cs
│ │ │ ├── HtmlDefinitionListElement.cs
│ │ │ ├── HtmlPlaintextElement.cs
│ │ │ ├── HtmlNoEmbedElement.cs
│ │ │ ├── HtmlPreElement.cs
│ │ │ ├── HtmlSemanticElement.cs
│ │ │ ├── HtmlNoFramesElement.cs
│ │ │ ├── HtmlNoScriptElement.cs
│ │ │ ├── HtmlBreakRowElement.cs
│ │ │ ├── HtmlTableDataCellElement.cs
│ │ │ ├── HtmlTableHeaderCellElement.cs
│ │ │ ├── HtmlHeadingElement.cs
│ │ │ ├── HtmlAppletElement.cs
│ │ │ ├── HtmlUnorderedListElement.cs
│ │ │ ├── HtmlBgsoundElement.cs
│ │ │ ├── HtmlFontElement.cs
│ │ │ ├── HtmlDirectoryElement.cs
│ │ │ ├── HtmlBaseFontElement.cs
│ │ │ ├── HtmlWbrElement.cs
│ │ │ └── HtmlDataElement.cs
│ │ ├── Css
│ │ │ ├── ConditionFunctions
│ │ │ │ └── EmptyCondition.cs
│ │ │ ├── Constants
│ │ │ │ ├── PlayState.cs
│ │ │ │ ├── FontVariant.cs
│ │ │ │ ├── StrokeLinejoin.cs
│ │ │ │ ├── StrokeLinecap.cs
│ │ │ │ ├── OverflowWrap.cs
│ │ │ │ ├── ListPosition.cs
│ │ │ │ ├── PointerAccuracy.cs
│ │ │ │ ├── HoverAbility.cs
│ │ │ │ ├── FontStyle.cs
│ │ │ │ ├── Floating.cs
│ │ │ │ ├── FontWeight.cs
│ │ │ │ ├── OverflowMode.cs
│ │ │ │ ├── TextAnchor.cs
│ │ │ │ ├── BoxModel.cs
│ │ │ │ ├── TextDecorationStyle.cs
│ │ │ │ └── ClearMode.cs
│ │ │ ├── Rules
│ │ │ │ ├── CssViewportRule.cs
│ │ │ │ └── CssConditionRule.cs
│ │ │ ├── Properties
│ │ │ │ ├── Text
│ │ │ │ │ ├── CssTextJustifyProperty.cs
│ │ │ │ │ └── CssWordBreakProperty.cs
│ │ │ │ ├── CssUnknownProperty.cs
│ │ │ │ └── Font
│ │ │ │ │ ├── CssSrcProperty.cs
│ │ │ │ │ └── CssUnicodeRangeProperty.cs
│ │ │ ├── DocumentFunctions
│ │ │ │ ├── UrlPrefixFunction.cs
│ │ │ │ └── UrlFunction.cs
│ │ │ └── MediaFeatures
│ │ │ │ └── UnknownMediaFeature.cs
│ │ ├── Svg
│ │ │ ├── SvgSvgElement.cs
│ │ │ ├── SvgCircleElement.cs
│ │ │ ├── SvgDescElement.cs
│ │ │ ├── SvgTitleElement.cs
│ │ │ └── SvgForeignObjectElement.cs
│ │ ├── Mathml
│ │ │ ├── MathNumberElement.cs
│ │ │ ├── MathTextElement.cs
│ │ │ ├── MathOperatorElement.cs
│ │ │ ├── MathStringElement.cs
│ │ │ ├── MathIdentifierElement.cs
│ │ │ └── MathAnnotationXmlElement.cs
│ │ ├── AttrChangedCallback.cs
│ │ └── Collections
│ │ │ └── SettableTokenList.cs
│ ├── Html
│ │ ├── Submitters
│ │ │ └── Json
│ │ │ │ ├── JsonElement.cs
│ │ │ │ └── JsonValue.cs
│ │ ├── IFormSubmitter.cs
│ │ ├── InputTypes
│ │ │ ├── SubmitInputType.cs
│ │ │ ├── PatternInputType.cs
│ │ │ └── ButtonInputType.cs
│ │ └── TextDataSetEntry.cs
│ ├── Attributes
│ │ ├── DomConstructorAttribute.cs
│ │ ├── DomLiteralsAttribute.cs
│ │ ├── DomNoInterfaceObjectAttribute.cs
│ │ ├── DomLenientThisAttribute.cs
│ │ └── DomHistoricalAttribute.cs
│ ├── Parser
│ │ └── Xml
│ │ │ └── Tokens
│ │ │ └── XmlEndOfFileToken.cs
│ ├── IConfiguration.cs
│ ├── Foundation
│ │ ├── WeakReference.cs
│ │ └── TaskPriority.cs
│ ├── Extensions
│ │ └── ContextExtensions.cs
│ ├── IMarkupFormattable.cs
│ ├── IStyleFormattable.cs
│ └── AngleSharp.Core.csproj
├── Blazor.Host
│ ├── wwwroot
│ │ └── _framework
│ │ │ ├── asmjs
│ │ │ ├── dna.wasm
│ │ │ └── dna.js.mem
│ │ │ └── wasm
│ │ │ └── dna.wasm
│ ├── Host
│ │ ├── Debugging
│ │ │ ├── Models
│ │ │ │ ├── SourceFileInfo.cs
│ │ │ │ ├── PossibleBreakpointLocation.cs
│ │ │ │ └── DebuggerInvocationException.cs
│ │ │ ├── Discovery
│ │ │ │ └── DebuggablePageInfo.cs
│ │ │ └── Protocol
│ │ │ │ └── MessageBase.cs
│ │ └── Program.cs
│ └── Program.cs
├── Blazor.Runtime
│ ├── VirtualDom
│ │ ├── VDomElementKey.cs
│ │ ├── VDomAttribute.cs
│ │ ├── VDomComponent.cs
│ │ ├── VDomItemType.cs
│ │ └── VEventHandler.cs
│ ├── Interop
│ │ ├── Window.cs
│ │ ├── Env.cs
│ │ ├── Browser.cs
│ │ ├── JavaScript.cs
│ │ ├── Document.cs
│ │ ├── Startup.cs
│ │ └── FakeMvcTypes.cs
│ ├── Components
│ │ ├── BlazorContext.cs
│ │ └── IRazorComponentFactory.cs
│ └── Blazor.Runtime.csproj
└── Blazor.Compiler
│ └── Properties
│ └── launchSettings.json
├── .gitignore
├── template
├── MyApplication
│ ├── Index.cshtml
│ ├── sw-file-icon.png
│ ├── sw-file-previewimage.png
│ ├── _ViewImports.cshtml
│ ├── wwwroot
│ │ ├── css
│ │ │ └── fonts
│ │ │ │ ├── glyphicons-halflings-regular.eot
│ │ │ │ ├── glyphicons-halflings-regular.ttf
│ │ │ │ ├── glyphicons-halflings-regular.woff
│ │ │ │ └── glyphicons-halflings-regular.woff2
│ │ ├── index.html
│ │ └── sample-data
│ │ │ └── weather.json
│ ├── Program.cs
│ ├── Shared
│ │ └── _Layout.cshtml
│ ├── Counter.cshtml
│ ├── .template.config
│ │ └── template.json
│ ├── Properties
│ │ ├── sw-launchSettings.json
│ │ └── launchSettings.json
│ ├── MyApplication.csproj
│ └── _preprocess.xml
└── Blazor.VSExtension
│ ├── packages.config
│ └── Properties
│ └── template-builder.props
├── version.props
├── artifacts
└── placeholder.txt
├── NuGet.config
└── CODE-OF-CONDUCT.md
/samples/ClientServerApp/.gitignore:
--------------------------------------------------------------------------------
1 | launchSettings.json
2 |
--------------------------------------------------------------------------------
/src/DNA/.gitignore:
--------------------------------------------------------------------------------
1 | Debug
2 | native/Debug
3 | native/x64
4 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | bin
2 | obj
3 | *.suo
4 | *.user
5 | *.nupkg
6 | .vs/
7 | /packages/
8 | /artifacts/
--------------------------------------------------------------------------------
/template/MyApplication/Index.cshtml:
--------------------------------------------------------------------------------
1 |
Hello, world!
2 | Welcome to your new single-page application.
3 |
--------------------------------------------------------------------------------
/template/MyApplication/sw-file-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/template/MyApplication/sw-file-icon.png
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Client/Index.cshtml:
--------------------------------------------------------------------------------
1 | Hello, world!
2 | Welcome to your new single-page application.
3 |
--------------------------------------------------------------------------------
/src/AngleSharp/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Runtime.CompilerServices;
2 |
3 | [assembly: InternalsVisibleToAttribute("Blazor.Compiler")]
4 |
--------------------------------------------------------------------------------
/template/MyApplication/sw-file-previewimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/template/MyApplication/sw-file-previewimage.png
--------------------------------------------------------------------------------
/src/Blazor.Host/wwwroot/_framework/asmjs/dna.wasm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/src/Blazor.Host/wwwroot/_framework/asmjs/dna.wasm
--------------------------------------------------------------------------------
/src/Blazor.Host/wwwroot/_framework/wasm/dna.wasm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/src/Blazor.Host/wwwroot/_framework/wasm/dna.wasm
--------------------------------------------------------------------------------
/src/Blazor.Host/wwwroot/_framework/asmjs/dna.js.mem:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/src/Blazor.Host/wwwroot/_framework/asmjs/dna.js.mem
--------------------------------------------------------------------------------
/src/DNA/corlib/System/IDisposable.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System {
4 | public interface IDisposable {
5 | void Dispose();
6 | }
7 | }
8 |
9 | #endif
10 |
--------------------------------------------------------------------------------
/template/MyApplication/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @inherits Blazor.Components.RazorComponent
2 | @layout ./Shared/_Layout.cshtml
3 | @using Blazor.Util
4 | @using System.Net.Http
5 |
--------------------------------------------------------------------------------
/version.props:
--------------------------------------------------------------------------------
1 |
2 |
3 | 0.2.2
4 | preview
5 |
6 |
7 |
--------------------------------------------------------------------------------
/artifacts/placeholder.txt:
--------------------------------------------------------------------------------
1 | This file exists just to ensure the "artifacts" directory exists.
2 |
3 | Otherwise, NuGet restore fails because the directory is listed as a package source.
4 |
--------------------------------------------------------------------------------
/src/Blazor.Runtime/VirtualDom/VDomElementKey.cs:
--------------------------------------------------------------------------------
1 | namespace Blazor.VirtualDom
2 | {
3 | public struct VDomElementKey
4 | {
5 | public string Value { get; set; }
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/template/Blazor.VSExtension/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.ComponentModel.DataAnnotations/ValidationAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace System.ComponentModel.DataAnnotations
2 | {
3 | public class ValidationAttribute : Attribute
4 | {
5 | }
6 | }
--------------------------------------------------------------------------------
/template/MyApplication/wwwroot/css/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/template/MyApplication/wwwroot/css/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/template/MyApplication/wwwroot/css/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/template/MyApplication/wwwroot/css/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/template/MyApplication/wwwroot/css/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/template/MyApplication/wwwroot/css/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/template/MyApplication/wwwroot/css/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/template/MyApplication/wwwroot/css/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/src/DNA/corlib/System.IO/SeekOrigin.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.IO {
4 | public enum SeekOrigin : int {
5 | Begin = 0,
6 | Current = 1,
7 | End = 2,
8 | }
9 | }
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/src/DNA/native/System.Attribute.h:
--------------------------------------------------------------------------------
1 | #if !defined(__SYSTEM_ATTRIBUTE_H)
2 | #define __SYSTEM_ATTRIBUTE_H
3 |
4 | typedef struct tSystemAttribute_ tSystemAttribute;
5 | struct tSystemAttribute_ {
6 | };
7 |
8 | #endif
--------------------------------------------------------------------------------
/src/DNA/corlib/System.IO/FileAccess.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.IO {
4 | public enum FileAccess : int {
5 | Read = 1,
6 | Write = 2,
7 | ReadWrite = Read | Write,
8 | }
9 | }
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/ConsoleModifiers.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System {
4 | [Flags]
5 | public enum ConsoleModifiers {
6 | Alt = 1,
7 | Shift = 2,
8 | Control = 4
9 | }
10 | }
11 |
12 | #endif
13 |
--------------------------------------------------------------------------------
/src/Blazor.Runtime/VirtualDom/VDomAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace Blazor.VirtualDom
2 | {
3 | public struct VDomAttribute
4 | {
5 | public string Name { get; set; }
6 | public object Value { get; set; }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/src/DNA/native/src/Reflection.h:
--------------------------------------------------------------------------------
1 | #if !defined(__REFLECTION_H)
2 | #define __REFLECTION
3 |
4 | #include "Types.h"
5 |
6 | tAsyncCall* Reflection_MemberInfo_GetCustomAttributes(PTR pThis_, PTR pParams, PTR pReturnValue);
7 |
8 | #endif
--------------------------------------------------------------------------------
/src/Blazor.Runtime/VirtualDom/VDomComponent.cs:
--------------------------------------------------------------------------------
1 | using Blazor.Components;
2 |
3 | namespace Blazor.VirtualDom
4 | {
5 | public struct VDomComponent
6 | {
7 | public Component Component { get; set; }
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Globalization/DigitShapes.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.Globalization {
4 | public enum DigitShapes {
5 | Context = 0,
6 | None = 1,
7 | NativeNational = 2
8 | }
9 | }
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Client/wwwroot/css/fonts/glyphicons-halflings-regular.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/samples/ClientServerApp/ClientServerApp.Client/wwwroot/css/fonts/glyphicons-halflings-regular.eot
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Client/wwwroot/css/fonts/glyphicons-halflings-regular.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/samples/ClientServerApp/ClientServerApp.Client/wwwroot/css/fonts/glyphicons-halflings-regular.ttf
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Client/wwwroot/css/fonts/glyphicons-halflings-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/samples/ClientServerApp/ClientServerApp.Client/wwwroot/css/fonts/glyphicons-halflings-regular.woff
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Client/wwwroot/css/fonts/glyphicons-halflings-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aspnet/Blazor-Hackathon/HEAD/samples/ClientServerApp/ClientServerApp.Client/wwwroot/css/fonts/glyphicons-halflings-regular.woff2
--------------------------------------------------------------------------------
/src/AngleSharp/Css/Values/ITimingFunction.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Css.Values
2 | {
3 | ///
4 | /// Represents a general timing function.
5 | ///
6 | public interface ITimingFunction
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/DayOfWeek.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System {
4 | public enum DayOfWeek {
5 | Sunday,
6 | Monday,
7 | Tuesday,
8 | Wednesday,
9 | Thursday,
10 | Friday,
11 | Saturday
12 | }
13 | }
14 |
15 | #endif
16 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/OperationCanceledException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace System
6 | {
7 | public class OperationCanceledException : Exception
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/src/AngleSharp/Services/IMediaFeatureFactory.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Services
2 | {
3 | using AngleSharp.Dom.Css;
4 | using System;
5 |
6 | interface IMediaFeatureFactory
7 | {
8 | MediaFeature Create(String name);
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/src/AngleSharp/Services/Media/IAudioInfo.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Services.Media
2 | {
3 | ///
4 | /// Contains information about a sound file.
5 | ///
6 | public interface IAudioInfo : IMediaInfo
7 | {
8 | }
9 | }
10 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.IO/FileNotFoundException.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.IO {
4 | public class FileNotFoundException : IOException {
5 |
6 | public FileNotFoundException(string msg) : base(msg) { }
7 |
8 | }
9 | }
10 |
11 | #endif
12 |
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Client/_ViewImports.cshtml:
--------------------------------------------------------------------------------
1 | @inherits Blazor.Components.RazorComponent
2 | @layout ./Shared/_Layout.cshtml
3 | @using Blazor.Util
4 | @using ClientServerApp.Client
5 | @using ClientServerApp.Shared
6 | @using System.Net.Http
7 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.IO/FileShare.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.IO {
4 | public enum FileShare : int {
5 | None = 0,
6 | Read = 1,
7 | Write = 2,
8 | ReadWrite = 3,
9 | Delete = 4,
10 | Inheritable = 16,
11 | }
12 | }
13 |
14 | #endif
15 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/DateTimeOffset.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | using System.Runtime.CompilerServices;
4 | using System.Globalization;
5 | using System.Text;
6 | namespace System {
7 | public struct DateTimeOffset {
8 |
9 |
10 | }
11 | }
12 |
13 | #endif
14 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/IComparable.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System {
4 |
5 | public interface IComparable {
6 | int CompareTo(object obj);
7 | }
8 |
9 | public interface IComparable {
10 | int CompareTo(T x);
11 | }
12 |
13 | }
14 |
15 | #endif
--------------------------------------------------------------------------------
/src/DNA/corlib/System.IO/FileMode.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.IO {
4 | public enum FileMode : int {
5 | CreateNew = 1,
6 | Create = 2,
7 | Open = 3,
8 | OpenOrCreate = 4,
9 | Truncate = 5,
10 | Append = 6,
11 | }
12 | }
13 |
14 | #endif
15 |
--------------------------------------------------------------------------------
/src/Blazor.Runtime/VirtualDom/VDomItemType.cs:
--------------------------------------------------------------------------------
1 | namespace Blazor.VirtualDom
2 | {
3 | public enum VDomItemType : int
4 | {
5 | Blank = 0,
6 | Element = 1,
7 | TextNode = 2,
8 | Attribute = 3,
9 | Component = 4
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/template/MyApplication/Program.cs:
--------------------------------------------------------------------------------
1 | using Blazor.Routing;
2 |
3 | namespace MyApplication
4 | {
5 | public class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Router.MountInElement("app");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/NuGet.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/IFormatProvider.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Text;
6 |
7 | namespace System {
8 | public interface IFormatProvider {
9 | object GetFormat(Type formatType);
10 | }
11 | }
12 |
13 | #endif
14 |
--------------------------------------------------------------------------------
/CODE-OF-CONDUCT.md:
--------------------------------------------------------------------------------
1 | # Code of Conduct
2 |
3 | This project has adopted the code of conduct defined by the Contributor Covenant
4 | to clarify expected behavior in our community.
5 |
6 | For more information, see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
7 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.IO/IOException.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.IO {
4 | public class IOException : SystemException {
5 |
6 | public IOException() : base("I/O Error") { }
7 | public IOException(string message) : base(message) { }
8 |
9 | }
10 | }
11 |
12 | #endif
13 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/FormatException.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System {
4 | public class FormatException : SystemException {
5 | public FormatException() : base("Invalid Format.") { }
6 | public FormatException(string msg) : base(msg) { }
7 | }
8 | }
9 |
10 | #endif
11 |
--------------------------------------------------------------------------------
/template/MyApplication/Shared/_Layout.cshtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | @RenderBody()
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.ComponentModel.DataAnnotations/RequiredAttribute.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace System.ComponentModel.DataAnnotations
6 | {
7 | public class RequiredAttribute : ValidationAttribute
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Client/Program.cs:
--------------------------------------------------------------------------------
1 | using Blazor.Routing;
2 |
3 | namespace ClientServerApp.Client
4 | {
5 | public class Program
6 | {
7 | static void Main(string[] args)
8 | {
9 | Router.MountInElement("app");
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Css/Values/IImageSource.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Css.Values
2 | {
3 | ///
4 | /// Basic interface for all image sources
5 | /// (linear-gradient, radial-gradient, URL, solid, ...).
6 | ///
7 | public interface IImageSource
8 | {
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Client/Shared/_Layout.cshtml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | @RenderBody()
8 |
9 |
10 |
--------------------------------------------------------------------------------
/src/DNA/native/src/System.Reflection.MethodInfo.h:
--------------------------------------------------------------------------------
1 | #if !defined(__SYSTEM_REFLECTION_METHODINFO_H)
2 | #define __SYSTEM_REFLECTION_METHODINFO_H
3 |
4 | #include "System.Reflection.MethodBase.h"
5 |
6 | typedef struct tMethodInfo_ tMethodInfo;
7 | struct tMethodInfo_ {
8 | tMethodBase methodBase;
9 | };
10 |
11 | #endif
--------------------------------------------------------------------------------
/samples/JSLibs/JSLibs.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard1.6
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/AngleSharp/Css/IPropertyValue.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Css
2 | {
3 | using AngleSharp.Dom.Css;
4 | using System;
5 |
6 | interface IPropertyValue
7 | {
8 | String CssText { get; }
9 |
10 | CssValue Original { get; }
11 |
12 | CssValue ExtractFor(String name);
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/AngleSharp/Network/RequestProcessors/IRequestProcessor.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Network.RequestProcessors
2 | {
3 | using System.Threading.Tasks;
4 |
5 | interface IRequestProcessor
6 | {
7 | IDownload Download { get; }
8 |
9 | Task ProcessAsync(ResourceRequest request);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/AngleSharp/Services/IInputTypeFactory.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Services
2 | {
3 | using AngleSharp.Dom.Html;
4 | using AngleSharp.Html.InputTypes;
5 | using System;
6 |
7 | interface IInputTypeFactory
8 | {
9 | BaseInputType Create(IHtmlInputElement input, String type);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/AngleSharp/Services/ILinkRelationFactory.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Services
2 | {
3 | using AngleSharp.Dom.Html;
4 | using AngleSharp.Html.LinkRels;
5 | using System;
6 |
7 | interface ILinkRelationFactory
8 | {
9 | BaseLinkRelation Create(HtmlLinkElement link, String rel);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Runtime.CompilerServices/VoidTaskResult.cs:
--------------------------------------------------------------------------------
1 | // From https://github.com/Microsoft/referencesource
2 | // See copyright and license details in that repo
3 |
4 | namespace System.Runtime.CompilerServices
5 | {
6 | /// Used with Task(of void)
7 | internal struct VoidTaskResult {
8 | }
9 | }
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlHrElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the hr HTML element.
7 | ///
8 | [DomName("HTMLHRElement")]
9 | public interface IHtmlHrElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Svg/ISvgSvgElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Svg
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the svg SVG element.
7 | ///
8 | [DomName("SVGSVGElement")]
9 | public interface ISvgSvgElement : ISvgElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Xml/IXmlDocument.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Xml
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// The interface represent an XML document.
7 | ///
8 | [DomName("XMLDocument")]
9 | public interface IXmlDocument : IDocument
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Services/IElementFactory.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Services
2 | {
3 | using AngleSharp.Dom;
4 | using System;
5 |
6 | interface IElementFactory
7 | where TElement : Element
8 | {
9 | TElement Create(Document document, String localName, String prefix = null);
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlDivElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the div HTML element.
7 | ///
8 | [DomName("HTMLDivElement")]
9 | public interface IHtmlDivElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlPreElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the pre HTML element.
7 | ///
8 | [DomName("HTMLPreElement")]
9 | public interface IHtmlPreElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Svg/ISvgTitleElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Svg
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the title SVG element.
7 | ///
8 | [DomName("SVGTitleElement")]
9 | public interface ISvgTitleElement : ISvgElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Blazor.Runtime/Interop/Window.cs:
--------------------------------------------------------------------------------
1 | namespace Blazor.Runtime.Interop
2 | {
3 | public class Window : JavaScriptInvocation
4 | {
5 | public static Document Document => JavaScript.Document;
6 |
7 | internal Window(JSObjectHandle currentHandle) : base(currentHandle)
8 | {
9 | }
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Globalization/CalendarWeekRule.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Text;
6 |
7 | namespace System.Globalization {
8 | public enum CalendarWeekRule {
9 | FirstDay = 0,
10 | FirstFullWeek = 1,
11 | FirstFourDayWeek = 2
12 | }
13 | }
14 |
15 | #endif
16 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlHeadElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the head HTML element.
7 | ///
8 | [DomName("HTMLHeadElement")]
9 | public interface IHtmlHeadElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlSpanElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the span HTML element.
7 | ///
8 | [DomName("HTMLSpanElement")]
9 | public interface IHtmlSpanElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Svg/ISvgCircleElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Svg
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the circle SVG element.
7 | ///
8 | [DomName("SVGCircleElement")]
9 | public interface ISvgCircleElement : ISvgElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Blazor.Runtime/Components/BlazorContext.cs:
--------------------------------------------------------------------------------
1 | namespace Blazor.Runtime.Components
2 | {
3 | public class BlazorContext
4 | {
5 | public string AbsoluteUrl { get; private set; }
6 |
7 | public BlazorContext(string absoluteUrl)
8 | {
9 | AbsoluteUrl = absoluteUrl;
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/samples/ClientServerApp/ClientServerApp.Shared/ClientServerApp.Shared.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netstandard1.3
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlBreakRowElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the br HTML element.
7 | ///
8 | [DomName("HTMLBRElement")]
9 | public interface IHtmlBreakRowElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Svg/ISvgDescriptionElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Svg
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the desc SVG element.
7 | ///
8 | [DomName("SVGDescElement")]
9 | public interface ISvgDescriptionElement : ISvgElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Runtime.CompilerServices/IAsyncMethodBuilder.cs:
--------------------------------------------------------------------------------
1 | // From https://github.com/Microsoft/referencesource
2 | // See copyright and license details in that repo
3 |
4 | namespace System.Runtime.CompilerServices
5 | {
6 | internal interface IAsyncMethodBuilder
7 | {
8 | void PreBoxInitialization();
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/IAsyncResult.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | using System.Threading;
4 |
5 | namespace System {
6 | public interface IAsyncResult {
7 |
8 | object AsyncState { get;}
9 | WaitHandle AsyncWaitHandle { get; }
10 | bool CompletedSynchronously { get; }
11 | bool IsCompleted { get; }
12 |
13 | }
14 | }
15 |
16 | #endif
17 |
--------------------------------------------------------------------------------
/src/DNA/native/src/System.Reflection.MemberInfo.h:
--------------------------------------------------------------------------------
1 | #if !defined(__SYSTEM_REFLECTION_MEMBERINFO_H)
2 | #define __SYSTEM_REFLECTION_MEMBERINFO_H
3 |
4 |
5 | typedef struct tMemberInfo_ tMemberInfo;
6 | struct tMemberInfo_ {
7 | // Keep in sync with System.Reflection.MemberInfo.cs
8 | HEAP_PTR ownerType;
9 | HEAP_PTR name;
10 | };
11 |
12 | #endif
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlAudioElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the audio HTML element.
7 | ///
8 | [DomName("HTMLAudioElement")]
9 | public interface IHtmlAudioElement : IHtmlMediaElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlParagraphElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the p HTML element.
7 | ///
8 | [DomName("HTMLParagraphElement")]
9 | public interface IHtmlParagraphElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlUnknownElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents an unknown HTML element.
7 | ///
8 | [DomName("HTMLUnknownElement")]
9 | public interface IHtmlUnknownElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Blazor.Runtime/Components/IRazorComponentFactory.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace Blazor.Components
8 | {
9 | public interface IRazorComponentFactory
10 | {
11 | RazorComponent Instantiate();
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.IO/DirectoryNotFoundException.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.IO {
4 | public class DirectoryNotFoundException : SystemException {
5 |
6 | public DirectoryNotFoundException() : base("Directory not found.") { }
7 | public DirectoryNotFoundException(string msg) : base(msg) { }
8 |
9 | }
10 | }
11 |
12 | #endif
13 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.IO/SearchPattern.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.IO {
4 | internal class SearchPattern {
5 |
6 | internal static readonly char[] WildcardChars = { '*', '?' };
7 | internal static readonly char[] InvalidChars = { Path.DirectorySeparatorChar, Path.AltDirectorySeparatorChar };
8 |
9 | }
10 | }
11 |
12 | #endif
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlDocument.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Serves as an entry point to the content of an HTML document.
7 | ///
8 | [DomName("HTMLDocument")]
9 | public interface IHtmlDocument : IDocument
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlHeadingElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the heading HTML element(s).
7 | ///
8 | [DomName("HTMLHeadingElement")]
9 | public interface IHtmlHeadingElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlUnorderedListElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents an ul HTML element.
7 | ///
8 | [DomName("HTMLUListElement")]
9 | public interface IHtmlUnorderedListElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Blazor.Runtime/Blazor.Runtime.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Library
6 | netstandard1.6
7 | $(MSBuildThisFileDirectory)../../artifacts/
8 |
9 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlTableCaptionElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the caption HTML element.
7 | ///
8 | [DomName("HTMLTableCaptionElement")]
9 | public interface IHtmlTableCaptionElement : IHtmlElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/NodeFilter.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | ///
4 | /// The signature for a NodeFilter callback function.
5 | ///
6 | /// The node to examine.
7 | /// The result after the examination of the node.
8 | public delegate FilterResult NodeFilter(INode node);
9 | }
10 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Svg/ISvgForeignObjectElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Svg
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the foreignobject SVG element.
7 | ///
8 | [DomName("SVGForeignObjectElement")]
9 | public interface ISvgForeignObjectElement : ISvgElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlTableDataCellElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the td HTML element.
7 | ///
8 | [DomName("HTMLTableDataCellElement")]
9 | public interface IHtmlTableDataCellElement : IHtmlTableCellElement
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/Blazor.Runtime/Interop/Env.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace Blazor.Runtime
6 | {
7 | public static class Env
8 | {
9 | private static bool _isServer = false;
10 |
11 | public static bool IsServer => _isServer;
12 | public static bool IsClient => !_isServer;
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Reflection/TypeInfo.cs:
--------------------------------------------------------------------------------
1 | namespace System.Reflection
2 | {
3 | public class TypeInfo : MemberInfo
4 | {
5 | private readonly Type _type;
6 |
7 | internal TypeInfo(Type type) : base(type, type.Name)
8 | {
9 | _type = type;
10 | }
11 |
12 | public bool IsValueType => _type.IsValueType;
13 | }
14 | }
--------------------------------------------------------------------------------
/src/DNA/corlib/System/AggregateException.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace System
6 | {
7 | public class AggregateException : Exception
8 | {
9 | public AggregateException(Exception exception) : base("Error occurred: " + exception.Message, exception)
10 | {
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/template/MyApplication/Counter.cshtml:
--------------------------------------------------------------------------------
1 | Counter
2 |
3 | This is a simple example of a component.
4 |
5 | Current count: @currentCount
6 |
7 |
8 |
9 | @functions {
10 | int currentCount;
11 |
12 | void IncrementCount()
13 | {
14 | currentCount++;
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Reflection/AssemblyName.cs:
--------------------------------------------------------------------------------
1 | namespace System.Reflection
2 | {
3 | public sealed class AssemblyName
4 | {
5 | public AssemblyName() {}
6 |
7 | public AssemblyName(string assemblyName) : this()
8 | {
9 | Name = assemblyName;
10 | }
11 |
12 | public string Name { get; set; }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/template/MyApplication/wwwroot/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | Loading...
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Services/Media/IResourceInfo.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Services.Media
2 | {
3 | ///
4 | /// Specifies general resource information.
5 | ///
6 | public interface IResourceInfo
7 | {
8 | ///
9 | /// Gets the source of the resource.
10 | ///
11 | Url Source { get; set; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Reflection/IntrospectionExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace System.Reflection
6 | {
7 | public static class IntrospectionExtensions
8 | {
9 | public static TypeInfo GetTypeInfo(this Type type)
10 | {
11 | return new TypeInfo(type);
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Constants/SimpleChoice.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | ///
4 | /// Contains simple choices.
5 | ///
6 | enum SimpleChoice : byte
7 | {
8 | ///
9 | /// Yes.
10 | ///
11 | Yes,
12 | ///
13 | /// No.
14 | ///
15 | No
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/AngleSharp/Html/Submitters/Json/JsonElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Html.Submitters.Json
2 | {
3 | using System;
4 |
5 | abstract class JsonElement
6 | {
7 | public virtual JsonElement this[String key]
8 | {
9 | get { throw new InvalidOperationException(); }
10 | set { throw new InvalidOperationException(); }
11 | }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlBodyElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 | using AngleSharp.Dom.Events;
5 |
6 | ///
7 | /// Represents the body HTML element.
8 | ///
9 | [DomName("HTMLBodyElement")]
10 | public interface IHtmlBodyElement : IHtmlElement, IWindowEventHandlers
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Html/IHtmlFormControlsCollection.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents a collection of HTML form controls.
7 | ///
8 | [DomName("HTMLFormControlsCollection")]
9 | public interface IHtmlFormControlsCollection : IHtmlCollection
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Css/ICssComment.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Css
2 | {
3 | using System;
4 |
5 | ///
6 | /// Represents a comment in the CSSOM.
7 | ///
8 | public interface ICssComment : ICssNode
9 | {
10 | ///
11 | /// Gets the contained comment data.
12 | ///
13 | String Data { get; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/MutationCallback.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | ///
4 | /// Defines the callback signature for a mutation event.
5 | ///
6 | /// The sequence of mutations.
7 | /// The observer.
8 | public delegate void MutationCallback(IMutationRecord[] mutations, MutationObserver observer);
9 | }
10 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Globalization/CultureTypes.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System.Globalization {
4 | [Flags]
5 | public enum CultureTypes {
6 | NeutralCultures = 1,
7 | SpecificCultures = 2,
8 | InstalledWin32Cultures = 4,
9 | AllCultures = 7,
10 | UserCustomCulture = 8,
11 | ReplacementCultures = 16,
12 | WindowsOnlyCultures = 32,
13 | FrameworkCultures = 64,
14 | }
15 | }
16 |
17 | #endif
--------------------------------------------------------------------------------
/src/DNA/native/src/System.Reflection.MethodBase.h:
--------------------------------------------------------------------------------
1 | #if !defined(__SYSTEM_REFLECTION_METHODBASE_H)
2 | #define __SYSTEM_REFLECTION_METHODBASE_H
3 |
4 | typedef struct tMethodBase_ tMethodBase;
5 | struct tMethodBase_ {
6 | // Keep in sync with MethodBase class in .NET corlib code
7 | HEAP_PTR ownerType;
8 | HEAP_PTR name;
9 | tMD_MethodDef *methodDef; // Not accessed from .NET code
10 | };
11 |
12 | #endif
--------------------------------------------------------------------------------
/samples/JSLibs/Bootstrap/Modal.cs:
--------------------------------------------------------------------------------
1 | using Blazor.Runtime.Interop;
2 | using static Blazor.Runtime.Interop.Document;
3 |
4 | namespace JSLibs.Bootstrap
5 | {
6 | public class Modal : JSObject
7 | {
8 | public Modal(Node node)
9 | : base((JSObjectHandle)JSObjectHandle.Global.CallNew("Modal", node))
10 | {
11 | }
12 |
13 | public void Show() => Call("show");
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/AngleSharp/Attributes/DomConstructorAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Attributes
2 | {
3 | using System;
4 |
5 | ///
6 | /// This attribute is used to mark a constructor as being
7 | /// accessible from scripts.
8 | ///
9 | [AttributeUsage(AttributeTargets.Constructor, Inherited = false)]
10 | public sealed class DomConstructorAttribute : Attribute
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/IDocumentFragment.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// The DocumentFragment interface represents a minimal document object
7 | /// that has no parent.
8 | ///
9 | [DomName("DocumentFragment")]
10 | public interface IDocumentFragment : INode, IParentNode, INonElementParentNode
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Navigator/INavigator.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Navigator
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents the navigator information of a browsing context.
7 | ///
8 | [DomName("Navigator")]
9 | public interface INavigator : INavigatorId, INavigatorContentUtilities, INavigatorStorageUtilities, INavigatorOnline
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Reflection/RuntimeReflectionExtensions.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Text;
4 |
5 | namespace System.Reflection
6 | {
7 | public static class RuntimeReflectionExtensions
8 | {
9 | public static IEnumerable GetRuntimeProperties(this Type type)
10 | {
11 | return type.GetProperties();
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System.Globalization/GregorianCalendarTypes.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Text;
6 |
7 | namespace System.Globalization {
8 | public enum GregorianCalendarTypes {
9 | Localized = 1,
10 | USEnglish = 2,
11 | MiddleEastFrench = 9,
12 | Arabic = 10,
13 | TransliteratedEnglish = 11,
14 | TransliteratedFrench = 12,
15 | }
16 | }
17 |
18 | #endif
19 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/DomEventHandler.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | using AngleSharp.Dom.Events;
4 | using System;
5 |
6 | ///
7 | /// Defines the callback signature for an event.
8 | ///
9 | /// The callback this argument.
10 | /// The event arguments.
11 | public delegate void DomEventHandler(Object sender, Event ev);
12 | }
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/IPseudoElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | using AngleSharp.Attributes;
4 | using AngleSharp.Dom.Css;
5 |
6 | ///
7 | /// The PseudoElement interface is used for representing CSS
8 | /// pseudo-elements.
9 | ///
10 | [DomName("PseudoElement")]
11 | [DomNoInterfaceObject]
12 | public interface IPseudoElement : IStyleUtilities
13 | {
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/AngleSharp/Attributes/DomLiteralsAttribute.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Attributes
2 | {
3 | using System;
4 |
5 | ///
6 | /// This attribute is used to mark an enum as being just a collection of
7 | /// constant string values (with the names being the strings).
8 | ///
9 | [AttributeUsage(AttributeTargets.Enum)]
10 | public sealed class DomLiteralsAttribute : Attribute
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlRubyElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The ruby HTML element.
8 | ///
9 | sealed class HtmlRubyElement : HtmlElement
10 | {
11 | public HtmlRubyElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Ruby, prefix)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/DNA/native/src/System.Reflection.PropertyInfo.h:
--------------------------------------------------------------------------------
1 | #if !defined(__SYSTEM_REFLECTION_PROPERTYINFO_H)
2 | #define __SYSTEM_REFLECTION_PROPERTYINFO_H
3 |
4 | typedef struct tPropertyInfo_ tPropertyInfo;
5 | struct tPropertyInfo_ {
6 | // Keep in sync with System.Reflection.PropertyInfo.cs
7 | HEAP_PTR ownerType;
8 | HEAP_PTR name;
9 | HEAP_PTR propertyType;
10 |
11 | tMD_Property* pMetaData;
12 | IDX_TABLE index;
13 | };
14 |
15 | #endif
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Css/ConditionFunctions/EmptyCondition.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Css
2 | {
3 | using System;
4 | using System.IO;
5 |
6 | sealed class EmptyCondition : CssNode, IConditionFunction
7 | {
8 | public Boolean Check()
9 | {
10 | return true;
11 | }
12 |
13 | public override void ToCss(TextWriter writer, IStyleFormatter formatter)
14 | {
15 | }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Svg/ISvgElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Svg
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// The SVGElement interface represents any SVG element. Some elements directly
7 | /// implement this interface, other implement it via an interface that inherit it.
8 | ///
9 | [DomName("SVGElement")]
10 | public interface ISvgElement : IElement
11 | {
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/DNA/native/src/JSInterop.h:
--------------------------------------------------------------------------------
1 | #if !defined (__JSINTEROP_H)
2 | #define __JSINTEROP_H
3 | #include "CLIFile.h"
4 | #include "System.RuntimeType.h"
5 |
6 | tAsyncCall* Framework_JSInterop_ToHeapRef(PTR pThis_, PTR pParams, PTR pReturnValue);
7 | tAsyncCall* Framework_JSInterop_FromHeapRefImpl(PTR pThis_, PTR pParams, PTR pReturnValue);
8 | tAsyncCall* Framework_JSInterop_Activator_CreateInstance(PTR pThis_, PTR pParams, PTR pReturnValue);
9 | #endif
10 |
--------------------------------------------------------------------------------
/template/MyApplication/.template.config/template.json:
--------------------------------------------------------------------------------
1 | {
2 | "$schema": "http://json.schemastore.org/template",
3 | "author": "",
4 | "classifications": [ "Blazor" ],
5 | "name": "Blazor Sample Application",
6 | "identity": "Blazor.Sample.CSharp",
7 | "groupIdentity":"Blazor.Sample",
8 | "shortName": "blazor",
9 | "tags": {
10 | "language": "C#"
11 | },
12 | "sourceName": "MyApplication",
13 | "preferNameDirectory": true
14 | }
15 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/IComment.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// The Comment interface represents textual notations within markup;
7 | /// although it is generally not visually shown, such comments are
8 | /// available to be read in the source view.
9 | ///
10 | [DomName("Comment")]
11 | public interface IComment : ICharacterData
12 | {
13 | }
14 | }
--------------------------------------------------------------------------------
/src/AngleSharp/Network/OriginBehavior.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Network
2 | {
3 | ///
4 | /// The default origin behavior states.
5 | ///
6 | public enum OriginBehavior : byte
7 | {
8 | ///
9 | /// Data is gathered.
10 | ///
11 | Taint,
12 | ///
13 | /// Data is discarded in NO CORS.
14 | ///
15 | Fail
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlBigElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using System;
4 | using AngleSharp.Html;
5 |
6 | ///
7 | /// The big HTML element.
8 | ///
9 | sealed class HtmlBigElement : HtmlElement
10 | {
11 | public HtmlBigElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Big, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlBoldElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The bold HTML element.
8 | ///
9 | sealed class HtmlBoldElement : HtmlElement
10 | {
11 | public HtmlBoldElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.B, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Services/Media/IMediaInfo.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Services.Media
2 | {
3 | using AngleSharp.Dom.Media;
4 |
5 | ///
6 | /// Contains information about a media resource.
7 | ///
8 | public interface IMediaInfo : IResourceInfo
9 | {
10 | ///
11 | /// Gets the controller responsible for the media.
12 | ///
13 | IMediaController Controller { get; }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlCodeElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The code HTML element.
8 | ///
9 | sealed class HtmlCodeElement : HtmlElement
10 | {
11 | public HtmlCodeElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Code, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlItalicElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The i HTML element.
8 | ///
9 | sealed class HtmlItalicElement : HtmlElement
10 | {
11 | public HtmlItalicElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.I, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlPictureElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the HTML picture element.
8 | ///
9 | sealed class HtmlPictureElement : HtmlElement
10 | {
11 | public HtmlPictureElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Picture, prefix)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlSpanElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the HTML span element.
8 | ///
9 | sealed class HtmlSpanElement : HtmlElement, IHtmlSpanElement
10 | {
11 | public HtmlSpanElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Span, prefix)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlStruckElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The s HTML element.
8 | ///
9 | sealed class HtmlStruckElement : HtmlElement
10 | {
11 | public HtmlStruckElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.S, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlUnknownElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using System;
4 |
5 | ///
6 | /// The class for an unknown HTML element.
7 | ///
8 | sealed class HtmlUnknownElement : HtmlElement, IHtmlUnknownElement
9 | {
10 | public HtmlUnknownElement(Document owner, String localName, String prefix = null)
11 | : base(owner, localName, prefix)
12 | {
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Svg/SvgSvgElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Svg
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the svg element of the SVG DOM.
8 | ///
9 | sealed class SvgSvgElement : SvgElement, ISvgSvgElement
10 | {
11 | public SvgSvgElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Svg, prefix)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/Blazor.Compiler/Properties/launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "profiles": {
3 | "RazorRenderer": {
4 | "commandName": "Project",
5 | "commandLineArgs": "..\\..\\samples\\ClientServerApp\\ClientServerApp.Client\\ ClientServerApp.Client ..\\..\\samples\\ClientServerApp\\ClientServerApp.Client\\bin\\Debug\\netcoreapp1.0\\ClientServerApp.Client.dll ..\\..\\samples\\ClientServerApp\\ClientServerApp.Client\\bin\\Debug\\netcoreapp1.0\\ClientServerApp.Shared.dll"
6 | }
7 | }
8 | }
--------------------------------------------------------------------------------
/src/AngleSharp/Css/Values/ITransform.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Css.Values
2 | {
3 | ///
4 | /// Functionality for computing transformation.
5 | ///
6 | public interface ITransform
7 | {
8 | ///
9 | /// Computes the matrix for the given transformation.
10 | ///
11 | /// The transformation matrix representation.
12 | TransformMatrix ComputeMatrix();
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlAddressElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using System;
4 | using AngleSharp.Html;
5 |
6 | ///
7 | /// The address HTML element.
8 | ///
9 | sealed class HtmlAddressElement : HtmlElement
10 | {
11 | public HtmlAddressElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Address, prefix, NodeFlags.Special)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlSmallElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The small HTML element.
8 | ///
9 | sealed class HtmlSmallElement : HtmlElement
10 | {
11 | public HtmlSmallElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Small, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlUnderlineElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The u HTML element.
8 | ///
9 | sealed class HtmlUnderlineElement : HtmlElement
10 | {
11 | public HtmlUnderlineElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.U, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/IHtmlAllCollection.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// An HTMLAllCollection is always rooted at document and matching all
7 | /// elements. It represents the tree of elements in a one-dimensional
8 | /// fashion.
9 | ///
10 | [DomName("HTMLAllCollection")]
11 | public interface IHtmlAllCollection : IHtmlCollection
12 | {
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlEmphasizeElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using System;
4 | using AngleSharp.Html;
5 |
6 | ///
7 | /// The em HTML element.
8 | ///
9 | sealed class HtmlEmphasizeElement : HtmlElement
10 | {
11 | public HtmlEmphasizeElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Em, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlRtElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The rt element.
8 | ///
9 | sealed class HtmlRtElement : HtmlElement
10 | {
11 | public HtmlRtElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Rt, prefix, NodeFlags.ImplicitelyClosed | NodeFlags.ImpliedEnd)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlStrikeElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The strike HTML element.
8 | ///
9 | sealed class HtmlStrikeElement : HtmlElement
10 | {
11 | public HtmlStrikeElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Strike, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlStrongElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The strong HTML element.
8 | ///
9 | sealed class HtmlStrongElement : HtmlElement
10 | {
11 | public HtmlStrongElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Strong, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlXmpElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The xmp HTML element.
8 | ///
9 | sealed class HtmlXmpElement : HtmlElement
10 | {
11 | public HtmlXmpElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Xmp, prefix, NodeFlags.Special | NodeFlags.LiteralText)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/InvalidOperationException.cs:
--------------------------------------------------------------------------------
1 | namespace System {
2 | public class InvalidOperationException : SystemException {
3 |
4 | public InvalidOperationException()
5 | : base("Operation is not valid due to the current state of the object") { }
6 |
7 | public InvalidOperationException(string message) : base(message) { }
8 |
9 | public InvalidOperationException(string message, Exception innerException)
10 | : base(message, innerException) { }
11 |
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/template/MyApplication/Properties/sw-launchSettings.json:
--------------------------------------------------------------------------------
1 | {
2 | "profiles": {
3 | "IIS Express": {
4 | "commandName": "IISExpress",
5 | "launchBrowser": true,
6 | "environmentVariables": {
7 | "LAUNCHER_PATH": "dotnet",
8 | "LAUNCHER_ARGS": "blazor serve"
9 | }
10 | },
11 | "MyApplication": {
12 | "commandName": "Executable",
13 | "executablePath": "dotnet",
14 | "commandLineArgs": "blazor serve"
15 | }
16 | }
17 | }
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlDivElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the HTML div element.
8 | ///
9 | sealed class HtmlDivElement : HtmlElement, IHtmlDivElement
10 | {
11 | public HtmlDivElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Div, prefix, NodeFlags.Special)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlHeadElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the HTML head element.
8 | ///
9 | sealed class HtmlHeadElement : HtmlElement, IHtmlHeadElement
10 | {
11 | public HtmlHeadElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Head, prefix, NodeFlags.Special)
13 | {
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlNoNewlineElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The nobr HTML element.
8 | ///
9 | sealed class HtmlNoNewlineElement : HtmlElement
10 | {
11 | public HtmlNoNewlineElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.NoBr, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlRbElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The rb HTML element.
8 | ///
9 | sealed class HtmlRbElement : HtmlElement
10 | {
11 | public HtmlRbElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Rb, prefix, NodeFlags.ImplicitelyClosed | NodeFlags.ImpliedEnd)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlRpElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The rp HTML element.
8 | ///
9 | sealed class HtmlRpElement : HtmlElement
10 | {
11 | public HtmlRpElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Rp, prefix, NodeFlags.ImplicitelyClosed | NodeFlags.ImpliedEnd)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Svg/SvgCircleElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Svg
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the circle element of the SVG DOM.
8 | ///
9 | sealed class SvgCircleElement : SvgElement, ISvgCircleElement
10 | {
11 | public SvgCircleElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Circle, prefix)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/DNA/corlib/System/IndexOutOfRangeException.cs:
--------------------------------------------------------------------------------
1 | #if !LOCALTEST
2 |
3 | namespace System {
4 | public class IndexOutOfRangeException : SystemException {
5 |
6 | public IndexOutOfRangeException() : base("Array index is out of range.") { }
7 |
8 | public IndexOutOfRangeException(string message) : base(message) { }
9 |
10 | public IndexOutOfRangeException(string message, Exception innerException)
11 | : base(message, innerException) {
12 | }
13 |
14 | }
15 | }
16 |
17 | #endif
18 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Css/Constants/PlayState.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Css
2 | {
3 | ///
4 | /// An enumeration over all various play states.
5 | ///
6 | public enum PlayState : byte
7 | {
8 | ///
9 | /// The animation is currently playing.
10 | ///
11 | Running,
12 | ///
13 | /// The animation is currently paused.
14 | ///
15 | Paused
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlRtcElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The rtc HTML element.
8 | ///
9 | sealed class HtmlRtcElement : HtmlElement
10 | {
11 | public HtmlRtcElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Rtc, prefix, NodeFlags.ImplicitelyClosed | NodeFlags.ImpliedEnd)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlTeletypeTextElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The tt HTML element.
8 | ///
9 | sealed class HtmlTeletypeTextElement : HtmlElement
10 | {
11 | public HtmlTeletypeTextElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Tt, prefix, NodeFlags.HtmlFormatting)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/template/MyApplication/MyApplication.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | netcoreapp1.0
5 | exe
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Constants/DirectionMode.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | ///
4 | /// An enumeration with all dir modes.
5 | ///
6 | public enum DirectionMode : byte
7 | {
8 | ///
9 | /// Text and other elements go from left to right.
10 | ///
11 | Ltr,
12 | ///
13 | /// Text and other elements go from right to left
14 | ///
15 | Rtl
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlHrElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the hr element.
8 | ///
9 | sealed class HtmlHrElement : HtmlElement, IHtmlHrElement
10 | {
11 | public HtmlHrElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Hr, prefix, NodeFlags.Special | NodeFlags.SelfClosing)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Network/ILoader.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Network
2 | {
3 | using System.Collections.Generic;
4 |
5 | ///
6 | /// Represents the basic interface for all loaders.
7 | ///
8 | public interface ILoader
9 | {
10 | ///
11 | /// Gets the currently active downloads.
12 | ///
13 | /// The downloads in progress.
14 | IEnumerable GetDownloads();
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlDefinitionListElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the HTML dl element.
8 | ///
9 | sealed class HtmlDefinitionListElement : HtmlElement
10 | {
11 | public HtmlDefinitionListElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Dl, prefix, NodeFlags.Special)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Mathml/MathNumberElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Mathml
2 | {
3 | using System;
4 | using AngleSharp.Html;
5 |
6 | ///
7 | /// The mn math element.
8 | ///
9 | sealed class MathNumberElement : MathElement
10 | {
11 | public MathNumberElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Mn, prefix, NodeFlags.MathTip | NodeFlags.Special | NodeFlags.Scoped)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Mathml/MathTextElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Mathml
2 | {
3 | using System;
4 | using AngleSharp.Html;
5 |
6 | ///
7 | /// The mtext math element.
8 | ///
9 | sealed class MathTextElement : MathElement
10 | {
11 | public MathTextElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Mtext, prefix, NodeFlags.MathTip | NodeFlags.Special | NodeFlags.Scoped)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Css/ICssSupportsRule.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Css
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Represents a ‘@supports’ CSS rule.
7 | ///
8 | [DomName("CSSSupportsRule")]
9 | public interface ICssSupportsRule : ICssConditionRule
10 | {
11 | ///
12 | /// Gets the condition of the supports rule.
13 | ///
14 | IConditionFunction Condition { get; }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/Media/IMediaError.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Media
2 | {
3 | using AngleSharp.Attributes;
4 |
5 | ///
6 | /// Stores information about media errors.
7 | ///
8 | [DomName("MediaError")]
9 | public interface IMediaError
10 | {
11 | ///
12 | /// Gets the code that represents the media error.
13 | ///
14 | [DomName("code")]
15 | MediaErrorCode Code { get; }
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/AngleSharp/Parser/Xml/Tokens/XmlEndOfFileToken.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Parser.Xml
2 | {
3 | ///
4 | /// Represents the final token to mark the EOF.
5 | ///
6 | sealed class XmlEndOfFileToken : XmlToken
7 | {
8 | ///
9 | /// Creates a new EOF token.
10 | ///
11 | public XmlEndOfFileToken(TextPosition position)
12 | : base(XmlTokenType.EndOfFile, position)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlPlaintextElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// The plaintext HTML element.
8 | ///
9 | sealed class HtmlPlaintextElement : HtmlElement
10 | {
11 | public HtmlPlaintextElement(Document owner, String prefix)
12 | : base(owner, TagNames.Plaintext, prefix, NodeFlags.Special | NodeFlags.LiteralText)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Mathml/MathOperatorElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Mathml
2 | {
3 | using System;
4 | using AngleSharp.Html;
5 |
6 | ///
7 | /// The mo math element.
8 | ///
9 | sealed class MathOperatorElement : MathElement
10 | {
11 | public MathOperatorElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Mo, prefix, NodeFlags.Special | NodeFlags.MathTip | NodeFlags.Scoped)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Mathml/MathStringElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Mathml
2 | {
3 | using System;
4 | using AngleSharp.Html;
5 |
6 | ///
7 | /// The math string element.
8 | ///
9 | sealed class MathStringElement : MathElement
10 | {
11 | public MathStringElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Ms, prefix, NodeFlags.MathTip | NodeFlags.Special | NodeFlags.Scoped)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Interfaces/IDomException.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom
2 | {
3 | using AngleSharp.Attributes;
4 | using System;
5 |
6 | ///
7 | /// Defines how a DOMException should look like.
8 | ///
9 | [DomName("DOMException")]
10 | public interface IDomException
11 | {
12 | ///
13 | /// Gets the error code for this exception.
14 | ///
15 | [DomName("code")]
16 | Int32 Code { get; }
17 | }
18 | }
19 |
--------------------------------------------------------------------------------
/src/Blazor.Host/Host/Debugging/Models/SourceFileInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 |
3 | namespace Blazor.Host.Debugging.Models
4 | {
5 | public class SourceFileInfo
6 | {
7 | public string Id { get; set; }
8 | public string AssemblyName { get; set; }
9 | public string FileName { get; set; }
10 | public string Url { get; set; }
11 | public IDictionary> PossibleBreakpointLocationsByLine { get; set; }
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlNoEmbedElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents a noembed HTML element.
8 | ///
9 | sealed class HtmlNoEmbedElement : HtmlElement
10 | {
11 | public HtmlNoEmbedElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.NoEmbed, prefix, NodeFlags.Special | NodeFlags.LiteralText)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlPreElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents the HTML pre element.
8 | ///
9 | sealed class HtmlPreElement : HtmlElement, IHtmlPreElement
10 | {
11 | public HtmlPreElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Pre, prefix, NodeFlags.Special | NodeFlags.LineTolerance)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlSemanticElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents an HTML element with only semantic meaning.
8 | ///
9 | sealed class HtmlSemanticElement : HtmlElement
10 | {
11 | public HtmlSemanticElement(Document owner, String name, String prefix = null)
12 | : base(owner, name, prefix, NodeFlags.Special)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Mathml/MathIdentifierElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Mathml
2 | {
3 | using System;
4 | using AngleSharp.Html;
5 |
6 | ///
7 | /// The mi math element.
8 | ///
9 | sealed class MathIdentifierElement : MathElement
10 | {
11 | public MathIdentifierElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.Mi, prefix, NodeFlags.Special | NodeFlags.MathTip | NodeFlags.Scoped)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Css/Constants/FontVariant.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Css
2 | {
3 | ///
4 | /// An enumeration with font variant transformations.
5 | ///
6 | public enum FontVariant : byte
7 | {
8 | ///
9 | /// Specifies a normal font face.
10 | ///
11 | Normal,
12 | ///
13 | /// Specifies a font that is labeled as a small-caps font.
14 | ///
15 | SmallCaps
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlNoFramesElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents a noframes HTML element.
8 | ///
9 | sealed class HtmlNoFramesElement : HtmlElement
10 | {
11 | public HtmlNoFramesElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.NoFrames, prefix, NodeFlags.Special | NodeFlags.LiteralText)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Dom/Html/HtmlNoScriptElement.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Dom.Html
2 | {
3 | using AngleSharp.Html;
4 | using System;
5 |
6 | ///
7 | /// Represents a noscript HTML element.
8 | ///
9 | sealed class HtmlNoScriptElement : HtmlElement
10 | {
11 | public HtmlNoScriptElement(Document owner, String prefix = null)
12 | : base(owner, TagNames.NoScript, prefix, NodeFlags.Special | NodeFlags.LiteralText)
13 | {
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/Html/IFormSubmitter.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp.Html
2 | {
3 | using System.IO;
4 |
5 | ///
6 | /// Strategy for serializing form data sets.
7 | ///
8 | public interface IFormSubmitter : IFormDataSetVisitor
9 | {
10 | ///
11 | /// Serializes the visited form data set to the stream.
12 | ///
13 | /// The stream writer to use.
14 | void Serialize(StreamWriter stream);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/src/AngleSharp/IConfiguration.cs:
--------------------------------------------------------------------------------
1 | namespace AngleSharp
2 | {
3 | using System;
4 | using System.Collections.Generic;
5 |
6 | ///
7 | /// Represents the interface for a general setup of AngleSharp
8 | /// or a particular AngleSharp request.
9 | ///
10 | public interface IConfiguration
11 | {
12 | ///
13 | /// Gets an enumeration over the available services.
14 | ///
15 | IEnumerable