commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
1f2d3d692ceeb9a3b0bf3566fa89dd1a8c70426b | put a try/finally in | jacobpovar/MassTransit,phatboyg/MassTransit,phatboyg/MassTransit,jacobpovar/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit,MassTransit/MassTransit,SanSYS/MassTransit | MassTransit.ServiceBus/Internal/ComponentDispatcher.cs | MassTransit.ServiceBus/Internal/ComponentDispatcher.cs | /// Copyright 2007-2008 The Apache Software Foundation.
///
/// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
/// this file except in compliance with the License. You may obtain a copy of the
/// License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unl... | /// Copyright 2007-2008 The Apache Software Foundation.
///
/// Licensed under the Apache License, Version 2.0 (the "License"); you may not use
/// this file except in compliance with the License. You may obtain a copy of the
/// License at
///
/// http://www.apache.org/licenses/LICENSE-2.0
///
/// Unl... | apache-2.0 | C# |
8a187d95152cbf217142fd3ba6bda7c90349c750 | Handle change password | noordwind/Collectively.Api,noordwind/Collectively.Api,noordwind/Coolector,noordwind/Coolector,noordwind/Coolector.Api,noordwind/Coolector.Api | Coolector.Api/Modules/AccountModule.cs | Coolector.Api/Modules/AccountModule.cs | using Coolector.Api.Commands;
using Coolector.Api.Queries;
using Coolector.Api.Storages;
using Coolector.Api.Validation;
using Coolector.Common.Commands.Users;
using Coolector.Dto.Common;
using Coolector.Dto.Users;
namespace Coolector.Api.Modules
{
public class AccountModule : ModuleBase
{
public Acco... | using Coolector.Api.Queries;
using Coolector.Api.Validation;
using Coolector.Common.Commands.Users;
using Coolector.Dto.Common;
using Coolector.Dto.Users;
using GetAccount = Coolector.Api.Queries.GetAccount;
using ICommandDispatcher = Coolector.Api.Commands.ICommandDispatcher;
using IUserStorage = Coolector.Api.Storag... | mit | C# |
13c366344722c61c4e02bd72171784abf65d6c3d | Return empty collection from GetEduPrograms | roman-yagodin/R7.University,roman-yagodin/R7.University,roman-yagodin/R7.University | R7.University.Science/Controllers/ScienceController.cs | R7.University.Science/Controllers/ScienceController.cs | //
// ScienceController.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2017 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foun... | //
// ScienceController.cs
//
// Author:
// Roman M. Yagodin <roman.yagodin@gmail.com>
//
// Copyright (c) 2017 Roman M. Yagodin
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as published by
// the Free Software Foun... | agpl-3.0 | C# |
bc163c51d80f6bc42b700f3cae1c1db849dbb447 | Change to get AppHarbor working | nlainez/ContactWeb,nlainez/ContactWeb,nlainez/ContactWeb,nlainez/ContactWeb | ConctWeb/Views/Shared/_Layout.cshtml | ConctWeb/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top">
<div class... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - My ASP.NET Application</title>
@Styles.Render("~/Content/css")
</head>
<body>
<div class="navbar navbar-default navbar-fixed-top">
<div class... | mit | C# |
b8f81cbdc66e31f60d5fe644e423e187e2e7dce0 | Use method instead of property to avoid mistakes (#659) | jnyrup/fluentassertions,dennisdoomen/fluentassertions,dennisdoomen/fluentassertions,fluentassertions/fluentassertions,jnyrup/fluentassertions,fluentassertions/fluentassertions | Src/FluentAssertions/Equivalency/AssertionResultSet.cs | Src/FluentAssertions/Equivalency/AssertionResultSet.cs | using System.Collections.Generic;
using System.Linq;
using FluentAssertions.Execution;
namespace FluentAssertions.Equivalency
{
/// <summary>
/// Represents a collection of assertion results obtained through a <see cref="AssertionScope"/>.
/// </summary>
internal class AssertionResultSet
{
... | using System.Collections.Generic;
using System.Linq;
using FluentAssertions.Execution;
namespace FluentAssertions.Equivalency
{
/// <summary>
/// Represents a collection of assertion results obtained through a <see cref="AssertionScope"/>.
/// </summary>
internal class AssertionResultSet
{
... | apache-2.0 | C# |
36b1bbecfb1fc3d4ec2f4f24d386019f4403e157 | Fix process start | xibosignage/xibo-windows-client-watchdog | Program.cs | Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace XiboClientWatchdog
{
static class Program
{
static Mutex mutex = new Mutex(true, "Watchdog");
/// <summary>
/// The main entry... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace XiboClientWatchdog
{
static class Program
{
static Mutex mutex = new Mutex(true, "Watchdog");
/// <summary>
/// The main entry... | agpl-3.0 | C# |
b14b01b261ad5b479fbbfad2104fdd8b50c3cbc4 | make FocusOnEnable Behavior only work with Button. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Behaviors/FocusOnEnableBehavior.cs | WalletWasabi.Fluent/Behaviors/FocusOnEnableBehavior.cs | using Avalonia;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia.Controls;
using Avalonia.Input;
namespace WalletWasabi.Fluent.Behaviors
{
public class FocusOnEnableBehavior : DisposingBehavior<Button>
{
protected override void OnAttached(CompositeDisposable disposables)
... | using Avalonia;
using System;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using Avalonia.Controls;
using Avalonia.Input;
namespace WalletWasabi.Fluent.Behaviors
{
public class FocusOnEnableBehavior : DisposingBehavior<Control>
{
protected override void OnAttached(CompositeDisposable disposables)... | mit | C# |
bff81021ab2a8a7d5d883fda5fbaea3ffafc0a61 | convert fields to properties | dkackman/FakeHttp | FakeHttp.NetStandard/GlobalFilters.cs | FakeHttp.NetStandard/GlobalFilters.cs | using System;
using System.Collections.Generic;
namespace FakeHttp
{
static class GlobalFilters
{
public static HashSet<string> SensitiveHeaderNames { get; } = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
"x-api-key",
"fakehttp"
};
public sta... | using System;
using System.Collections.Generic;
namespace FakeHttp
{
static class GlobalFilters
{
public static readonly HashSet<string> SensitiveHeaderNames = new HashSet<string>(StringComparer.OrdinalIgnoreCase)
{
"x-api-key",
"fakehttp"
};
public sta... | apache-2.0 | C# |
286326d0a7191bbea3878db026eb8a3e65c66fb2 | add component type to list command. | pburls/dewey | Dewey/Dewey.ListItems/Component.cs | Dewey/Dewey.ListItems/Component.cs | using Dewey.Manifest.Component;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dewey.ListItems
{
class Component
{
public string Name { get; private set; }
public string Type { get; private set; }
public C... | using Dewey.Manifest.Component;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Dewey.ListItems
{
class Component
{
public string Name { get; private set; }
public Component(ComponentManifest component)
{
... | mit | C# |
30417f460d5afbdf6915535859f1067fd21b8828 | Remove constant checked state, fix radio controls to reset on change | jlewin/agg-sharp,MatterHackers/agg-sharp,larsbrubaker/agg-sharp | Gui/RadioButton/RadioButtonViewText.cs | Gui/RadioButton/RadioButtonViewText.cs | using System;
using MatterHackers.Agg.VertexSource;
using MatterHackers.VectorMath;
namespace MatterHackers.Agg.UI
{
public class RadioCircleWidget : GuiWidget
{
private double boxWidth = 10 * GuiWidget.DeviceScale;
private double borderRadius;
private Vector2 center;
public RadioCircleWidget()
{
this... | using MatterHackers.Agg.VertexSource;
using MatterHackers.VectorMath;
using System;
using MatterHackers.Agg.Image;
namespace MatterHackers.Agg.UI
{
public class RadioCircleWidget : GuiWidget
{
private double boxWidth = 10 * GuiWidget.DeviceScale;
private double borderRadius;
private Vector2 center;
public ... | bsd-2-clause | C# |
a71efd4a32e9c8ebb3c1182f81544461bc5c4656 | Fix NRE in FormatEscaped method | GNOME/hyena,GNOME/hyena,dufoli/hyena,dufoli/hyena,arfbtwn/hyena,arfbtwn/hyena | Hyena.Gui/Hyena.Gui/PangoExtensions.cs | Hyena.Gui/Hyena.Gui/PangoExtensions.cs | //
// PangoExtensions.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrictio... | //
// PangoExtensions.cs
//
// Author:
// Aaron Bockover <abockover@novell.com>
//
// Copyright 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restrictio... | mit | C# |
acb5db8461d46731298a49d1777864accd1091e0 | remove unnecessary using | aaronmarisi/angular2-aspnetcore-starter,aaronmarisi/angular2-aspnetcore-starter,aaronmarisi/angular2-aspnetcore-starter,aaronmarisi/angular2-aspnetcore-starter | Startup.cs | Startup.cs | using Microsoft.AspNetCore.Builder;
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.UseDefaultFiles();
app.UseStaticFiles();
}
} | using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
public class Startup
{
public void Configure(IApplicationBuilder app)
{
app.UseDefaultFiles();
app.UseStaticFiles();
}
} | mit | C# |
17314dd9aaaa517c41452e22318cec1da5b99566 | Fix bug (any supported language) on the last date of measure. | cyrilschumacher/Apricot | Apricot/Converters/TimeStampToDateTimeConverter.cs | Apricot/Converters/TimeStampToDateTimeConverter.cs | using System;
using System.Globalization;
using Windows.UI.Xaml.Data;
namespace Apricot.Converters
{
/// <summary>
/// Converter from a <see cref="string"/> type to a <see cref="DateTime"/> type.
/// </summary>
public class TimeStampToDateTimeConverter : IValueConverter
{
#region Const... | using System;
using System.Globalization;
using Windows.UI.Xaml.Data;
namespace Apricot.Converters
{
/// <summary>
/// Converter from a <see cref="string"/> type to a <see cref="DateTime"/> type.
/// </summary>
public class TimeStampToDateTimeConverter : IValueConverter
{
#region Const... | mit | C# |
1a75a9e06cebe926cb3dca9895b0f6cd8e934566 | Add btn-toolbar class to icon picker (#4878) | xkproject/Orchard2,xkproject/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,xkproject/Orchard2,xkproject/Orchard2,xkproject/Orchard2,OrchardCMS/Brochard,petedavis/Orchard2,petedavis/Orchard2,stevetayloruk/Orchard2,stevetayloruk/Orchard2,OrchardCMS/Brochard,stevetayloruk/Or... | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-IconPicker.Edit.cshtml | src/OrchardCore.Modules/OrchardCore.ContentFields/Views/TextField-IconPicker.Edit.cshtml | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@{
var settings = Model.PartFieldDefinition.GetSettings<TextFieldSettings>();
}
<style name="fontpickerStyle" at="Head" asp-src="~/OrchardCore.ContentFields/Styles/fontawesome-iconpicker.min.css" debug-src="~/OrchardCore.ContentFields/Styles/fonta... | @model OrchardCore.ContentFields.ViewModels.EditTextFieldViewModel
@{
var settings = Model.PartFieldDefinition.GetSettings<TextFieldSettings>();
}
<style name="fontpickerStyle" at="Head" asp-src="~/OrchardCore.ContentFields/Styles/fontawesome-iconpicker.min.css" debug-src="~/OrchardCore.ContentFields/Styles/fonta... | bsd-3-clause | C# |
a26a33fb04a3f4c2749c67a73e8dd604eafab080 | Refactor RateRenderer to use StringBuilder | Lc5/CurrencyRates,Lc5/CurrencyRates,Lc5/CurrencyRates | CurrencyRates.Console/Presentation/RateRenderer.cs | CurrencyRates.Console/Presentation/RateRenderer.cs | using CurrencyRates.Common.Extension;
using CurrencyRates.Model.Entity;
using System.Collections.Generic;
using System.Text;
namespace CurrencyRates.Console.Presentation
{
public class RateRenderer
{
public static string Render(IEnumerable<Rate> rates)
{
var separator = ... | using CurrencyRates.Common.Extension;
using CurrencyRates.Model.Entity;
using System;
using System.Collections.Generic;
namespace CurrencyRates.Console.Presentation
{
public class RateRenderer
{
public static string Render(IEnumerable<Rate> rates)
{
var separator = new S... | mit | C# |
9af62e4c96dd70023c435816a602b6c2f369d44e | Update FitAllWorksheetColumns.cs | aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.... | Examples/CSharp/Articles/FitAllWorksheetColumns.cs | Examples/CSharp/Articles/FitAllWorksheetColumns.cs | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class FitAllWorksheetColumns
{
public static void Main()
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(Syst... | using System.IO;
using Aspose.Cells;
namespace Aspose.Cells.Examples.Articles
{
public class FitAllWorksheetColumns
{
public static void Main()
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDataDir(System.Reflection.MethodBase... | mit | C# |
f6fbafcc69f6c816fa5df16570741b7e3b5caada | increase version | MahmutOhneC/MpzMail.Api,MPZMail/MpzMail.Api | MpzMail.Api/Properties/AssemblyInfo.cs | MpzMail.Api/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mp... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mp... | apache-2.0 | C# |
61901721ecb328fe0678917ac5fbfeafe294c2ca | Build fixed | OrleansContrib/OrleansDashboard,OrleansContrib/OrleansDashboard,OrleansContrib/OrleansDashboard | PerformanceTests/TestDashboardGrain.cs | PerformanceTests/TestDashboardGrain.cs | using OrleansDashboard;
using System;
namespace PerformanceTests
{
public class TestDashboardGrain : DashboardGrain
{
private class EmptyDisposable : IDisposable
{
public void Dispose()
{
}
}
}
} | using OrleansDashboard;
using System;
using System.Threading.Tasks;
namespace PerformanceTests
{
public class TestDashboardGrain : DashboardGrain
{
protected override IDisposable RegisterTimer(Func<object, Task> asyncCallback, object state, TimeSpan dueTime, TimeSpan period)
{
retu... | mit | C# |
ea67c191bf23c36a6a208e7c6c8c85162ce94fd8 | Add compile-time constant to switch to no-op pool | rpaquay/mtsuite | src/shared/Collections/PoolFactory.cs | src/shared/Collections/PoolFactory.cs | // Copyright 2015 Renaud Paquay All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | // Copyright 2015 Renaud Paquay All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required... | apache-2.0 | C# |
98392957a526a488a8f0f3eef704cdc7acb78d02 | Set M:M relationsheep beetween Users and Roles | denismaster/dcs,denismaster/dcs,denismaster/dcs,denismaster/dcs | src/Diploms.DataLayer/DiplomContext.cs | src/Diploms.DataLayer/DiplomContext.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Diploms.Core;
namespace Diploms.DataLayer
{
public class DiplomContext : DbContext
{
public DbSet<Department> Departments { get; set; }
public DbSet<User>... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Diploms.Core;
namespace Diploms.DataLayer
{
public class DiplomContext : DbContext
{
public DbSet<Department> Departments { get; set; }
public DbSet<User>... | mit | C# |
4e4879f3e538bf746ca390a782188de5c22918bc | set up initial state, get screen edges, random velocity, etc. | wislon/xam-floating-items | src/FloatingItems.Android/GameScene.cs | src/FloatingItems.Android/GameScene.cs | using CocosSharp;
using Java.Lang;
namespace FloatingItems.Android
{
public class GameScene : CCScene
{
private float xVelocity;
private float yVelocity;
private readonly CCSprite headphoneSprite;
private float screenRight;
private float screenLeft;
... | using CocosSharp;
namespace FloatingItems.Android
{
public class GameScene : CCScene
{
private CCLayer mainLayer;
private CCSprite headphoneSprite;
public GameScene(CCWindow window) : base(window)
{
mainLayer = new CCLayer();
AddChild(mainLa... | mit | C# |
b6f7f3d2bfa6af31a6368a27f91c3d408ea6dd47 | Update PoolID.cs | cdrandin/Simple-Object-Pooling | Source/PoolID.cs | Source/PoolID.cs | using UnityEngine;
using System.Collections;
public class PoolID : MonoBehaviour
{
private int _id;
private bool _init;
public int id
{
get { return _id; }
}
void Awake()
{
_init = false;
}
public void GenerateID(GameObject obj)
{
if(_init) return; // called only once
_id = obj.transform.GetInsta... | using UnityEngine;
using System.Collections;
public class PoolID : MonoBehaviour
{
private int _id;
private bool _init;
public int id
{
get { return _id; }
}
void Awake()
{
_init = false;
}
public void GenerateID(GameObject obj)
{
if(_init) return; // called only once
_id = obj.transform.GetInsta... | mit | C# |
5592ea532abcb52426e3d5fd654703bbddc428b0 | Use GetValueOrDefault | xPaw/adventofcode-solutions,xPaw/adventofcode-solutions,xPaw/adventofcode-solutions | 2021/Answers/Solutions/Day14.cs | 2021/Answers/Solutions/Day14.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2021;
[Answer(14)]
class Day14 : IAnswer
{
public (string Part1, string Part2) Solve(string input)
{
var lines = input.Split('\n');
var polymer = lines[0].ToArray();
var insertions = lines
.Skip(2)
.Select(l => l
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2021;
[Answer(14)]
class Day14 : IAnswer
{
public (string Part1, string Part2) Solve(string input)
{
var lines = input.Split('\n');
var polymer = lines[0].ToArray();
var insertions = lines
.Skip(2)
.Select(l => l
... | unlicense | C# |
2fa57490c1891861f24d0b6184e53324336d8d44 | Make Git metadata more sensible for local builds | martincostello/api,martincostello/api,martincostello/api | src/API/GitMetadata.cs | src/API/GitMetadata.cs | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Api
{
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
/// <summary>... | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Api
{
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
/// <summary>... | mit | C# |
35e8e5a6e371aea148732a1ddd233dc3c1940b60 | fix special character issue that occurred for one feed | codehollow/FeedReader | FeedReader/Parser/FeedParser.cs | FeedReader/Parser/FeedParser.cs | namespace CodeHollow.FeedReader.Parser
{
using System;
using System.Xml.Linq;
internal static class FeedParser
{
/// <summary>
/// Returns the feed type - rss 1.0, rss 2.0, atom, ...
/// </summary>
/// <param name="doc">the xml document</param>
/// <returns>the ... | namespace CodeHollow.FeedReader.Parser
{
using System;
using System.Xml.Linq;
internal static class FeedParser
{
/// <summary>
/// Returns the feed type - rss 1.0, rss 2.0, atom, ...
/// </summary>
/// <param name="doc">the xml document</param>
/// <returns>the ... | mit | C# |
96ef6993dcbf332bb9e63ef558ed5e2b129e527d | Update SuppressWarningsConfigTests.cs | Fody/PropertyChanged | Tests/SuppressWarningsConfigTests.cs | Tests/SuppressWarningsConfigTests.cs | using System.Xml.Linq;
using VerifyXunit;
using Xunit;
using Xunit.Abstractions;
public class SuppressWarningsConfigTests :
VerifyBase
{
[Fact]
public void False()
{
var xElement = XElement.Parse("<PropertyChanged SuppressWarnings='false'/>");
var moduleWeaver = new ModuleWeaver { Conf... | using System.Xml.Linq;
using Xunit;
using Xunit.Abstractions;
public class SuppressWarningsConfigTests :
XunitApprovalBase
{
[Fact]
public void False()
{
var xElement = XElement.Parse("<PropertyChanged SuppressWarnings='false'/>");
var moduleWeaver = new ModuleWeaver { Config = xElemen... | mit | C# |
170c01f053e033d527703e46aae921947c2cee61 | Update to build against latest JSIL | WebAssembly/ilwasm,WebAssembly/ilwasm,WebAssembly/ilwasm | WasmSExprEmitter/EmitterFactory.cs | WasmSExprEmitter/EmitterFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using JSIL;
using JSIL.Compiler.Extensibility;
using JSIL.Internal;
using Mono.Cecil;
using Configuration = JSIL.Translator.Configuration;
namespace WasmSExprEmitter {
publi... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using JSIL;
using JSIL.Compiler.Extensibility;
using JSIL.Internal;
using Mono.Cecil;
using Configuration = JSIL.Translator.Configuration;
namespace WasmSExprEmitter {
publi... | apache-2.0 | C# |
6f95738e46e6ae9e2d0433b55c6fe483e808c08f | Add Tracker.Retrieve method. | kendallb/easypost-async-csharp,EasyPost/easypost-csharp,jmalatia/easypost-csharp,EasyPost/easypost-csharp | EasyPost/Tracker.cs | EasyPost/Tracker.cs | using System;
using System.Collections.Generic;
namespace EasyPost {
public class Tracker : IResource {
public string id { get; set; }
public DateTime created_at { get; set; }
public DateTime tracking_updated_at { get; set; }
public DateTime updated_at { get; set; }
public ... | using System;
using System.Collections.Generic;
namespace EasyPost {
public class Tracker : IResource {
public string id { get; set; }
public DateTime created_at { get; set; }
public DateTime tracking_updated_at { get; set; }
public DateTime updated_at { get; set; }
public ... | mit | C# |
9adadb63703aafcb754949f3929e97c6beaa2163 | Add missing Test attribute | nja/keel,nja/keel | IntegrationTests/ClosureTest.cs | IntegrationTests/ClosureTest.cs | namespace IntegrationTests
{
using NUnit.Framework;
[TestFixture]
public class ClosureTest
{
[Test]
public void Adder()
{
var test = new IntegrationTest(@"
(defun make-adder (x)
(lambda (y)
(+ x y)))
(define add2 (make-adder 2))
(define add3 (make-adder 3))
")... | namespace IntegrationTests
{
using NUnit.Framework;
[TestFixture]
public class ClosureTest
{
public void Adder()
{
var test = new IntegrationTest(@"
(defun make-adder (x)
(lambda (y)
(+ x y)))
(define add2 (make-adder 2))
(define add3 (make-adder 3))
");
t... | mit | C# |
481164dd3ea0297d38afc9de737ce0aaa2b53a1d | Add integration test (via LAN interface) for autoscale command | tparviainen/oscilloscope | LAN.Tests/LANInterface_Tests.cs | LAN.Tests/LANInterface_Tests.cs | using SCPI;
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace LAN.Tests
{
public class LANInterface_Tests
{
private string IP = "192.168.1.160";
private int PORT = 5555;
[Fact]
public async Task QueryTheIdSt... | using SCPI;
using System;
using System.IO;
using System.Net;
using System.Text;
using System.Threading.Tasks;
using Xunit;
namespace LAN.Tests
{
public class LANInterface_Tests
{
private string IP = "192.168.1.160";
private int PORT = 5555;
[Fact]
public async Task QueryTheIdSt... | mit | C# |
72ea871bffd35b6cab8ac8b83a6015e628e22d80 | Make constructor protected | smoogipoo/osu,peppy/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,ppy/osu,ppy/osu,smoogipooo/osu,peppy/osu-new,2yangk23/osu,smoogipoo/osu,peppy/osu,EVAST9919/osu,peppy/osu,NeoAdonis/osu,johnneijzen/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu | osu.Game/Rulesets/Mods/ModTimeRamp.cs | osu.Game/Rulesets/Mods/ModTimeRamp.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Config... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Audio;
using osu.Framework.Audio.Track;
using osu.Framework.Bindables;
using osu.Game.Beatmaps;
using osu.Game.Config... | mit | C# |
4525e29665e678371a966eba82bd87a2bf8ada48 | change LogInfo to normal | ColinDabritzViewpoint/Fody,ichengzi/Fody,GeertvanHorrik/Fody,PKRoma/Fody,furesoft/Fody,distantcam/Fody,Fody/Fody,jasonholloway/Fody,huoxudong125/Fody | Fody/BuildLogger.cs | Fody/BuildLogger.cs | using System;
using Microsoft.Build.Framework;
public class BuildLogger : MarshalByRefObject, ILogger
{
public IBuildEngine BuildEngine { get; set; }
public bool ErrorOccurred;
string currentWeaverName;
public void LogWarning(string message)
{
LogWarning(message, null, 0, 0, 0, 0);
}
... | using System;
using Microsoft.Build.Framework;
public class BuildLogger : MarshalByRefObject, ILogger
{
public IBuildEngine BuildEngine { get; set; }
public bool ErrorOccurred;
string currentWeaverName;
public void LogWarning(string message)
{
LogWarning(message, null, 0, 0, 0, 0);
}
... | mit | C# |
6cb55cb4ead912d37358dad467c57f487fd6d1bb | Fix look at speaker to follow Performative/Head | Nagasaki45/UnsocialVR,Nagasaki45/UnsocialVR | Assets/Scripts/Faking/LookAtSpeaker.cs | Assets/Scripts/Faking/LookAtSpeaker.cs | using UnityEngine;
public class LookAtSpeaker : MonoBehaviour {
public bool active = false;
public float speed;
public float jitterFreq;
public float jitterLerp;
public float jitterScale;
public float blankGazeDistance;
public Transform trackedTransform;
public float lerp;
private... | using UnityEngine;
public class LookAtSpeaker : MonoBehaviour {
public bool active = false;
public float speed;
public float jitterFreq;
public float jitterLerp;
public float jitterScale;
public float blankGazeDistance;
public Transform trackedTransform;
public float lerp;
private... | mit | C# |
3615b826853ff78e929d6e975fe1596c42500569 | Fix Linux hanging bug due to USB drive enumeration | hatton/libpalaso,andrew-polk/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso,chrisvire/libpalaso,mccarthyrb/libpalaso,tombogle/libpalaso,JohnThomson/libpalaso,darcywong00/libpalaso,gtryus/libpalaso,JohnThomson/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,ddaspit/libpalaso,mccarthyrb/libpalaso,ddaspit/lib... | Palaso/UsbDrive/Linux/UDisks.cs | Palaso/UsbDrive/Linux/UDisks.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NDesk.DBus;
namespace Palaso.UsbDrive.Linux
{
public class UDisks
{
private readonly IUDisks _udisks;
public UDisks()
{
_udisks = Bus.System.GetObject<IUDisks>("org.freedesktop.UDisks", new ObjectPath("/org/freedes... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NDesk.DBus;
namespace Palaso.UsbDrive.Linux
{
public class UDisks
{
private readonly IUDisks _udisks;
public UDisks()
{
_udisks = Bus.System.GetObject<IUDisks>("org.freedesktop.UDisks", new ObjectPath("/org/freedes... | mit | C# |
05760c8a1ac60a6b1cdbcb0608822a07eb9e7b24 | Print positions with reversed rows | Y2PM/ChessGame | ChessGame/ChessGame.Project/Program.cs | ChessGame/ChessGame.Project/Program.cs | using ClassLibrary1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChessGame.Project
{
class Program
{
static void Main(string[] args)
{
Piece piece1 = new Piece();
piece1.colour = Piece.Col... | using ClassLibrary1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ChessGame.Project
{
class Program
{
static void Main(string[] args)
{
Piece piece1 = new Piece();
piece1.colour = Piece.Col... | mit | C# |
b2ce787963595027b8504cdae24719516f4813a0 | handle user resources too | Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen,Pondidum/Dashen | Dashen/Controllers/StaticController.cs | Dashen/Controllers/StaticController.cs | using System.IO;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using Dashen.Infrastructure;
using Dashen.Static;
namespace Dashen.Controllers
{
public class StaticController : ApiController
{
private readonly StaticContentProvider _cache;
private readonly Dashbo... | using System.IO;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using Dashen.Infrastructure;
using Dashen.Static;
namespace Dashen.Controllers
{
public class StaticController : ApiController
{
private readonly StaticContentProvider _cache;
public StaticController(StaticContentProv... | lgpl-2.1 | C# |
0d3aeda0aba273a14f3bf88bc010d3f900aabbb4 | Clear the new NuGets | mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp,mono/SkiaSharp | cake/UtilsManaged.cake | cake/UtilsManaged.cake |
var RunNuGetRestore = new Action<FilePath> ((solution) =>
{
NuGetRestore (solution, new NuGetRestoreSettings {
ToolPath = NugetToolPath,
Source = NuGetSources,
Verbosity = NuGetVerbosity.Detailed
});
});
var PackageNuGet = new Action<FilePath, DirectoryPath> ((nuspecPath, outputPath) ... |
var RunNuGetRestore = new Action<FilePath> ((solution) =>
{
NuGetRestore (solution, new NuGetRestoreSettings {
ToolPath = NugetToolPath,
Source = NuGetSources,
Verbosity = NuGetVerbosity.Detailed
});
});
var PackageNuGet = new Action<FilePath, DirectoryPath> ((nuspecPath, outputPath) ... | mit | C# |
0c58598bad98b7af3e21ff23d827b98636528234 | Write current CultureInfo to tracing events | fashaikh/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,davidebbo/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,projectkudu/TryAppService,davidebbo/SimpleWAWS,projectkudu/... | SimpleWAWS/Trace/SimpleTrace.cs | SimpleWAWS/Trace/SimpleTrace.cs | using Serilog;
using SimpleWAWS.Code;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Globalization;
using System.Linq;
using System.Web;
namespace SimpleWAWS.Trace
{
public static class SimpleTrace
{
public static ILogger Analytics;
... | using Serilog;
using SimpleWAWS.Code;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Diagnostics;
using System.Linq;
using System.Web;
namespace SimpleWAWS.Trace
{
public static class SimpleTrace
{
public static ILogger Analytics;
public static ILogger... | apache-2.0 | C# |
9fcd9faa237d24f6def842fa195994b7c4f9596e | Bump version to 0.31.3 | github-for-unity/Unity,github-for-unity/Unity,github-for-unity/Unity | common/SolutionInfo.cs | common/SolutionInfo.cs | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | #pragma warning disable 436
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyProduct("GitHub for Unity")]
[assembly: AssemblyVersion(System.AssemblyVersionInformation.Version)]
[assembly: AssemblyFileVersion(System.Assembl... | mit | C# |
fa179497ec454e68c15b5d632c804bbdfe1ca5e5 | Prepare method for add | ReiiYuki/KU-Structure | Assets/Scripts/TRUSS/TRUSSCollector.cs | Assets/Scripts/TRUSS/TRUSSCollector.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TRUSSCollector : MonoBehaviour {
public List<GameObject> nodes,members;
// Use this for initialization
void Start () {
this.nodes = new List<GameObject>();
this.members = new List<GameObject>();
}
/... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TRUSSCollector : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}
| mit | C# |
9d53937dca2c90e78c6df681c402f2b409b1f5d8 | add default path to config | ucdavis/JsModels.Net,ucdavis/JsModels.Net,ucdavis/JsModels.Net | JsModels/Owin/JsModelsConfiguration.cs | JsModels/Owin/JsModelsConfiguration.cs | using System;
using System.Collections.Generic;
namespace JsModels.Owin
{
public class JsModelsConfiguration
{
public JsModelsConfiguration()
{
Path = "/jsmodels";
Models = new List<Type>();
}
/// <summary>
/// Models to transform
/// </... | using System;
using System.Collections.Generic;
namespace JsModels.Owin
{
public class JsModelsConfiguration
{
public JsModelsConfiguration()
{
Models = new List<Type>();
}
/// <summary>
/// Models to transform
/// </summary>
public List<Typ... | mit | C# |
e2a7bc31e280f8317ef566569af115eff9e55c17 | Fix establishing relationship between Dealership and Employee. Virtual was forgotten. Add Dea | transactionCompleteDB/MAutoSS,transactionCompleteDB/MAutoSS | MAutoSS/MAutoSS.DataModels/Employee.cs | MAutoSS/MAutoSS.DataModels/Employee.cs | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MAutoSS.DataModels
{
public class Employee
{
private ICollection<Sale> sales;
public Employee()
{
this.sales = new HashSet<Sale>();
}
public int Id { get; set; }
... | using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace MAutoSS.DataModels
{
public class Employee
{
private ICollection<Sale> sales;
public Employee()
{
this.sales = new HashSet<Sale>();
}
public int Id { get; set; }
... | mit | C# |
f3fa01abff082fac062d0556dd6f2d9e7a0f2f71 | Allow ILDASM | fschwiet/ManyConsole,fschwiet/ManyConsole,fschwiet/ManyConsole | ManyConsole/Properties/AssemblyInfo.cs | ManyConsole/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(false )]
[assembly: ComVisible(false)]
[assembly: AssemblyTitle("ManyConsole 0.4.2.17")]
[assembly: AssemblyDescription("A library for writing console applications. Exte... | using System;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
#if !SILVERLIGHT
[assembly: SuppressIldasmAttribute()]
#endif
[assembly: CLSCompliantAttribute(false )]
[assembly: ComVisibleAttribute(false)]
[assembly: AssemblyTitleAttribute("ManyConsole 0.4.2.17")]
... | mit | C# |
a79d2130209b63a7550fb5bc4d87792f0b7a97b7 | add BuildOccu | Mooophy/158212 | as4/TextAnalysis/Lib/Controller.cs | as4/TextAnalysis/Lib/Controller.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lib
{
public class Controller
{
private List<string> Data;
private Dictionary<string, int> Occu;
private Dictionary<string, int> BuildOccu(List<string> li)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lib
{
public class Controller
{
private List<string> Data;
private Dictionary<string, int> Occu;
public Controller(List<string> data)
{
Da... | mit | C# |
fb37a47c6844a2b083e8ec19aef1e3465b1b5bc7 | Update client to v1.1. | painejake/ProxySwitch | ProxySwitch/ProxySwitch/GitAssembly.cs | ProxySwitch/ProxySwitch/GitAssembly.cs | using ProxySwitch;[assembly: AssemblyGitBuild("639b6f5")]
| using ProxySwitch;[assembly: AssemblyGitBuild("3f95bbc")]
| bsd-2-clause | C# |
6414285a9bc8905f0005f85adec0bbbd1557e720 | Use path from editor, not from static constant. | j-be/ContentSpawner | ScreenPlayPlayer.cs | ScreenPlayPlayer.cs | using UnityEngine;
public class RingList<T> {
private T[] _itemList;
private uint _i = 0;
public RingList(T[] itemList) {
_itemList = itemList;
}
public T getNext() {
_i ++;
if (_i >= _itemList.Length)
_i = 0;
return _itemList[_i];
}
}
public class ScreenPlayPlayer : MonoBehaviour {
private Scre... | using UnityEngine;
public class RingList<T> {
private T[] _itemList;
private uint _i = 0;
public RingList(T[] itemList) {
_itemList = itemList;
}
public T getNext() {
_i ++;
if (_i >= _itemList.Length)
_i = 0;
return _itemList[_i];
}
}
public class ScreenPlayPlayer : MonoBehaviour {
private stat... | mit | C# |
8b5f38525d4b7bf8cbdf3ccf97423640ed5034a0 | Fix semi-colon | jamesmontemagno/Hanselman.Forms,jamesmontemagno/Hanselman.Forms,jamesmontemagno/Hanselman.Forms | src/Hanselman.Admin/Auth/Constants.cs | src/Hanselman.Admin/Auth/Constants.cs | namespace Hanselman.Admin.Auth
{
public static class Constants
{
#if DEBUG
public static string BlazorWebsiteURL => "https://6a7046f0.ngrok.io";
#else
public static string BlazorWebsiteURL => "https://hanselmanadmin.z21.web.core.windows.net/";
#endif
public static string AzureFunctio... | namespace Hanselman.Admin.Auth
{
public static class Constants
{
#if DEBUG
public static string BlazorWebsiteURL => "https://6a7046f0.ngrok.io";
#else
public static string BlazorWebsiteURL => "https://hanselmanadmin.z21.web.core.windows.net/";
#endif
public static string AzureFunctio... | mit | C# |
cc74f44c926eb04eb08ac8583a27d200e7794c35 | add cancellation support overload (#1870) | restsharp/RestSharp | src/RestSharp/Sync/RestClient.Sync.cs | src/RestSharp/Sync/RestClient.Sync.cs | // Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE... | // Copyright © 2009-2020 John Sheehan, Andrew Young, Alexey Zimarev and RestSharp community
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE... | apache-2.0 | C# |
31e454a597d46ebb2a629cdd4edcead201052f1f | Use SelectMany in demo application | Galad/tranquire,Galad/tranquire,Galad/tranquire | src/ToDoList.Automation/Api/Remove.cs | src/ToDoList.Automation/Api/Remove.cs | using System.Threading.Tasks;
using ToDoList.Automation.Api.ApiActions;
using Tranquire;
namespace ToDoList.Automation.Api
{
public static class Remove
{
public static IAction<Task> ToDoItem(string title) => Get.TheToDoItem(title)
.Selec... | using System.Threading.Tasks;
using ToDoList.Automation.Api.ApiActions;
using Tranquire;
namespace ToDoList.Automation.Api
{
public static class Remove
{
public static IAction<Task> ToDoItem(string title) => Get.TheToDoItem(title)
.Selec... | mit | C# |
d200ab974340009800415c076f9e9582b944e70e | Implement Monty Hall problem | sakapon/Samples-2016,sakapon/Samples-2016 | MathSample/MontyHallConsole/Program.cs | MathSample/MontyHallConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Blaze.Randomization;
namespace MontyHallConsole
{
class Program
{
static void Main(string[] args)
{
var count = 1000;
var wins = Enumerable.Range(0, count)
.Count(i => ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MontyHallConsole
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
56e968ae63f824abeeb490f38e8cfbd3f11eecc2 | move static api to the top | Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor | src/CodeEditor.Composition/Hosting/DirectoryCatalog.cs | src/CodeEditor.Composition/Hosting/DirectoryCatalog.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using CodeEditor.Composition.Primitives;
namespace CodeEditor.Composition.Hosting
{
public class DirectoryCatalog : IExportDefinitionProvider
{
public static Assembly[] AllAssembliesIn(string directory)
{... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using CodeEditor.Composition.Primitives;
namespace CodeEditor.Composition.Hosting
{
public class DirectoryCatalog : IExportDefinitionProvider
{
private readonly IExportDefinitionProvider _catalog;
publi... | mit | C# |
43cb162931aaff20bd7963581fb77cfd57f7da5b | Revert "Don't show "Running in tray" ballon on start" | danielchalmers/SteamAccountSwitcher | SteamAccountSwitcher/TrayIconHelper.cs | SteamAccountSwitcher/TrayIconHelper.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using Hardcodet.Wpf.TaskbarNotification;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
internal static class TrayIconHelper
{
... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Media;
using Hardcodet.Wpf.TaskbarNotification;
using SteamAccountSwitcher.Properties;
namespace SteamAccountSwitcher
{
internal static class TrayIconHelper
{
... | mit | C# |
90a006780ee4852fea0a57df53ec06c24f57763f | adjust assembly info version | takenet/lime-csharp | src/Lime.Client.TestConsole/Properties/AssemblyInfo.cs | src/Lime.Client.TestConsole/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated ... | apache-2.0 | C# |
95c45843e8ffa375ce931a522e10271a210fcb9e | Remove commented out tests | anthonylangsworth/Meraki | src/MerakiDashboard.Test/TestUnixTimestampConverter.cs | src/MerakiDashboard.Test/TestUnixTimestampConverter.cs | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace MerakiDashboard.Test
{
public class TestUnixTimestampConverter
{
[Theory]
[MemberData(nameof(ConvertTestData))]
public void Convert(double timestamp, DateTime expectedDateTime)
{
... | using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace MerakiDashboard.Test
{
public class TestUnixTimestampConverter
{
[Theory]
[MemberData(nameof(ConvertTestData))]
public void Convert(double timestamp, DateTime expectedDateTime)
{
... | mit | C# |
82eded2553ea1b5c3d7882fafdba011c3dd0536d | Fix path to xunit test assembly | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Util/Xamarin.Build.Download/build.cake | Util/Xamarin.Build.Download/build.cake | var TARGET = Argument ("t", Argument ("target", "ci"));
var SOURCE_COMMIT = EnvironmentVariable("BUILD_SOURCEVERSION") ?? "";
var SOURCE_BRANCH = EnvironmentVariable("BUIlD_SOURCEBRANCHNAME") ?? "";
Task("libs")
.Does(() =>
{
MSBuild("./source/Xamarin.Build.Download.sln", c => {
c.Configuration = "Release";
c.R... | var TARGET = Argument ("t", Argument ("target", "ci"));
var SOURCE_COMMIT = EnvironmentVariable("BUILD_SOURCEVERSION") ?? "";
var SOURCE_BRANCH = EnvironmentVariable("BUIlD_SOURCEBRANCHNAME") ?? "";
Task("libs")
.Does(() =>
{
MSBuild("./source/Xamarin.Build.Download.sln", c => {
c.Configuration = "Release";
c.R... | mit | C# |
1238a7c81193c09820e3ea63d42ff9ccb290ac00 | Change switch to if-else in Text2Txt of scs | EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB,EMResearch/EMB | dotnet_3/cs/rest/SCS/Imp/Text2Txt.cs | dotnet_3/cs/rest/SCS/Imp/Text2Txt.cs | namespace SCS.Imp {
public class Text2Txt {
public static string Subject(string word1, string word2, string word3) {
//CONVERT ENGLISH TEXT txt INTO MOBILE TELEPHONE TXT
//BY SUBSTITUTING ABBREVIATIONS FOR COMMON WORDS
word1 = word1.ToLower();
word2 = word2.To... | namespace SCS.Imp
{
public class Text2Txt
{
public static string Subject(string word1, string word2, string word3)
{
//CONVERT ENGLISH TEXT txt INTO MOBILE TELEPHONE TXT
//BY SUBSTITUTING ABBREVIATIONS FOR COMMON WORDS
word1 = word1.ToLower();
word... | apache-2.0 | C# |
545d383dd82ffbffe36fc1c48b74f39f6157c237 | Mark this as required since it's nullable now | tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server | src/Tgstation.Server.Api/Models/TestMergeParameters.cs | src/Tgstation.Server.Api/Models/TestMergeParameters.cs | using System.ComponentModel.DataAnnotations;
namespace Tgstation.Server.Api.Models
{
/// <summary>
/// Parameters for creating a <see cref="TestMerge"/>
/// </summary>
public class TestMergeParameters
{
/// <summary>
/// The number of the pull request
/// </summary>
[Required]
public int? Number { get;... | using System.ComponentModel.DataAnnotations;
namespace Tgstation.Server.Api.Models
{
/// <summary>
/// Parameters for creating a <see cref="TestMerge"/>
/// </summary>
public class TestMergeParameters
{
/// <summary>
/// The number of the pull request
/// </summary>
public int? Number { get; set; }
//... | agpl-3.0 | C# |
41813402be374a527c7c355ca3cc73d3811b25c5 | Add Tests for all public Api Methods | Domysee/BittrexSharp | Tests/IntegrationTests/BittrexTests.cs | Tests/IntegrationTests/BittrexTests.cs | using BittrexSharp;
using BittrexSharp.Domain;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Tests.IntegrationTests
{
[TestClass]
public class BittrexTests
{
#re... | using BittrexSharp;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Tests.IntegrationTests
{
[TestClass]
public class BittrexTests
{
[TestMethod]
public vo... | mit | C# |
0f0875e6c5b16d4d349d2b104a7d7e4db9b2fc6d | Update test to ensure page is accessible after alert | JustinPhlegar/Orasi | Toolkit/Test/Utils/AlertHandlerTest.cs | Toolkit/Test/Utils/AlertHandlerTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using Toolkit.Utils;
namespace Toolkit
{
[TestClass]
public class AlertHandlerTest
{
FirefoxDriver _driver;
[TestInitia... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenQA.Selenium;
using OpenQA.Selenium.Firefox;
using OpenQA.Selenium.Support.UI;
using Toolkit.Utils;
namespace Toolkit
{
[TestClass]
public class AlertHandlerTest
{
FirefoxDriver _driver;
[TestMeth... | mit | C# |
49c00d3eda7b30576626f1320537ae2de43b9e08 | Fix unit tests on mac and linux | svedm/monodevelop-hg-addin | MonoDevelop.VersionControl.Mercurial/MonoDevelop.VersionControl.Tests/MercurialClientTests.cs | MonoDevelop.VersionControl.Mercurial/MonoDevelop.VersionControl.Tests/MercurialClientTests.cs | using NUnit.Framework;
using System;
using MonoDevelop.VersionControl.Mercurial;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
using System.Text;
namespace MonoDevelop.VersionControl.Tests
{
[TestFixture]
public class MercurialClientTests
{
private string _currentPath;
privat... | using NUnit.Framework;
using System;
using MonoDevelop.VersionControl.Mercurial;
using System.Diagnostics;
using System.IO;
using System.Runtime.InteropServices;
namespace MonoDevelop.VersionControl.Tests
{
[TestFixture]
public class MercurialClientTests
{
private string _currentPath;
private string _testRepoP... | mit | C# |
de8fed9e8b0cf7377735e0c31376750942190220 | Update typeforward assemblyqualifiedname for TimeZoneInfoException | wtgodbe/coreclr,wtgodbe/coreclr,poizan42/coreclr,yizhang82/coreclr,wateret/coreclr,yizhang82/coreclr,poizan42/coreclr,JosephTremoulet/coreclr,yizhang82/coreclr,krk/coreclr,wateret/coreclr,yizhang82/coreclr,mmitche/coreclr,cshung/coreclr,yizhang82/coreclr,krk/coreclr,wtgodbe/coreclr,JosephTremoulet/coreclr,ruben-ayrapet... | src/mscorlib/shared/System/InvalidTimeZoneException.cs | src/mscorlib/shared/System/InvalidTimeZoneException.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
namespace System
{
[Serializable]
[System.Runtime.CompilerServices.Type... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
namespace System
{
[Serializable]
[System.Runtime.CompilerServices.Type... | mit | C# |
f8ad3a9c7e970ed9d1d82b08961587a7d0e6e28e | Fix dispose error in discovery integration tests | nspec/NSpec.VsAdapter,BrainCrumbz/NSpec.VsAdapter | src/NSpec.VsAdapter/Test/NSpec.VsAdapter.IntegrationTests/Discovery/when_discovering_tests.cs | src/NSpec.VsAdapter/Test/NSpec.VsAdapter.IntegrationTests/Discovery/when_discovering_tests.cs | using FluentAssertions;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using NSpec.VsAdapter.IntegrationTests.TestData;
using NSpec.VsAdapter.Settings;
using NSpec.VsAdapter.TestAdapter;
using NUnit.Framework;
using System;
using System.Collections... | using FluentAssertions;
using Microsoft.VisualStudio.TestPlatform.ObjectModel;
using Microsoft.VisualStudio.TestPlatform.ObjectModel.Adapter;
using NSpec.VsAdapter.IntegrationTests.TestData;
using NSpec.VsAdapter.Settings;
using NSpec.VsAdapter.TestAdapter;
using NUnit.Framework;
using System;
using System.Collections... | mit | C# |
cd4d36c2cd94e55acc8c9a410f6d9daa54aeecb5 | test commit | Acceleratio/SPDG,Acceleratio/SPDG | src/Acceleratio.SPDG.Generator/Log.cs | src/Acceleratio.SPDG.Generator/Log.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Acceleratio.SPDG.Generator
{
public class Log
{
public static void Write(string message)
{
using (StreamWriter writer = new StreamWriter( DataGenerator.SessionID + ".lo... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
namespace Acceleratio.SPDG.Generator
{
public class Log
{
public static void Write(string message)
{
using (StreamWriter writer = new StreamWriter( DataGenerator.SessionID + ".log... | mit | C# |
58269f9d13f06d401ca1534f3fa939b5a2845e4d | Drop ServerPingMessage | ermau/Gablarski,ermau/Gablarski | src/Gablarski/Messages/PingMessage.cs | src/Gablarski/Messages/PingMessage.cs | // Copyright (c) 2011-2013, Eric Maupin
// All rights reserved.
//
// Redistribution and use in source and binary forms, with
// or without modification, are permitted provided that
// the following conditions are met:
//
// - Redistributions of source code must retain the above
// copyright notice, this li... | // Copyright (c) 2011, Eric Maupin
// All rights reserved.
//
// Redistribution and use in source and binary forms, with
// or without modification, are permitted provided that
// the following conditions are met:
//
// - Redistributions of source code must retain the above
// copyright notice, this list of... | bsd-3-clause | C# |
6de705c7fdd10486bf52d02be517a5076b94ef2e | update description | ChrisMissal/Quiche,ChrisMissal/Quiche | src/Quiche/Properties/AssemblyInfo.cs | src/Quiche/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Quiche")]
[assembly: AssemblyDescription(... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Quiche")]
[assembly: AssemblyDescription(... | mit | C# |
88d1ee6f28e66ebd1fe6d0de9aaae863f4a5f770 | update net40 example | matiii/Dijkstra.NET | src/Samples/Dijkstra.Net40/Program.cs | src/Samples/Dijkstra.Net40/Program.cs | using System;
using System.Linq;
using Dijkstra.NET.Contract;
using Dijkstra.NET.Extensions;
using Dijkstra.NET.Model;
using Dijkstra.NET.ShortestPath;
namespace Dijkstra.Net40
{
class Program
{
static void Main(string[] args)
{
var graph = new Graph<int, string>();
gr... | using System;
using System.Linq;
using Dijkstra.NET.Contract;
using Dijkstra.NET.Model;
using Dijkstra.NET.ShortestPath;
namespace Dijkstra.Net40
{
class Program
{
static void Main(string[] args)
{
var graph = new Graph<int, string>();
graph.AddNode(1);
gra... | mit | C# |
be1b5db77a593fdea460ef7ab90e63b3817e7853 | Fix casing of interop directories (dotnet/corert#6982) | krk/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,cshung/coreclr,poizan42/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,mmitche/coreclr,wtgodbe/coreclr,poizan42/coreclr,krk/coreclr,poizan42/coreclr,mmitche/coreclr,krk/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,cshung/coreclr,m... | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.cs | src/System.Private.CoreLib/shared/Interop/Windows/Kernel32/Interop.GetCurrentProcess_IntPtr.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal partial class Interop
{
internal partial class Ker... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Runtime.InteropServices;
internal partial class Interop
{
internal partial class Ker... | mit | C# |
e6b01f2527ed12901b71cff96b15c71c1550ca3d | Correct link name in sample | viagogo/gogokit.net | samples/ManagingSales/Views/Shipments/Index.cshtml | samples/ManagingSales/Views/Shipments/Index.cshtml | @model ManagingSales.Models.ShipmentsViewModel
@{
ViewBag.Title = $"Ship Tickets - Sale {Model.Sale.Id}";
}
<h2>Sale #@Model.Sale.Id - @Model.Sale.Status</h2>
@if (Model.Shipments.CreateShipmentLink != null)
{
@Html.ActionLink("Create Shipment", "CreateShipment", "Shipments", new { saleId = Model.Sale.Id },... | @model ManagingSales.Models.ShipmentsViewModel
@{
ViewBag.Title = $"Ship Tickets - Sale {Model.Sale.Id}";
}
<h2>Sale #@Model.Sale.Id - @Model.Sale.Status</h2>
@if (Model.Shipments.CreateShipmenLink != null)
{
@Html.ActionLink("Create Shipment", "CreateShipment", "Shipments", new { saleId = Model.Sale.Id }, ... | mit | C# |
db80b6f3167ebcbf737680b5d5774f5e5f2e2929 | Fix issue that Builder for CatalogRunner is chosen when a builder for DtsRunner should be | Seddryck/NBi,Seddryck/NBi | NBi.Core/Etl/IntegrationService/SsisEtlRunnerFactory.cs | NBi.Core/Etl/IntegrationService/SsisEtlRunnerFactory.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NBi.Core.Etl.IntegrationService
{
class SsisEtlRunnerFactory
{
public IEtlRunner Get(IEtl etl)
{
if (string.IsNullOrEmpty(etl.Server))
return new EtlFileRunne... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NBi.Core.Etl.IntegrationService
{
class SsisEtlRunnerFactory
{
public IEtlRunner Get(IEtl etl)
{
if (string.IsNullOrEmpty(etl.Server))
return new EtlFileRunne... | apache-2.0 | C# |
c27f6b8a82017d721f68aac2051cf49394d69922 | Fix tabs mixed with spaces. | Schumix/YamlDotNet,aaubry/YamlDotNet,aaubry/YamlDotNet,steinbitglis/YamlDotNet,Schumix/YamlDotNet,derFunk/YamlDotNet,vwxyzh/YamlDotNet,vwxyzh/YamlDotNet,kwaak/YamlDotNet,steinbitglis/YamlDotNet,aaubry/YamlDotNet | YamlDotNet/Serialization/YamlAttributesTypeInspector.cs | YamlDotNet/Serialization/YamlAttributesTypeInspector.cs | // This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restriction... | // This file is part of YamlDotNet - A .NET library for YAML.
// Copyright (c) Antoine Aubry and contributors
// Permission is hereby granted, free of charge, to any person obtaining a copy of
// this software and associated documentation files (the "Software"), to deal in
// the Software without restric... | mit | C# |
c5fe9b06ea5f6abb6c5b57fcc235b52babee400b | Remove unnecessary workaround | aspnetboilerplate/aspnetboilerplate,beratcarsi/aspnetboilerplate,verdentk/aspnetboilerplate,carldai0106/aspnetboilerplate,aspnetboilerplate/aspnetboilerplate,luchaoshuai/aspnetboilerplate,carldai0106/aspnetboilerplate,beratcarsi/aspnetboilerplate,verdentk/aspnetboilerplate,virtualcca/aspnetboilerplate,ryancyq/aspnetboi... | src/Abp.AspNetCore.OData/AspNetCore/OData/Configuration/AbpAspNetCoreODataModuleConfiguration.cs | src/Abp.AspNetCore.OData/AspNetCore/OData/Configuration/AbpAspNetCoreODataModuleConfiguration.cs | using System;
using Microsoft.AspNet.OData.Builder;
using Microsoft.AspNet.OData.Extensions;
using Microsoft.AspNetCore.Routing;
namespace Abp.AspNetCore.OData.Configuration
{
internal class AbpAspNetCoreODataModuleConfiguration : IAbpAspNetCoreODataModuleConfiguration
{
public ODataConventionModelBui... | using System;
using Microsoft.AspNet.OData.Builder;
using Microsoft.AspNet.OData.Extensions;
using Microsoft.AspNetCore.Routing;
namespace Abp.AspNetCore.OData.Configuration
{
internal class AbpAspNetCoreODataModuleConfiguration : IAbpAspNetCoreODataModuleConfiguration
{
public ODataConventionModelBui... | mit | C# |
6ffb04af14eac2e27224b9037e3a4a82bcb22b15 | Load message form from correct location | jyarbro/forum,jyarbro/forum,jyarbro/forum | Forum/Views/Topics/Create.cshtml | Forum/Views/Topics/Create.cshtml | @model ViewModels.Topics.Pages.CreateTopicForm
<div asp-validation-summary="All" class="error"></div>
<div id="board-selector" class="float-right content-box pad">
<ul>
@if (ViewData["Categories"] is List<ViewModels.Boards.Items.IndexCategory>) {
foreach (var category in ViewData["Categories"] as List<ViewModel... | @model ViewModels.Topics.Pages.CreateTopicForm
<div asp-validation-summary="All" class="error"></div>
<div id="board-selector" class="float-right content-box pad">
<ul>
@if (ViewData["Categories"] is List<ViewModels.Boards.Items.IndexCategory>) {
foreach (var category in ViewData["Categories"] as List<ViewModel... | unlicense | C# |
ccf674b725371d29a817551fd71828100f5b4813 | Fix NoZombiesFlag not respecting value | Trojaner25/Rocket-Regions,Trojaner25/Rocket-Safezone | Model/Flag/Impl/NoZombiesFlag.cs | Model/Flag/Impl/NoZombiesFlag.cs | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Rocket.Unturned.Player;
using SDG.Unturned;
using Steamworks;
using UnityEngine;
namespace RocketRegions.Model.Flag.Impl
{
public class NoZombiesFlag : BoolFlag
{
public override string Description => "Allow/Disallow s... | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Rocket.Unturned.Player;
using SDG.Unturned;
using Steamworks;
using UnityEngine;
namespace RocketRegions.Model.Flag.Impl
{
public class NoZombiesFlag : BoolFlag
{
public override string Description => "Allow/Disallow s... | agpl-3.0 | C# |
c6293a94624e7c726da91c34cc66878af4585fc8 | Update to use testnet2 (#231) | decred/Paymetheus,jrick/Paymetheus | Paymetheus.Decred/BlockChainIdentity.cs | Paymetheus.Decred/BlockChainIdentity.cs | // Copyright (c) 2016 The btcsuite developers
// Copyright (c) 2016 The Decred developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using System;
namespace Paymetheus.Decred
{
public sealed class BlockChainIdentity
{
public static readonly ... | // Copyright (c) 2016 The btcsuite developers
// Copyright (c) 2016 The Decred developers
// Licensed under the ISC license. See LICENSE file in the project root for full license information.
using System;
namespace Paymetheus.Decred
{
public sealed class BlockChainIdentity
{
public static readonly ... | isc | C# |
5ea2021bec9ad75556bd5ce2c23784f35f4fafb5 | Use Debug.Assert | BrennanConroy/corefx,ViktorHofer/corefx,mmitche/corefx,Ermiar/corefx,wtgodbe/corefx,Ermiar/corefx,ravimeda/corefx,mmitche/corefx,shimingsg/corefx,zhenlan/corefx,zhenlan/corefx,zhenlan/corefx,mmitche/corefx,Jiayili1/corefx,shimingsg/corefx,ptoonen/corefx,ericstj/corefx,mmitche/corefx,ViktorHofer/corefx,ptoonen/corefx,Br... | src/System.Net.WebSockets.WebSocketProtocol/src/System/Net/WebSockets/ManagedWebSocketExtensions.cs | src/System.Net.WebSockets.WebSocketProtocol/src/System/Net/WebSockets/ManagedWebSocketExtensions.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Buffers;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
using System... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Buffers;
using System.IO;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
... | mit | C# |
38c55408bcdfdb5aee815281f25758c6be61d962 | Bump version to 5.2.1 from 5.2.0 | Brightspace/D2L.Security.OAuth2 | src/D2L.Security.OAuth2/Properties/AssemblyInfo.cs | src/D2L.Security.OAuth2/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTit... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTit... | apache-2.0 | C# |
80d34850e7f2c4add90643b85c292c159785f876 | add FirstOrDefaultAsync | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework.Plugins/iFramework.Infrastructure.EntityFramework/Repositories/RepositoryExtention.cs | Src/iFramework.Plugins/iFramework.Infrastructure.EntityFramework/Repositories/RepositoryExtention.cs | using IFramework.Repositories;
using IFramework.Specifications;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace IFramework.EntityFramework.Repositories
{
public static class Repos... | using IFramework.Repositories;
using IFramework.Specifications;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;
namespace IFramework.EntityFramework.Repositories
{
public static... | mit | C# |
68b5e67089540bae8cd9663a7d3dafa5ab56453d | remove forgot password, close #44 | camd67/stream-surfer,camd67/stream-surfer | StreamSurfer/Views/Account/Login.cshtml | StreamSurfer/Views/Account/Login.cshtml | @using System.Collections.Generic
@using Microsoft.AspNetCore.Http
@using Microsoft.AspNetCore.Http.Authentication
@model LoginViewModel
@inject SignInManager<AppUser> SignInManager
@{
ViewData["Title"] = "Log in";
}
<div class="register login">
<div class="register-box">
<div class="register-header... | @using System.Collections.Generic
@using Microsoft.AspNetCore.Http
@using Microsoft.AspNetCore.Http.Authentication
@model LoginViewModel
@inject SignInManager<AppUser> SignInManager
@{
ViewData["Title"] = "Log in";
}
<div class="register login">
<div class="register-box">
<div class="register-header... | mit | C# |
6aa3dc9f554e0d41dd42fc01c4115597574b05b4 | Use non-real domain | ZLima12/osu,peppy/osu,DrabWeb/osu,DrabWeb/osu,NeoAdonis/osu,ppy/osu,peppy/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,ZLima12/osu,2yangk23/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,smoogipoo/osu,johnneijzen/osu,EVAST9919/osu,UselessToucan/osu,peppy/osu,EVAST991... | osu.Game/Online/API/DummyAPIAccess.cs | osu.Game/Online/API/DummyAPIAccess.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Users;
namespace osu.Game.Online.API
{
public class DummyAPIAccess : IAPIProvider
{
public Bindable<User> ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Bindables;
using osu.Game.Users;
namespace osu.Game.Online.API
{
public class DummyAPIAccess : IAPIProvider
{
public Bindable<User> ... | mit | C# |
ee65f2304fc8b7b65417bfd504a6bce9dac0aa80 | Use vs prerelease | Catel/Catel.Fody | build.cake | build.cake | //=======================================================
// DEFINE PARAMETERS
//=======================================================
// Define the required parameters
var Parameters = new Dictionary<string, object>();
Parameters["SolutionName"] = "Catel.Fody";
Parameters["Company"] = "CatenaLogic";
Parameters["Rep... | //=======================================================
// DEFINE PARAMETERS
//=======================================================
// Define the required parameters
var Parameters = new Dictionary<string, object>();
Parameters["SolutionName"] = "Catel.Fody";
Parameters["Company"] = "CatenaLogic";
Parameters["Rep... | mit | C# |
5c8b8852f703916d69f4ae2dc07e1c3a56089440 | Add aspnetcore project to the CI build | ErwinSteffens/DotNetAirbrake,ErwinSteffens/DotNetAirbrake | build.cake | build.cake | #addin "Cake.Powershell"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var versionSuffix = "nuget-test";
var isRunningOnAppVeyor = AppVeyor.IsRunningOnAppVeyor;
Task("Clean")
.Does(() =>
{
CleanDirectories("./src/**/bin");
CleanDirectories("./src/*... | #addin "Cake.Powershell"
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var versionSuffix = "nuget-test";
var isRunningOnAppVeyor = AppVeyor.IsRunningOnAppVeyor;
Task("Clean")
.Does(() =>
{
CleanDirectories("./src/**/bin");
CleanDirectories("./src/*... | mit | C# |
9834b86f9bf3d57eeb8033781ffb7bfb8c2a16e4 | Update Index.cshtml | Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT,Longfld/ASPNETcoreAngularJWT | Views/Home/Index.cshtml | Views/Home/Index.cshtml | <!doctype html>
<html>
<head>
<title>ASP.NET Angular JWT</title>
<base href="~/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" crossorigin="anonymous"/>
<link rel="stylesheet" href="https://... | <!doctype html>
<html>
<head>
<title>ASP.NET Angular JWT</title>
<base href="~/">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" />
<link rel="stylesheet" href="https://fonts.googleapis.com/cs... | mit | C# |
04b629054c4633fd85944f7b05d8626fbbc3f4e0 | Add DynamoDB ConstantClasses to the ConstantClassConverter | thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet,thedevopsmachine/aws-lambda-dotnet | Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/ConstantClassConverter.cs | Libraries/src/Amazon.Lambda.Serialization.SystemTextJson/Converters/ConstantClassConverter.cs | using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
using System.Collections.Generic;
namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
{
/// <summary>
/// JsonConvert to handle the AWS SDK for .NET custom enum classes that derive from the class ca... | using System;
using System.Text.Json;
using System.Text.Json.Serialization;
using System.Threading;
using System.Collections.Generic;
namespace Amazon.Lambda.Serialization.SystemTextJson.Converters
{
/// <summary>
/// JsonConvert to handle the AWS SDK for .NET custom enum classes that derive from the class ca... | apache-2.0 | C# |
ca9841b02cd70aa493feb651d9da1bcde8fbf13c | Add overload | eriawan/roslyn,dotnet/roslyn,shyamnamboodiripad/roslyn,jasonmalinowski/roslyn,AmadeusW/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,weltkante/roslyn,wvdd007/roslyn,mavasani/roslyn,CyrusNajmabadi/roslyn,KevinRansom/roslyn,KevinRansom/roslyn,weltkante/roslyn,physhi/roslyn,tmat/roslyn,eriawan/roslyn,welt... | src/Features/Core/Portable/ExternalAccess/VSTypeScript/Api/VSTypeScriptDocumentNavigationServiceWrapper.cs | src/Features/Core/Portable/ExternalAccess/VSTypeScript/Api/VSTypeScriptDocumentNavigationServiceWrapper.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using Microsoft.CodeAnalysis.Navigation;
using Microsoft.CodeAnalysis.Options;
namespace M... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Threading;
using Microsoft.CodeAnalysis.Navigation;
using Microsoft.CodeAnalysis.Options;
namespace M... | mit | C# |
6a2a8458aab5d3b9576cac5d893a04020b80eaa7 | Update docs on XR SDK IHolographicFramePtr | DDReaper/MixedRealityToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity,killerantz/HoloToolkit-Unity | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/XRSDK/XRSDKWindowsMixedRealityUtilitiesProvider.cs | Assets/MixedRealityToolkit.Providers/WindowsMixedReality/XRSDK/XRSDKWindowsMixedRealityUtilitiesProvider.cs | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.WindowsMixedReality;
using System;
#if WMR_ENABLED
using UnityEngine.XR.WindowsMR;
#endif // WMR_ENABLED
namespace Microsoft.MixedReality.Toolkit.XRSDK.WindowsMixedReality
{
/// <summary>
/// An i... | // Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Microsoft.MixedReality.Toolkit.WindowsMixedReality;
using System;
#if WMR_ENABLED
using UnityEngine.XR.WindowsMR;
#endif // WMR_ENABLED
namespace Microsoft.MixedReality.Toolkit.XRSDK.WindowsMixedReality
{
/// <summary>
/// An i... | mit | C# |
0036731c72bc136545abdebf3e9a804a7e2d27c3 | Add ForEach extension on a IEnumerable | dachibox/GeekyTool | src/GeekyTool.Core/Extensions/IEnumerablesExtensions.cs | src/GeekyTool.Core/Extensions/IEnumerablesExtensions.cs | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using GeekyTool.Helpers;
namespace GeekyTool.Extensions
{
public static class IEnumerablesExtensions
{
public static OptimizedObservableCollection<T> ToOptimizedObservableCollection<T>(this IEnumerable<T> source... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using GeekyTool.Helpers;
namespace GeekyTool.Extensions
{
public static class IEnumerablesExtensions
{
public static OptimizedObservableCollection<T> ToOptimizedObservableCollection<T>(this IEnumerable<T> source... | apache-2.0 | C# |
3d4433311f0db6236d3c7ffaa8f814cf70408aa8 | Fix ChangeRequestStatusCommandHandlerShould to align with changed code in the handler | VishalMadhvani/allReady,mgmccarthy/allReady,binaryjanitor/allReady,MisterJames/allReady,BillWagner/allReady,jonatwabash/allReady,jonatwabash/allReady,HamidMosalla/allReady,arst/allReady,BillWagner/allReady,mipre100/allReady,gitChuckD/allReady,jonatwabash/allReady,HTBox/allReady,stevejgordon/allReady,GProulx/allReady,bi... | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Requests/ChangeRequestStatusCommandHandlerShould.cs | AllReadyApp/Web-App/AllReady.UnitTest/Areas/Admin/Features/Requests/ChangeRequestStatusCommandHandlerShould.cs | using System;
using System.Linq;
using AllReady.Areas.Admin.Features.Requests;
using AllReady.Models;
using MediatR;
using Moq;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Requests
{
public class ChangeRequestStatusCommandHandlerShould : InMemoryContextTest
{
[Fact]
public as... | using System;
using System.Linq;
using AllReady.Areas.Admin.Features.Requests;
using AllReady.Models;
using Microsoft.EntityFrameworkCore;
using Shouldly;
using Xunit;
namespace AllReady.UnitTest.Areas.Admin.Features.Requests
{
public class ChangeRequestStatusCommandHandlerShould : InMemoryContextTest
{
... | mit | C# |
66c831d15918f6308a3d3b78a52ab97455c7617c | Refactor route url for poiController | GAnatoliy/geochallenger,GAnatoliy/geochallenger | GeoChallenger.Web.Api/Controllers/PoisController.cs | GeoChallenger.Web.Api/Controllers/PoisController.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using AutoMapper;
using GeoChallenger.Services.Interfaces;
using GeoChallenger.Web.Api.Models;
namespace GeoChallenger.Web.Api.Controllers
{
/// <summary>
/// Point of Interests controller
/// </summar... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using AutoMapper;
using GeoChallenger.Services.Interfaces;
using GeoChallenger.Web.Api.Models;
namespace GeoChallenger.Web.Api.Controllers
{
/// <summary>
/// Geo tags controller
/// </summary>
[Ro... | mit | C# |
eee288080f323464a7872ac4921254f987c3ccc1 | Fix Linux-only nullable reference errors. | Faithlife/FaithlifeUtility | tests/Faithlife.Utility.Tests/DisposableUtilityTests.cs | tests/Faithlife.Utility.Tests/DisposableUtilityTests.cs | using System;
using NUnit.Framework;
namespace Faithlife.Utility.Tests
{
[TestFixture]
public class DisposableUtilityTests
{
[Test]
public void Dispose()
{
DisposableClass? d = new DisposableClass();
var dCopy = d;
Assert.IsFalse(d.IsDisposed);
DisposableUtility.Dispose(ref d);
Assert.IsNull(d... | using System;
using NUnit.Framework;
namespace Faithlife.Utility.Tests
{
[TestFixture]
public class DisposableUtilityTests
{
[Test]
public void Dispose()
{
var d = new DisposableClass();
var dCopy = d;
Assert.IsFalse(d.IsDisposed);
DisposableUtility.Dispose(ref d);
Assert.IsNull(d);
Assert.... | mit | C# |
343e46f5438793f2f084852f85e198ee9e0abe48 | Make variable readonly | peppy/osu-framework,DrabWeb/osu-framework,Tom94/osu-framework,EVAST9919/osu-framework,Nabile-Rahmani/osu-framework,ppy/osu-framework,Tom94/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,default0/osu-framework,peppy/osu-framework,ppy/osu-framework,DrabWeb/osu-framework,ppy/osu-framework,peppy/osu-framewo... | osu.Framework/Audio/Sample/Sample.cs | osu.Framework/Audio/Sample/Sample.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Audio.Sample
{
public abstract class Sample : AudioComponent
{
public const int DEFAULT_CONCURRENCY = 2;
... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
namespace osu.Framework.Audio.Sample
{
public abstract class Sample : AudioComponent
{
public const int DEFAULT_CONCURRENCY = 2;
... | mit | C# |
3ae2c21ef205ba6e08537aaa8b0d5c55dce96cc2 | Add Converters namespace to exported namespace (#1202) | ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit,ButchersBoy/MaterialDesignInXamlToolkit | MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs | MaterialDesignThemes.Wpf/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Assem... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: Assem... | mit | C# |
d0faee81208cedc13520aa0956ab1f633104ef30 | Update ProcessExtensions.cs | Kittyfisto/SharpRemote,Kittyfisto/SharpRemote,Kittyfisto/SharpRemote | SharpRemote.Windows/Extensions/ProcessExtensions.cs | SharpRemote.Windows/Extensions/ProcessExtensions.cs | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace SharpRemote.Extensions
{
internal static class ProcessExtensions
{
public static bool TryKill(int pid)
{
IntPtr handle = IntPtr.Zero;
try
{
handle = NativeMethods.OpenProcess(ProcessAccessFlags.Terminate,
... | using System;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace SharpRemote.Extensions
{
internal static class ProcessExtensions
{
public static bool TryKill(int pid)
{
IntPtr handle = IntPtr.Zero;
try
{
handle = NativeMethods.OpenProcess(ProcessAccessFlags.Terminate,
... | mit | C# |
939e2493227c1ce16c694147a16b8403dc8d14a4 | Disable unused functionality | mavasani/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,dotnet/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,CyrusNajmabadi/roslyn,bartdesmet/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,bartdesmet/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,shyam... | src/Features/Core/Portable/ExternalAccess/UnitTesting/SolutionCrawler/ExportUnitTestingIncrementalAnalyzerProviderAttribute.cs | src/Features/Core/Portable/ExternalAccess/UnitTesting/SolutionCrawler/ExportUnitTestingIncrementalAnalyzerProviderAttribute.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Composition;
namespace Microsoft.CodeAnalysis.ExternalAccess.UnitTes... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#nullable disable
using System;
using System.Composition;
namespace Microsoft.CodeAnalysis.ExternalAccess.UnitTes... | mit | C# |
39fff55640aa558a35d654c09116fe841edf8f52 | Update App Login support | openchargemap/ocm-system,openchargemap/ocm-system,openchargemap/ocm-system,openchargemap/ocm-system | Website/OCM.MVC/Views/LoginProvider/AppLogin.cshtml | Website/OCM.MVC/Views/LoginProvider/AppLogin.cshtml | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Complete App Login</title>
<script>
function getCookie(c_name) {
//http://www.w3schools.com/js/js_cookies.asp
var i, x, y, ARRcookies = document.cookie.split... | @{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Complete App Login</title>
<script>
function getSignInResult() {
var userInfo = {
"Identifier": this.getCookie("Identifier"),
"Username":... | mit | C# |
fcd70a70546563ffc6d1eed390c002b6aa1414de | Raise an exception if there is an error from linode | jacksonh/MCloud,jacksonh/MCloud | MCloud/MCloud.Linode/LinodeResponse.cs | MCloud/MCloud.Linode/LinodeResponse.cs |
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace MCloud.Linode {
internal class LinodeResponse {
public LinodeResponse ()
{
}
public string Action {
get;
set;
}
public JObject [] Data {
get;
... |
using System;
using System.IO;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace MCloud.Linode {
internal class LinodeResponse {
public LinodeResponse ()
{
}
public string Action {
get;
set;
}
public JObject [] Data {
get;
... | mit | C# |
72f2c278abfe234238ff3348093437a6aeb4349c | Update AssemblyInfo.cs | martindevans/MumbleSharp | MumbleSharp/Properties/AssemblyInfo.cs | MumbleSharp/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mu... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mu... | mit | C# |
88696effbcc6e651c0ea11f46986be0081f4d1a3 | 修改Senparc.Weixin版本号 | JeffreySu/WxOpen,down4u/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,mc7246/WeiXinMPSDK,JeffreySu/WeiXinMPSDK,wanddy/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,wanddy/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPSDK,jiehanlin/WeiXinMPSDK,lishewen/WeiXinMPSDK,wanddy/WeiXinMPSDK,mc7246/WeiXinMPSDK,lishewen/WeiXinMPS... | Senparc.Weixin/Senparc.Weixin/Properties/AssemblyInfo.cs | Senparc.Weixin/Senparc.Weixin/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Ass... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的常规信息通过以下
// 特性集控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Senparc.Weixin")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Ass... | apache-2.0 | C# |
8a6cb2d2194d5a9ca015e31f7cca4c755568aba3 | Add HeadOfHousehold to participantDto | crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin,crdschurch/crds-signin-checkin | SignInCheckIn/SignInCheckIn/Models/DTO/ParticipantDto.cs | SignInCheckIn/SignInCheckIn/Models/DTO/ParticipantDto.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
using MinistryPlatform.Translation.Models.DTO;
using Newtonsoft.Json;
namespace SignInCheckIn.Models.DTO
{
public class ParticipantDto
{
public int EventParticipantId { get; set; }
publ... | using System;
using System.Linq;
using Microsoft.Practices.ObjectBuilder2;
using Newtonsoft.Json;
namespace SignInCheckIn.Models.DTO
{
public class ParticipantDto
{
public int EventParticipantId { get; set; }
public int ParticipantId { get; set; }
public int ContactId { get; set; }
... | bsd-2-clause | C# |
b8499e790457f11d3baafef4becf5b04c0846dd9 | Update _Layout.cshtml | jbubriski/npoi-mvc-sample-app | NpoiSample/Views/Shared/_Layout.cshtml | NpoiSample/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - NPOI Sample App</title>
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="~/Content/bootstrap.min.css" rel="stylesheet"... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title - NPOI Sample App</title>
<link href="~/Content/Site.css" rel="stylesheet" type="text/css" />
<link href="~/Content/bootstrap.min.css" rel="stylesheet"... | mit | C# |
adc703d8bd520d483608e99fae9f3ec28543e092 | Add null checks for testing purpose. | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Core/Output/OutputSink.cs | source/Nuke.Core/Output/OutputSink.cs | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/matkoch/Nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using Nuke.Core.Execution;
namespace Nuke.Core.Output
{
public interface IOutputSink
{
void Trace (string tex... | // Copyright Matthias Koch 2017.
// Distributed under the MIT License.
// https://github.com/matkoch/Nuke/blob/master/LICENSE
using System;
using System.Collections.Generic;
using System.Linq;
using Nuke.Core.Execution;
namespace Nuke.Core.Output
{
public interface IOutputSink
{
void Trace (string tex... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.