This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<DirectedGraph DataVirtualized="True" Layout="Sugiyama" ZoomLevel="-1" xmlns="http://schemas.microsoft.com/vs/2009/dgml"> | |
<Nodes> | |
<Node Id="(@21 @342 Type=WikiMemory @380)" Category="CodeSchema_Method" Bounds="-81.4181795104529,-343.557109835615,103.386666666667,25.96" CodeSchemaProperty_IsConstructor="True" CodeSchemaProperty_IsPublic="True" CodeSchemaProperty_IsSpecialName="True" DelayedCrossGroupLinksState="Fetched" Label="WikiMemory" /> | |
<Node Id="@10" Category="CodeSchema_Assembly" Bounds="0,0,213.706666666667,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DelayedChildNodesState="NotFetched" FilePath="C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ServiceModel.Web.dll" Group="Collapsed" Label="System.ServiceModel.Web.dll"> | |
<Category Ref="FileSystem.Category.FileOfType.dll" /> | |
</Node> | |
<Node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<DirectedGraph DataVirtualized="True" Layout="Sugiyama" ZoomLevel="-1" xmlns="http://schemas.microsoft.com/vs/2009/dgml"> | |
<Nodes> | |
<Node Id="(@21 @342 Type=WikiMemory @380)" Category="CodeSchema_Method" Bounds="-81.4181795104529,-343.557109835615,103.386666666667,25.96" CodeSchemaProperty_IsConstructor="True" CodeSchemaProperty_IsPublic="True" CodeSchemaProperty_IsSpecialName="True" DelayedCrossGroupLinksState="Fetched" Label="WikiMemory" /> | |
<Node Id="@10" Category="CodeSchema_Assembly" Bounds="0,0,213.706666666667,25" CodeSchemaProperty_IsExternal="True" CodeSchemaProperty_StrongName="System.ServiceModel.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" DelayedChildNodesState="NotFetched" FilePath="C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\3.1.0\ref\netcoreapp3.1\System.ServiceModel.Web.dll" Group="Collapsed" Label="System.ServiceModel.Web.dll"> | |
<Category Ref="FileSystem.Category.FileOfType.dll" /> | |
</Node> | |
<Node |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>D3.xml Example</title> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<style type="text/css"> | |
.chart div { | |
font: 10px sans-serif; | |
background-color: steelblue; | |
text-align: right; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// RSS feeds are supposed to have a standardised date format, as shown in the RSS 2.0 specification: | |
// All date-times in RSS conform to the Date and Time Specification of RFC 822, | |
// with the exception that the year may be expressed with two characters or four characters (four preferred). | |
// Example: Sat, 07 Sep 2002 0:00:01 GMT | |
var formats = ['ddd, DD MMM YYYY HH:mm:ss ZZ', 'ddd, DD MMM YY HH:mm:ss ZZ']; | |
var pubDate = moment(item.querySelector('pubDate').textContent, formats); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svg { | |
background-color: #eeeeee; | |
} | |
text { | |
font-size: 50%; | |
} | |
.connector path { | |
fill: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ko.bindingHandlers.pathText = { | |
init: function(element, valueAccessor, allBindings, viewModel, bindingContext) { | |
var phrase = ko.unwrap(valueAccessor()); | |
var text = document.createElementNS('http://www.w3.org/2000/svg', 'text'); | |
var elementBox = element.getBBox(); | |
//text.textContent = value; | |
phrase.split(' ').forEach(function(word){ | |
var span = document.createElementNS('http://www.w3.org/2000/svg', 'tspan'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"connectors": [ | |
{ "path": "m317.503479,134.444931l13,-19" }, | |
{ "path": "m330.503479,115.444931l23.25,13.5" }, | |
{ "path": "m353.753479,128.944931l-0.25,34.25" }, | |
{ "path": "m353.503479,163.194931l-36.25,-28.75" }, | |
{ "path": "m317.503479,134.444931l36.25,-5.25" }, | |
{ "path": "m322.253479,196.569931l-7.5,-12.5" }, | |
{ "path": "m394.860474,252.758041l1.414246,18.207962" }, | |
{ "path": "m459.56073,313.038879l-8.131683,12.551147" }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!String.prototype.trim) { | |
String.prototype.trim = function () { | |
return this.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); | |
}; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace WcfService | |
{ | |
using System.Collections.ObjectModel; | |
using System.ServiceModel; | |
using System.ServiceModel.Channels; | |
using System.ServiceModel.Description; | |
using Logic.Mappers; | |
/// <summary> | |
/// Registers AutoMapper for the calls to business logic methods. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<#@ template language="C#" debug="false" hostspecific="true"#> | |
<#@ include file="EF.Utility.CS.ttinclude"#> | |
<#@ output extension=".cs"#> | |
<# | |
var loader = new MetadataLoader(this); | |
var region = new CodeRegion(this); | |
var inputFile = @"TradingPartner.edmx"; | |
var itemCollection = loader.CreateEdmItemCollection(inputFile); | |
var container = itemCollection.GetItems<EntityContainer>().FirstOrDefault(); | |
var fileManager = EntityFrameworkTemplateFileManager.Create(this); |
NewerOlder