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 |
|---|---|---|---|---|---|---|---|---|
0607ef40f7a6fc8a5592fed1abcc880630b42d21 | add property for the name of the category | SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery,SoftwareFans/AstroPhotoGallery | AstroPhotoGallery/AstroPhotoGallery/Models/Picture.cs | AstroPhotoGallery/AstroPhotoGallery/Models/Picture.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace AstroPhotoGallery.Models
{
public class Picture
{
[Key]
public int Id { g... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;
namespace AstroPhotoGallery.Models
{
public class Picture
{
[Key]
public int Id { g... | mit | C# |
db12eff96b85ae62ee4637420c567c62a7a6bbdf | Reduce unit test logger verbosity | LukeForder/rethinkdb-net,kangkot/rethinkdb-net,nkreipke/rethinkdb-net,Ernesto99/rethinkdb-net,bbqchickenrobot/rethinkdb-net,LukeForder/rethinkdb-net,kangkot/rethinkdb-net,Ernesto99/rethinkdb-net,bbqchickenrobot/rethinkdb-net,nkreipke/rethinkdb-net | rethinkdb-net-test/TestBase.cs | rethinkdb-net-test/TestBase.cs | using System;
using NUnit.Framework;
using RethinkDb;
using System.Net;
using System.Linq;
using System.Threading.Tasks;
using RethinkDb.Configuration;
namespace RethinkDb.Test
{
public class TestBase
{
protected IConnection connection;
[TestFixtureSetUp]
public virtual void TestFixtur... | using System;
using NUnit.Framework;
using RethinkDb;
using System.Net;
using System.Linq;
using System.Threading.Tasks;
using RethinkDb.Configuration;
namespace RethinkDb.Test
{
public class TestBase
{
protected IConnection connection;
[TestFixtureSetUp]
public virtual void TestFixtur... | apache-2.0 | C# |
bdf791ab0ab6e1a58eedee502efedd1e7cba27ce | Add attributes to Package View-Model | grenade/NuGetGallery_download-count-patch,JetBrains/ReSharperGallery,ScottShingler/NuGetGallery,skbkontur/NuGetGallery,skbkontur/NuGetGallery,projectkudu/SiteExtensionGallery,JetBrains/ReSharperGallery,skbkontur/NuGetGallery,ScottShingler/NuGetGallery,projectkudu/SiteExtensionGallery,grenade/NuGetGallery_download-count... | src/NuGetGallery/ViewModels/PackageViewModel.cs | src/NuGetGallery/ViewModels/PackageViewModel.cs | using System;
using System.Collections.Generic;
namespace NuGetGallery
{
public class PackageViewModel : IPackageVersionModel
{
private readonly Package _package;
private string _pendingTitle;
public PackageViewModel(Package package)
{
_package = package;
... | using System;
namespace NuGetGallery
{
public class PackageViewModel : IPackageVersionModel
{
private readonly Package _package;
private string _pendingTitle;
public PackageViewModel(Package package)
{
_package = package;
Version = package.Version;
... | apache-2.0 | C# |
eba903ab83b28c5e668517259514829fd0658dd9 | change registration in database seeder to be all singleton | zmira/abremir.AllMyBricks | abremir.AllMyBricks.DatabaseSeeder/Configuration/IoC.cs | abremir.AllMyBricks.DatabaseSeeder/Configuration/IoC.cs | using abremir.AllMyBricks.DatabaseSeeder.Loggers;
using abremir.AllMyBricks.DatabaseSeeder.Services;
using abremir.AllMyBricks.Device.Interfaces;
using Easy.MessageHub;
using SimpleInjector;
using System.Reflection;
namespace abremir.AllMyBricks.DatabaseSeeder.Configuration
{
public static class IoC
{
... | using abremir.AllMyBricks.DatabaseSeeder.Loggers;
using abremir.AllMyBricks.DatabaseSeeder.Services;
using abremir.AllMyBricks.Device.Interfaces;
using Easy.MessageHub;
using SimpleInjector;
using System.Reflection;
namespace abremir.AllMyBricks.DatabaseSeeder.Configuration
{
public static class IoC
{
... | mit | C# |
75c1e5fa755f3d95b3f0484f9de99c0c839a8897 | Add @ flag for I18n String | Deliay/osuSync,Deliay/Sync | OtherPlugins/RecentlyUserQuery/DefaultLanguage.cs | OtherPlugins/RecentlyUserQuery/DefaultLanguage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sync.Tools;
namespace RecentlyUserQuery
{
public class DefaultLanguage:I18nProvider
{
public static LanguageElement LANG_HELP = @"\n以下指令cmd端和osu!irc端规则通用(在osu!irc端用请在开头加""?"")\nrec... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sync.Tools;
namespace RecentlyUserQuery
{
public class DefaultLanguage:I18nProvider
{
public static LanguageElement LANG_HELP = "\n以下指令cmd端和osu!irc端规则通用(在osu!irc端用请在开头加\"?\")\nrece... | mit | C# |
d8c51e555d4ee9525ee74e285ebc6eb0f463d754 | Remove unused timer | mmoening/MatterControl,unlimitedbacon/MatterControl,unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,jlewin/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,u... | PartPreviewWindow/View3D/SliceProgressReporter.cs | PartPreviewWindow/View3D/SliceProgressReporter.cs | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2017, Lars Brubaker, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
b0e80f84b82fb2357ca96d015620ae174540877d | Update LevelGrading.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/LevelGrading.cs | Real_Game/Assets/Scripts/LevelGrading.cs | using UnityEngine;
using System.Collections;
public class LevelGrading : MonoBehaviour {
public float finalScore; // This is the final score you recieve
public string finalScoreLetter; //
public float[] timeGrading = new float[5]; // 5 for the 5 grades (A, B, C D, F)
public int[] death... | using UnityEngine;
using System.Collections;
public class LevelGrading : MonoBehaviour {
public float finalScore; // This is the final score you recieve
public string finalScoreLetter; //
public float[] timeGrading = new float[5]; // 5 for the 5 grades (A, B, C D, F)
public int[] death... | mit | C# |
0379323dbcc985ad7f993d6d72edb712611dcd00 | Fix switched TCP/UDP values. | ZigMeowNyan/RuleOfFirewall | RuleOfFirewall/Enums/ProtocolTypeEnum.cs | RuleOfFirewall/Enums/ProtocolTypeEnum.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RuleOfFirewall.Enums
{
public enum ProtocolTypeEnum
{
TCP = 6,
UDP = 17,
Any = 256,
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace RuleOfFirewall.Enums
{
public enum ProtocolTypeEnum
{
UDP = 6,
TCP = 17,
Any = 256,
}
}
| mit | C# |
3d1507a7b3949f58e89e5c9f0f891c8a178263f0 | Fix multiple dispose check problem | YoshihiroIto/Anne | Anne.Foundation/Mvvm/ViewModelBase.cs | Anne.Foundation/Mvvm/ViewModelBase.cs | using Livet;
namespace Anne.Foundation.Mvvm
{
public class ViewModelBase : ViewModel
{
public ViewModelBase()
{
DisposableChecker.Add(this);
}
protected override void Dispose(bool disposing)
{
if (disposing)
DisposableChecker.Rem... | using Livet;
namespace Anne.Foundation.Mvvm
{
public class ViewModelBase : ViewModel
{
public ViewModelBase()
{
DisposableChecker.Add(this);
}
protected override void Dispose(bool disposing)
{
DisposableChecker.Remove(this);
base.Di... | mit | C# |
b6860d81f16ab39723c0132db9c8a7afaa9310b0 | Fix CF. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/CoinJoin/Client/Clients/BobClient.cs | WalletWasabi/CoinJoin/Client/Clients/BobClient.cs | using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using WalletWasabi.CoinJoin.Common.Models;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Http;
using WalletWasabi.Tor.Http.Extensions;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.CoinJoin.Client.Clients
{
public class BobClie... | using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using WalletWasabi.CoinJoin.Common.Models;
using WalletWasabi.Helpers;
using WalletWasabi.Tor.Http;
using WalletWasabi.Tor.Http.Extensions;
using WalletWasabi.WebClients.Wasabi;
namespace WalletWasabi.CoinJoin.Client.Clients
{
public class BobClie... | mit | C# |
db2ef487b1103d6fed03ba838f867558ae6fa385 | Set access for SimpleTypesPredicate | llewelynrex/UsefulDataTools | src/DataOutputExtensions/DataOutputExtensions.cs | src/DataOutputExtensions/DataOutputExtensions.cs | using System;
using System.Reflection;
namespace UsefulDataTools
{
public static class DataOutputExtensions
{
private static readonly Func<Type, bool> SimpleTypesPredicate;
static DataOutputExtensions()
{
SimpleTypesPredicate = t =>
t == t... | using System;
using System.Reflection;
namespace UsefulDataTools
{
public static class DataOutputExtensions
{
internal static readonly Func<Type, bool> SimpleTypesPredicate;
static DataOutputExtensions()
{
SimpleTypesPredicate = t =>
t == ... | mit | C# |
eb1fc0efb147df3b13aa4f68b18d4603c6d0fd35 | Fix offset samples for GetData | setchi/NoteEditor,setchi/NotesEditor | Assets/Scripts/UI/WaveformRenderer.cs | Assets/Scripts/UI/WaveformRenderer.cs | using System.Linq;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
public class WaveformRenderer : MonoBehaviour
{
[SerializeField]
Color color;
void Awake()
{
var model = NotesEditorModel.Instance;
var waveData = new float[500000];
var skipSamples = 50;
var line... | using System.Linq;
using UniRx;
using UniRx.Triggers;
using UnityEngine;
public class WaveformRenderer : MonoBehaviour
{
[SerializeField]
Color color;
void Awake()
{
var model = NotesEditorModel.Instance;
var waveData = new float[500000];
var skipSamples = 50;
var line... | mit | C# |
dc75629506b0881f58dcb15b5cef212608408724 | Fix UI scale; add Canvas property | DMagic1/KSP_Contract_Window | Source/ContractsWindow.Unity/Interfaces/ICW_Window.cs | Source/ContractsWindow.Unity/Interfaces/ICW_Window.cs | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Unity;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Interfaces
{
public interface ICW_Window
{
bool HideTooltips { get; set; }
bool BlizzyAvailable { get; }
bool StockToolbar { get; set; }
bool Replace... | using System;
using System.Collections.Generic;
using ContractsWindow.Unity.Unity;
using UnityEngine;
using UnityEngine.UI;
namespace ContractsWindow.Unity.Interfaces
{
public interface ICW_Window
{
bool HideTooltips { get; set; }
bool BlizzyAvailable { get; }
bool StockToolbar { get; set; }
bool Replace... | mit | C# |
2703bd1f631f1b419fb8c43c6e373a7a79f899ec | Fix entity type enumeration to be complete and have the right values. | bleroy/minecraft.client,Petermarcu/minecraft.client | Decent.Minecraft.Client/EntityType.cs | Decent.Minecraft.Client/EntityType.cs | namespace Decent.Minecraft.Client
{
/// <summary>
/// Minecraft entity types.
/// The byte values correspond to actual Minecraft entity IDs.
/// <a href="http://minecraft.gamepedia.com/Data_values/Entity_IDs">Gamepedia link</a>.
/// </summary>
public enum EntityType : byte
{
Item = ... | namespace Decent.Minecraft.Client
{
public enum EntityType : byte
{
Item,
XPOrb,
LeashKnot,
Painting,
Arrow,
Snowball,
Fireball,
SmallFireball,
ThrownEnderpearl,
EyeOfEnderSignal,
ThrownPotion,
ThrownExpBottle,
... | mit | C# |
1ab5cc9d862c3893ccb5daf92425e6ca08239147 | Apply CR | r22016/azure-sdk-for-net,DheerendraRathor/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,pomortaz/azure-sdk-for-net,mihymel/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,zaevans/azure-sdk-for-net,avijitgupta/azure-sdk-for-net,Nilambari/azure-sdk-for-net,samtoubia/azure-sdk-for-net,Nilambari/azure-sdk-for-net,rohma... | src/WebSiteManagement/Properties/AssemblyInfo.cs | src/WebSiteManagement/Properties/AssemblyInfo.cs | //
// Copyright (c) Microsoft. 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 by applicable l... | //
// Copyright (c) Microsoft. 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 by applicable l... | mit | C# |
a80a89da87027a8653e25701085438bf65510182 | Destroy factory items when moving them to stockpile | knexer/TimeLoopIncremental | Assets/Scripts/Grid/GridOutput.cs | Assets/Scripts/Grid/GridOutput.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(GridPositionComponent))]
[RequireComponent(typeof(ResourceSink))]
public class GridOutput : MonoBehaviour {
private ResourceStorage ItemDestination;
private ResourceSink ItemSource;
// Use this for initia... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(GridPositionComponent))]
[RequireComponent(typeof(ResourceSink))]
public class GridOutput : MonoBehaviour {
private ResourceStorage ItemDestination;
private ResourceSink ItemSource;
// Use this for initia... | mit | C# |
d54a212c232d1165bf18f0daecdf9ca787473807 | Fix bug where test mode wouldn't launch | ethanmoffat/EndlessClient | EndlessClient/TestModeLauncher.cs | EndlessClient/TestModeLauncher.cs | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EndlessClient.GameExecution;
using EndlessClient.Rendering.Factories;
using EOLib.IO.Repositories;
namespace EndlessClient
{
//todo: move this to a different n... | // Original Work Copyright (c) Ethan Moffat 2014-2016
// This file is subject to the GPL v2 License
// For additional details, see the LICENSE file
using EndlessClient.GameExecution;
using EndlessClient.Rendering.Factories;
using EOLib.IO.Repositories;
namespace EndlessClient
{
//todo: move this to a different n... | mit | C# |
dd7b0ca45b76c99d28c0bc523cb2e8c1db6aec66 | Bump Version | Coding-Enthusiast/Watch-Only-Bitcoin-Wallet | WatchOnlyBitcoinWallet/Properties/AssemblyInfo.cs | WatchOnlyBitcoinWallet/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 ... | mit | C# |
79a60a48ee91b0419529a6a687bacc250c8550c1 | Store in Json property. | PenguinF/sandra-three | Sandra.UI.WF/Storage/JsonTokenizer.cs | Sandra.UI.WF/Storage/JsonTokenizer.cs | #region License
/*********************************************************************************
* JsonTokenizer.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | #region License
/*********************************************************************************
* JsonTokenizer.cs
*
* Copyright (c) 2004-2018 Henk Nicolai
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You m... | apache-2.0 | C# |
b1124fe9870b98e3f648e4a8c7d0578cca079f5d | fix lint. | GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples,GoogleCloudPlatform/dotnet-docs-samples | asset/quickstart/ExportAssetsTest/ExportAssetsTest.cs | asset/quickstart/ExportAssetsTest/ExportAssetsTest.cs | /*
* Copyright (c) 2018 Google LLC.
*
* 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 by applicable law or a... | /*
* Copyright (c) 2018 Google LLC.
*
* 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 by applicable law or a... | apache-2.0 | C# |
f61d7419dd6b49d6091b4539b034902e2a8af1cd | Update version | Oceanswave/NiL.JS,nilproject/NiL.JS,nilproject/NiL.JS,Oceanswave/NiL.JS,nilproject/NiL.JS,Oceanswave/NiL.JS | NiL.JS/Properties/AssemblyInfo.cs | NiL.JS/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NiL.JS")]
[assembly: AssemblyProduct("NiL.JS")]
[assembly: AssemblyDescription("JavaScript engine for .NET")]
[assembly: AssemblyCompany("NiLProject")]
... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyTitle("NiL.JS")]
[assembly: AssemblyProduct("NiL.JS")]
[assembly: AssemblyDescription("JavaScript engine for .NET")]
[assembly: AssemblyCompany("NiLProject")]
... | bsd-3-clause | C# |
49ff39874ea7ec382bde5068f5b96c743a89b2f4 | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | autofac/Autofac.Extras.EnterpriseLibraryConfigurator | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | mit | C# |
0030d6b7f9a0d90e27728f056eec7915927d2b35 | Build script now creates individual zip file packages to align with the NuGet packages and semantic versioning. | autofac/Autofac.SignalR | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18033
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | mit | C# |
874f0814c1820c70e6c89dfbe12576a3d2b8d14f | Make Range report invalid arguments when throwing | ygra/Diablo3ItemCollage,ygra/Diablo3ItemCollage | Helpers/Helper.cs | Helpers/Helper.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ItemCollage
{
public static class Helper
{
public static IEnumerable<int> Range(int start, int end, int step = 1)
{
if (start > end && step > 0 ||
start < end && step < 0... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ItemCollage
{
public static class Helper
{
public static IEnumerable<int> Range(int start, int end, int step = 1)
{
if (start > end && step > 0 ||
start < end && step < 0... | mit | C# |
d69322a88dab4467f8fa4c122b329677db3c242d | Fix module tests to use valid data | schlos/denver-schedules-api,codeforamerica/denver-schedules-api,codeforamerica/denver-schedules-api,schlos/denver-schedules-api | Schedules.API.Tests/Modules/StreetSweepingTests.cs | Schedules.API.Tests/Modules/StreetSweepingTests.cs | using NUnit.Framework;
using Nancy.Testing;
namespace Schedules.API.Tests.Modules
{
[TestFixture]
public class StreetSweepingTests
{
const string longitude = "-104.952312";
const string latitude = "39.7211511226435";
const string url = "/schedules/streetsweeping";
Browser browser;
BrowserRes... | using NUnit.Framework;
using Nancy.Testing;
namespace Schedules.API.Tests.Modules
{
[TestFixture]
public class StreetSweepingTests
{
const string url = "/schedules/streetsweeping";
Browser browser;
BrowserResponse response;
[TestFixtureSetUp]
public void SetUp()
{
browser = new Br... | mit | C# |
6d412dc5c7e728aaf60670b278f730563a7cabf7 | Fix MEF composition error | PedroLamas/nuproj,AArnott/nuproj,nuproj/nuproj,kovalikp/nuproj,ericstj/nuproj,faustoscardovi/nuproj,NN---/nuproj,oliver-feng/nuproj,zbrad/nuproj | src/NuProj.Package/NuProjProjectTreeModifier.cs | src/NuProj.Package/NuProjProjectTreeModifier.cs | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.ProjectSystem;
using Microsoft.VisualStudio.ProjectSystem.Designers;
using Microsoft.VisualStudio.ProjectSystem.Utilities;
using Microsoft.VisualStudio.ProjectSystem.Utilities.Designers;
namespace NuProj.ProjectSystem
{
[Export(t... | using System;
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.ProjectSystem.Designers;
using Microsoft.VisualStudio.ProjectSystem.Utilities;
using Microsoft.VisualStudio.ProjectSystem.Utilities.Designers;
namespace NuProj.ProjectSystem
{
[Export(typeof(IProjectTreeModifier))]
[PartMetad... | mit | C# |
13d2d3643e1979d090e0f3f0dd0e60fc4b99488b | Bump version to 1.3.0 | PolarbearDK/Miracle.Settings | Source/Miracle.Settings/Properties/AssemblyInfo.cs | Source/Miracle.Settings/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: AssemblyTi... | 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: AssemblyTi... | mit | C# |
fc43debd6e40b592af4c9b184f5a764bc9b5fce1 | Add Respoke-SDK header to requests | ruffrey/dotnet-respoke-admin,respoke/dotnet-respoke-admin | respoke/RespokeClient.cs | respoke/RespokeClient.cs | using System;
using System.Net;
using System.IO;
using System.Text;
using System.Reflection;
using System.Collections.Generic;
using Newtonsoft.Json;
using Respoke;
namespace Respoke {
public class RespokeClient {
private string GetSDKHeader() {
string version = Assembly.GetExecutingAssembly().GetName().Version... | using System;
using System.Net;
using System.IO;
using System.Text;
using System.Collections.Generic;
using Newtonsoft.Json;
using Respoke;
namespace Respoke {
public class RespokeClient {
public string BaseUrl { get; set; }
public RespokeClient () {
BaseUrl = "https://api.respoke.io/v1";
}
public Resp... | mit | C# |
f8edf08da9b9ea7ad79fae175e93f4bb23a45c61 | Update AssemblyInfo.cs | Raptura/WebformUtilities | WFUtilities/WFUtilities/Properties/AssemblyInfo.cs | WFUtilities/WFUtilities/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("WF... | 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("WF... | mit | C# |
7e1f90fb3b8d1af89853a6d76da8f3b400f1dc16 | Clear the content type "common" cache when deleting templates | JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,NikRimington/Umbraco-CMS,bjarnef/Umbraco-CMS,madsoulswe/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,marcemarc/Umbraco-CMS,marcemarc/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,KevinJump/Umbraco-CMS,abryukhov/Umbraco-CMS,robertjf/Umbraco-CMS,dawo... | src/Umbraco.Web/Cache/TemplateCacheRefresher.cs | src/Umbraco.Web/Cache/TemplateCacheRefresher.cs | using System;
using Umbraco.Core.Cache;
using Umbraco.Core.Models;
using Umbraco.Core.Persistence.Repositories;
using Umbraco.Core.Services;
namespace Umbraco.Web.Cache
{
public sealed class TemplateCacheRefresher : CacheRefresherBase<TemplateCacheRefresher>
{
private readonly IdkMap _idkMap;
... | using System;
using Umbraco.Core.Cache;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
namespace Umbraco.Web.Cache
{
public sealed class TemplateCacheRefresher : CacheRefresherBase<TemplateCacheRefresher>
{
private readonly IdkMap _idkMap;
public TemplateCacheRefresher(AppCaches appC... | mit | C# |
92f6458d4b4935762cb60afbc0750d2c9c1e5497 | add Checked and Unchecked events | jpbruyere/Crow,jpbruyere/Crow | src/GraphicObjects/Checkbox.cs | src/GraphicObjects/Checkbox.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using OpenTK.Graphics.OpenGL;
using Cairo;
using winColors = System.Drawing.Color;
using System.Diagnostics;
using System.Xml.Serialization;
using OpenTK.Input;
using System.ComponentModel;
namespace go
{
[D... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//using OpenTK.Graphics.OpenGL;
using Cairo;
using winColors = System.Drawing.Color;
using System.Diagnostics;
using System.Xml.Serialization;
using OpenTK.Input;
using System.ComponentModel;
namespace go
{
[D... | mit | C# |
cfa7b28fed2f015e611daf8a92898d631945e462 | Update version | picrap/dnlib,0xd4d/dnlib,jorik041/dnlib,Arthur2e5/dnlib,yck1509/dnlib,kiootic/dnlib,modulexcite/dnlib,ilkerhalil/dnlib,ZixiangBoy/dnlib | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | // dnlib: See LICENSE.txt for more info
using System.Reflection;
using System.Runtime.InteropServices;
#if THREAD_SAFE
[assembly: AssemblyTitle("dnlib (thread safe)")]
#else
[assembly: AssemblyTitle("dnlib")]
#endif
[assembly: AssemblyDescription(".NET assembly reader/writer")]
[assembly: AssemblyConfiguration("")]
... | // dnlib: See LICENSE.txt for more info
using System.Reflection;
using System.Runtime.InteropServices;
#if THREAD_SAFE
[assembly: AssemblyTitle("dnlib (thread safe)")]
#else
[assembly: AssemblyTitle("dnlib")]
#endif
[assembly: AssemblyDescription(".NET assembly reader/writer")]
[assembly: AssemblyConfiguration("")]
... | mit | C# |
38013907719b297e9a3aa4840a0ffbce76bdf0b4 | bump assembly version | ssg/TurkishId | src/Properties/AssemblyInfo.cs | src/Properties/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(true)]
[assembly: AssemblyTitle("TurkishId")]
[assembly: AssemblyDescription("Turkish ID Number Validation Library")]
[assembly: AssemblyCompany("Sedat Kapanoglu")]
[assembly: AssemblyProduct("TurkishId")]
[assembly: ... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
[assembly: CLSCompliant(true)]
[assembly: AssemblyTitle("TurkishId")]
[assembly: AssemblyDescription("Turkish ID Number Validation Library")]
[assembly: AssemblyCompany("Sedat Kapanoglu")]
[assembly: AssemblyProduct("TurkishId")]
[assembly: ... | apache-2.0 | C# |
2f26bea83a509f20c2ac4b282b5e505d0e19fb50 | Update settings | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/Core/Settings.cs | src/Core/Settings.cs | using System;
using System.Net;
using Microsoft.Extensions.Configuration;
namespace Core
{
public class Settings
{
public string ConnectionString { get; private set; }
public string WebSiteTitle { get; private set; }
public string WebSiteUrl { get; private set; }
public strin... | using System;
using System.Net;
using Microsoft.Extensions.Configuration;
namespace Core
{
public class Settings
{
public string ConnectionString { get; private set; }
public string WebSiteTitle { get; private set; }
public string WebSiteUrl { get; private set; }
public strin... | mit | C# |
b0c8ef4effca42f522d6f3199fbadb6c989b127b | Fix for incorrect key class in Docs theme (#515) | Wyamio/Wyam,adamclifford/Wyam,adamclifford/Wyam,Wyamio/Wyam,Wyamio/Wyam,adamclifford/Wyam,adamclifford/Wyam,adamclifford/Wyam | themes/Docs/Samson/_Navbar.cshtml | themes/Docs/Samson/_Navbar.cshtml | @{
List<Tuple<string, string>> pages = Context
.Documents[Docs.Pages]
.Where(x => x.Bool(DocsKeys.ShowInNavbar, true))
.Where(x => x.FilePath(Keys.RelativeFilePath)?.FullPath?.StartsWith("index") == (bool?)false)
.Select(x => Tuple.Create(x.WithoutSettings.String(Keys.Title), Context... | @{
List<Tuple<string, string>> pages = Context
.Documents[Docs.Pages]
.Where(x => x.Bool(DocsKeys.ShowInNavbar, true))
.Where(x => x.FilePath(Keys.RelativeFilePath)?.FullPath?.StartsWith("index") == (bool?)false)
.Select(x => Tuple.Create(x.WithoutSettings.String(Keys.Title), Context... | mit | C# |
35f38b6fcdaa1343f0a629a1db7fc09553d20d0c | Change assembly version for release | githubpermutation/ChangeLoadingImage | ChangeLoadingImage/AssemblyInfo.cs | ChangeLoadingImage/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("ChangeLoadingImage1.0")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")... | using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("ChangeLoadingImage_beta")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("... | mit | C# |
ba77c2513d5216fb834d6dba58f069752f0eaf87 | Disable unit tests again | foxbot/Discord.Addons.EmojiTools,foxbot/Discord.Addons.EmojiTools | build.cake | build.cake | #addin nuget:?package=NuGet.Core&version=2.12.0
#addin "Cake.ExtendedNuGet"
var MyGetKey = EnvironmentVariable("MYGET_KEY");
string BuildNumber = EnvironmentVariable("TRAVIS_BUILD_NUMBER");
string Branch = EnvironmentVariable("TRAVIS_BRANCH");
ReleaseNotes Notes = null;
Task("Restore")
.Does(() =>
{
var setti... | #addin nuget:?package=NuGet.Core&version=2.12.0
#addin "Cake.ExtendedNuGet"
var MyGetKey = EnvironmentVariable("MYGET_KEY");
string BuildNumber = EnvironmentVariable("TRAVIS_BUILD_NUMBER");
string Branch = EnvironmentVariable("TRAVIS_BRANCH");
ReleaseNotes Notes = null;
Task("Restore")
.Does(() =>
{
var setti... | isc | C# |
502ab1396ce85171ce5e2efd568c98526e1dd6f1 | Fix cake scripts | jamesmontemagno/InAppBillingPlugin | build.cake | build.cake | #addin "Cake.FileHelpers"
var TARGET = Argument ("target", Argument ("t", "Default"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
var libraries = new Dictionary<string, string> {
{ "./src/InAppBilling.sln", "Any" },
};
var BuildAction = new Action<Dictionary<s... | #addin nuget:https://nuget.org/api/v2/?package=Cake.FileHelpers&version=1.0.3.2
#addin nuget:https://nuget.org/api/v2/?package=Cake.Xamarin&version=1.2.3
var TARGET = Argument ("target", Argument ("t", "Default"));
var version = EnvironmentVariable ("APPVEYOR_BUILD_VERSION") ?? Argument("version", "0.0.9999");
var li... | mit | C# |
5ba7a759862e7cfeefc1d4a65713834f0df6f773 | Fix incorrect version of Cake.Compression being specified | Zutatensuppe/DiabloInterface,Zutatensuppe/DiabloInterface | build.cake | build.cake | #addin nuget:?package=Cake.Compression&version=0.1.1
#addin nuget:?package=SharpZipLib&version=0.86.0
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var buildNumber = Argument("buildNumber", "0");
var buildDir = Directory("./artifacts");
var binDir = buildDir + Di... | #addin nuget:?package=Cake.Compression&version=0.86.0
#addin nuget:?package=SharpZipLib&version=0.86.0
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
var buildNumber = Argument("buildNumber", "0");
var buildDir = Directory("./artifacts");
var binDir = buildDir + D... | mit | C# |
0491fd581a4516bf55a1d474de40e893351553cb | Reduce the verbosity of the Restore. | UselessToucan/osu,johnneijzen/osu,DrabWeb/osu,peppy/osu,EVAST9919/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu-new,ZLima12/osu,ZLima12/osu,naoey/osu,NeoAdonis/osu,EVAST9919/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,naoey/osu,2yangk23/osu,naoey/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,peppy/osu,ppy/osu,smo... | build.cake | build.cake | #addin "nuget:?package=CodeFileSanity&version=0.0.21"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.2.2"
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////... | #addin "nuget:?package=CodeFileSanity&version=0.0.21"
#addin "nuget:?package=JetBrains.ReSharper.CommandLineTools&version=2018.2.2"
#tool "nuget:?package=NVika.MSBuild&version=1.0.1"
///////////////////////////////////////////////////////////////////////////////
// ARGUMENTS
///////////////////////////////////////////... | mit | C# |
71deebfb32cf984ac4ed29d3f087b7f3df80ad80 | Store sent date in UTC | IvionSauce/MeidoBot | Tell/TellEntry.cs | Tell/TellEntry.cs | using System;
using System.Runtime.Serialization;
[DataContract]
class TellEntry
{
[DataMember]
public readonly string From;
[DataMember]
public readonly string Message;
[DataMember]
public readonly DateTime SentDateUtc;
public TimeSpan ElapsedTime
{
get
{
... | using System;
using System.Runtime.Serialization;
[DataContract]
class TellEntry
{
[DataMember]
public readonly string From;
[DataMember]
public readonly string Message;
[DataMember]
public readonly DateTimeOffset SentDate;
public TimeSpan ElapsedTime
{
get
{
... | bsd-2-clause | C# |
01d46a808388ffe58b854b08a2dc5af7930f3326 | Update build.cake | geaz/coreDox,geaz/coreDox,geaz/coreDox | build.cake | build.cake | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////////////////////////////////////////////////... | //////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("configuration", "Release");
/////////////////////////////////////////////////////////////... | mit | C# |
3dc044203c2abf9c56106801e21fd11a5653a464 | Add 'side by side' support in Framework .NET 4.0 [SPRNET-1320] | spring-projects/spring-net,kvr000/spring-net,dreamofei/spring-net,likesea/spring-net,likesea/spring-net,spring-projects/spring-net,zi1jing/spring-net,djechelon/spring-net,kvr000/spring-net,dreamofei/spring-net,kvr000/spring-net,yonglehou/spring-net,spring-projects/spring-net,yonglehou/spring-net,likesea/spring-net,djec... | test/Spring/Spring.Core.Tests/AssemblyInfo.cs | test/Spring/Spring.Core.Tests/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
#if NET_4_0
[assembly: System.Security.SecurityRules(System.Security.SecurityRuleSet.Level1)]
#endif
[assembly: AssemblyTitle("Spring.Core Tests")]
[assembly: AssemblyDescription("Unit tests for Spring.Core assembly")]
| using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyTitle("Spring.Core Tests")]
[assembly: AssemblyDescription("Unit tests for Spring.Core assembly")]
| apache-2.0 | C# |
f514a74df4655add45a7b4d287034670847f41ec | Update version number | Yonom/CupCake | CupCake/Properties/AssemblyInfo.cs | CupCake/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("CupCake")]
[assembly: AssemblyDescriptio... | 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("CupCake")]
[assembly: AssemblyDescriptio... | mit | C# |
67d5572da7be4a6f08f7b2ce9801bed7e0ec7f45 | Update version number | Jericho/CakeMail.RestClient | CakeMail.RestClient/Properties/AssemblyInfo.cs | CakeMail.RestClient/Properties/AssemblyInfo.cs | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | using System.Reflection;
// 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("CakeMail.RestClient")]
[assembly: AssemblyDescription("CakeMail.RestClient is a... | mit | C# |
7fd0aba4c08808ab3be790bfd9887a2ab7cac9c5 | Make sure filename / href in document bundle are unique | digipost/signature-api-client-dotnet | Digipost.Signature.Api.Client.Core/Document.cs | Digipost.Signature.Api.Client.Core/Document.cs | using System;
using System.IO;
using Digipost.Signature.Api.Client.Core.Internal.Asice;
using Digipost.Signature.Api.Client.Core.Internal.Extensions;
namespace Digipost.Signature.Api.Client.Core
{
public class Document : IAsiceAttachable
{
public Document(string title, FileType fileType, string docume... | using System;
using System.IO;
using Digipost.Signature.Api.Client.Core.Internal.Asice;
using Digipost.Signature.Api.Client.Core.Internal.Extensions;
namespace Digipost.Signature.Api.Client.Core
{
public class Document : IAsiceAttachable
{
public Document(string title, FileType fileType, string docume... | apache-2.0 | C# |
4cbd2c8d00c801bd395cc24ed230d242be3bd8f4 | Add can delete property | CareerHub/.NET-CareerHub-API-Client,CareerHub/.NET-CareerHub-API-Client | Client/API/Trusted/Experiences/ExperienceModel.cs | Client/API/Trusted/Experiences/ExperienceModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerHub.Client.API.Trusted.Experiences {
public class ExperienceModel {
public int ID { get; set; }
public bool CanDelete { get; set; }
public string Title { get; set; }
public string... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CareerHub.Client.API.Trusted.Experiences {
public class ExperienceModel {
public int ID { get; set; }
public string Title { get; set; }
public string Organisation { get; set; }
public st... | mit | C# |
a74f7d19880941954424ad6c3c6236be44483586 | Use version-independent LocalDB | DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data,DevExpress/DevExtreme.AspNet.Data,AlekseyMartynov/DevExtreme.AspNet.Data | net/DevExtreme.AspNet.Data.Tests.EF6/TestDbContext.cs | net/DevExtreme.AspNet.Data.Tests.EF6/TestDbContext.cs | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DevExtreme.AspNet.Data.Tests.EF6 {
partial class TestDbContext : DbContext {
static readonly object LOCK = new object();
static TestDbContext INS... | using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DevExtreme.AspNet.Data.Tests.EF6 {
partial class TestDbContext : DbContext {
static readonly object LOCK = new object();
static TestDbContext INS... | mit | C# |
835471ebe73c7764a960182192855bd9757f969a | Update example in light of #142 being fixed. | bbqchickenrobot/rethinkdb-net,nkreipke/rethinkdb-net,LukeForder/rethinkdb-net,Ernesto99/rethinkdb-net,nkreipke/rethinkdb-net,kangkot/rethinkdb-net,Ernesto99/rethinkdb-net,bbqchickenrobot/rethinkdb-net,LukeForder/rethinkdb-net,kangkot/rethinkdb-net | Examples/RethinkDb.Examples.ConsoleApp/Person.cs | Examples/RethinkDb.Examples.ConsoleApp/Person.cs | using System;
using System.Runtime.Serialization;
namespace RethinkDb.Examples.ConsoleApp
{
[DataContract]
public class Person
{
public static IDatabaseQuery Db = Query.Db("test");
public static ITableQuery<Person> Table = Db.Table<Person>("people");
[DataMember(Name = "id", EmitDe... | using System;
using System.Runtime.Serialization;
namespace RethinkDb.Examples.ConsoleApp
{
[DataContract]
public class Person
{
public static IDatabaseQuery Db = Query.Db("test");
public static ITableQuery<Person> Table = Db.Table<Person>("people");
[DataMember(Name = "id", EmitDe... | apache-2.0 | C# |
4f925224be6e0c378ba37422e8b8aa8ec894c68f | Add some phone controls | dirty-casuals/LD38-A-Small-World | Assets/Scripts/Core/PlayerController.cs | Assets/Scripts/Core/PlayerController.cs | using UnityEngine;
public class PlayerController : MonoBehaviour {
[SerializeField]
private PaddleController _paddleController;
private float halfScreenHeight;
private void Start() {
halfScreenHeight = Screen.height / 2;
}
private void Update() {
float direction = 0.0f;... | using UnityEngine;
public class PlayerController : MonoBehaviour {
[SerializeField]
private PaddleController _paddleController;
private void Update() {
float direction = Input.GetAxis( "Vertical" );
_paddleController.Direction = direction;
}
}
| mit | C# |
22a556839bf9d8ccbcb7f2096c4098596ffeabae | add last name to short card representation | pashchuk/Hospital-MVVM- | Hospital/DesktopApp/ViewModel/CardViewModel.cs | Hospital/DesktopApp/ViewModel/CardViewModel.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using DesktopApp.Commands;
using DesktopApp.Model;
namespace DesktopApp.ViewModel
{
public class CardViewModel : ViewModelBase
{
private Card _card;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Input;
using DesktopApp.Commands;
using DesktopApp.Model;
namespace DesktopApp.ViewModel
{
public class CardViewModel : ViewModelBase
{
private Card _card;... | mit | C# |
85d7b54ebec61c1ecac86d48b284763b99f9d7df | add winforms project | urffin/MetaTagsChecker | MetaTagsChecker/MetaTagsChecker/Form1.Designer.cs | MetaTagsChecker/MetaTagsChecker/Form1.Designer.cs | namespace MetaTagsChecker
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... | namespace MetaTagsChecker
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// ... | mit | C# |
359d13c1e33391f75bf0a126ad6b11199071007b | Enumerate once, make it readonly | AnthonySteele/NuKeeper,NuKeeperDotNet/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,skolima/NuKeeper,AnthonySteele/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,skolima/NuKeeper,NuKeeperDotNet/NuKeeper,AnthonySteele/NuKeeper,AnthonySteele/NuKeeper | NuKeeper/RepositoryInspection/PackageUpdateSet.cs | NuKeeper/RepositoryInspection/PackageUpdateSet.cs | using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Packaging.Core;
using NuGet.Versioning;
namespace NuKeeper.RepositoryInspection
{
public class PackageUpdateSet
{
public PackageUpdateSet(PackageIdentity newPackage, IEnumerable<PackageInProject> currentPackages)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using NuGet.Packaging.Core;
using NuGet.Versioning;
namespace NuKeeper.RepositoryInspection
{
public class PackageUpdateSet
{
public PackageUpdateSet(PackageIdentity newPackage, IEnumerable<PackageInProject> currentPackages)
{
... | apache-2.0 | C# |
f3a1f50ec4735d700b475842fd52a7ace1f5241c | Update View.cs | win120a/ACClassRoomUtil,win120a/ACClassRoomUtil | PowerOnLogger/PowerOnLoggerManagmentTool/View.cs | PowerOnLogger/PowerOnLoggerManagmentTool/View.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
namespace PowerOnLoggerManagmentTool
{
public partial class View : Form
{
p... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
namespace PowerOnLoggerManagmentTool
{
public partial class View : Form
{
p... | apache-2.0 | C# |
8b04b3c37d3a2fc38ef511d1ea3a4698415b65b7 | bump version | raml-org/raml-dotnet-parser-2,raml-org/raml-dotnet-parser-2 | source/Raml.Parser/Properties/AssemblyInfo.cs | source/Raml.Parser/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("RAML.Parser")]
[assembly: AssemblyDescri... | 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("RAML.Parser")]
[assembly: AssemblyDescri... | apache-2.0 | C# |
1252c86245ed1c0b965caabf8a8a25f1458a88a1 | Use a unique guid for the OptionsPage (#872) | Microsoft/dotnet-apiport,mjrousos/dotnet-apiport,Microsoft/dotnet-apiport,Microsoft/dotnet-apiport,mjrousos/dotnet-apiport | src/ApiPort/ApiPort.VisualStudio/Views/OptionsPage.cs | src/ApiPort/ApiPort.VisualStudio/Views/OptionsPage.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Autofac.Features.OwnedInstances;
using Microsoft.VisualStudio.Shell;
using System;
using System.Runtime.InteropServices;
using System.Windows;
namespace ApiPort... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Autofac.Features.OwnedInstances;
using Microsoft.VisualStudio.Shell;
using System;
using System.Runtime.InteropServices;
using System.Windows;
namespace ApiPort... | mit | C# |
e721fce567772ef0c099fb01690b1ea8c280d312 | Fix CA1060: Move P/Invokes to NativeMethods class | olegtarasov/oxyplot,lynxkor/oxyplot,Mitch-Connor/oxyplot,ze-pequeno/oxyplot,svendu/oxyplot,jeremyiverson/oxyplot,shoelzer/oxyplot,freudenthal/oxyplot,jeremyiverson/oxyplot,shoelzer/oxyplot,lynxkor/oxyplot,svendu/oxyplot,Sbosanquet/oxyplot,as-zhuravlev/oxyplot_wpf_fork,objorke/oxyplot,bbqchickenrobot/oxyplot,br111an/oxy... | Source/Examples/WPF/WpfExamples/ScreenCapture.cs | Source/Examples/WPF/WpfExamples/ScreenCapture.cs | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ScreenCapture.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// ------------------------------------------------------------------------------... | // --------------------------------------------------------------------------------------------------------------------
// <copyright file="ScreenCapture.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// ------------------------------------------------------------------------------... | mit | C# |
d137f3bbf8cb9c4e051294b2a3521651e8e3c4cb | Cover all value types in IsPrimitive | mrahhal/MR.Augmenter,mrahhal/MR.Augmenter | src/MR.Augmenter/Internal/ReflectionHelper.cs | src/MR.Augmenter/Internal/ReflectionHelper.cs | using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
namespace MR.Augmenter.Internal
{
internal static class ReflectionHelper
{
public static List<Type> IncludeBaseTypes(Type type, bool withSelf = false)
{
var list = new List<Type>();
if (withSelf)
{
l... | using System;
using System.Collections;
using System.Collections.Generic;
using System.Reflection;
namespace MR.Augmenter.Internal
{
internal static class ReflectionHelper
{
public static List<Type> IncludeBaseTypes(Type type, bool withSelf = false)
{
var list = new List<Type>();
if (withSelf)
{
l... | mit | C# |
eeb3fcae070c840a92c846e614b641a6ea0155f5 | Update Dev12 ProjectProperties file for new xaml2cs.exe tool | zbrad/nuproj,faustoscardovi/nuproj,kovalikp/nuproj,PedroLamas/nuproj,NN---/nuproj,oliver-feng/nuproj,nuproj/nuproj,AArnott/nuproj,ericstj/nuproj | src/NuProj.Package/NuProjProjectProperties.cs | src/NuProj.Package/NuProjProjectProperties.cs | using System.ComponentModel.Composition;
using Microsoft.VisualStudio.ProjectSystem;
using Microsoft.VisualStudio.ProjectSystem.Properties;
using Microsoft.VisualStudio.ProjectSystem.Utilities;
namespace NuProj.ProjectSystem
{
/// <summary>
/// Provides rule-based property access.
/// </summary>
[Expo... | using System.ComponentModel.Composition;
using Microsoft.VisualStudio.ProjectSystem;
using Microsoft.VisualStudio.ProjectSystem.Properties;
using Microsoft.VisualStudio.ProjectSystem.Utilities;
namespace NuProj.ProjectSystem
{
/// <summary>
/// Provides rule-based property access.
/// </summary>
[Expo... | mit | C# |
9d1a4d2780340681ad795533e41b7a82e1b5a1ea | Replace Console Write with Log.Info | genius394/PogoLocationFeeder,5andr0/PogoLocationFeeder,5andr0/PogoLocationFeeder | PogoLocationFeeder/Readers/DiscordWebReader.cs | PogoLocationFeeder/Readers/DiscordWebReader.cs | using PogoLocationFeeder.Helper;
using System;
using System.IO;
using System.Net;
using System.Threading;
namespace PogoLocationFeeder
{
public class DiscordWebReader
{
WebClient wc { get; set; }
public Stream stream = null;
public DiscordWebReader()
{
InitializeW... | using PogoLocationFeeder.Helper;
using System;
using System.IO;
using System.Net;
using System.Threading;
namespace PogoLocationFeeder
{
public class DiscordWebReader
{
WebClient wc { get; set; }
public Stream stream = null;
public DiscordWebReader()
{
InitializeW... | agpl-3.0 | C# |
5d0e8f1d65adafb83e99bc140371263c317cdbbf | Change class access level | yamachu/Mastodot | Mastodot/Utils/MastodonJsonConverter.cs | Mastodot/Utils/MastodonJsonConverter.cs | using System;
using System.Reflection;
using Mastodot.Entities;
using Mastodot.Utils.JsonConverters;
using Newtonsoft.Json;
namespace Mastodot.Utils
{
internal class MastodonJsonConverter
{
public static T TryDeserialize<T>(string body)
{
var deserialized = JsonConvert.DeserializeO... | using System;
using System.Reflection;
using Mastodot.Entities;
using Mastodot.Utils.JsonConverters;
using Newtonsoft.Json;
namespace Mastodot.Utils
{
public class MastodonJsonConverter
{
public static T TryDeserialize<T>(string body)
{
var deserialized = JsonConvert.DeserializeObj... | mit | C# |
37e7e6d5851b0d819cf069b4d370312cea04e8bd | Add missing VTexFormat IA88 | SteamDatabase/ValveResourceFormat | ValveResourceFormat/Resource/Enums/VTexFormat.cs | ValveResourceFormat/Resource/Enums/VTexFormat.cs | using System;
namespace ValveResourceFormat
{
public enum VTexFormat
{
#pragma warning disable 1591
UNKNOWN = 0,
DXT1 = 1,
DXT5 = 2,
I8 = 3,
RGBA8888 = 4,
R16 = 5,
RG1616 = 6,
RGBA16161616 = 7,
R16F = 8,
RG1616F = 9,
RGBA16... | using System;
namespace ValveResourceFormat
{
public enum VTexFormat
{
#pragma warning disable 1591
UNKNOWN = 0,
DXT1 = 1,
DXT5 = 2,
I8 = 3,
RGBA8888 = 4,
R16 = 5,
RG1616 = 6,
RGBA16161616 = 7,
R16F = 8,
RG1616F = 9,
RGBA16... | mit | C# |
5f09fa49d2916e704061a921379d988d7bdc828d | Resolve another rebasing error | Xeeynamo/KingdomHearts | OpenKh.Tools.CtdEditor/App.xaml.cs | OpenKh.Tools.CtdEditor/App.xaml.cs | using System.Windows;
namespace OpenKh.Tools.CtdEditor
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
| using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
<<<<<<< HEAD:OpenKh.Tools.CtdEditor/App.xaml.cs
namespace OpenKh.Tools.CtdEditor
=======
namespace OpenKh.Tools.Kh2BattleEditor
>>>>>>> 1dafc52c7e4bcd9a... | mit | C# |
289446b412b6a45e1c8820bccb6e6b8478b8b1af | stop response | kheiakiyama/pomodoro-bot,kheiakiyama/pomodoro-bot,kheiakiyama/pomodoro-bot | PomodoroBot/Command/StopCommand.cs | PomodoroBot/Command/StopCommand.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Bot.Connector;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.FormFlow;
using PomodoroBot.Models;
using Microsoft.WindowsAzure.Storage.Queue;
using Newtonsoft.Json;
usin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Bot.Connector;
using Microsoft.Bot.Builder.Dialogs;
using Microsoft.Bot.Builder.FormFlow;
using PomodoroBot.Models;
using Microsoft.WindowsAzure.Storage.Queue;
using Newtonsoft.Json;
usin... | mit | C# |
ab14d4c7c82a1e8f8991e60134ce0f823815204e | Fix insufficient path buffer size for SymbolicLinkReparseData structure | michaelmelancon/symboliclinksupport | SymbolicLinkSupport/SymbolicLinkReparseData.cs | SymbolicLinkSupport/SymbolicLinkReparseData.cs | using System.Runtime.InteropServices;
namespace SymbolicLinkSupport
{
/// <remarks>
/// Refer to http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012%28v=vs.85%29.aspx
/// </remarks>
[StructLayout(LayoutKind.Sequential)]
internal struct SymbolicLinkReparseData
{
// Not cer... | using System.Runtime.InteropServices;
namespace SymbolicLinkSupport
{
/// <remarks>
/// Refer to http://msdn.microsoft.com/en-us/library/windows/hardware/ff552012%28v=vs.85%29.aspx
/// </remarks>
[StructLayout(LayoutKind.Sequential)]
internal struct SymbolicLinkReparseData
{
// Not cer... | mit | C# |
ae135eaeb7bfc93b9a9e5fa0cb66a4149e7c1502 | bump to 1.12.5 | Terradue/DotNetOpenSearch | Terradue.OpenSearch/Properties/AssemblyInfo.cs | Terradue.OpenSearch/Properties/AssemblyInfo.cs | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | /*
* Copyright (C) 2010-2014 Terradue S.r.l.
*
* This file is part of Terradue.OpenSearch.
*
* Foobar is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation... | agpl-3.0 | C# |
ddbd78bf5f3c4296c73e7e3ec967c314b1ad10e4 | Edit using | bolorundurowb/vCardLib | vCardLib.Tests/ModelTests/PhoneNumberTests.cs | vCardLib.Tests/ModelTests/PhoneNumberTests.cs | // Created by Bolorunduro Winner-Timothy on 11/22/2016 at 5:38 AM
using NUnit.Framework;
using vCardLib.Enums;
using vCardLib.Models;
namespace vCardLib.Tests.ModelTests
{
[TestFixture]
public class PhoneNumberTests
{
[Test]
public void PhoneNumberIsStable()
{
Assert.DoesNotThrow(delegate
{
var p... | // Created by Bolorunduro Winner-Timothy on 11/22/2016 at 5:38 AM
using NUnit.Framework;
using vCardLib.Models;
namespace vCardLib.Tests.ModelTests
{
[TestFixture]
public class PhoneNumberTests
{
[Test]
public void PhoneNumberIsStable()
{
Assert.DoesNotThrow(delegate
{
var phoneNumber = new Phone... | mit | C# |
ce05f3227d0f42cb4deac505872c79b28c116d3a | Increment and Decrement with 0 does not send any data. | landaumedia/landaumedia-telemetry | Source/LandauMedia.Telemetry/Counter.cs | Source/LandauMedia.Telemetry/Counter.cs | using System;
using LandauMedia.Telemetry.Internal;
namespace LandauMedia.Telemetry
{
public class Counter : ITelemeter
{
readonly Lazy<string> _lazyName;
Action<Lazy<string>, int> _decrement;
Action<Lazy<string>> _decrementByOne;
Action<Lazy<string>, int> _icnremnent;... | using System;
using LandauMedia.Telemetry.Internal;
namespace LandauMedia.Telemetry
{
public class Counter : ITelemeter
{
readonly Lazy<string> _lazyName;
Action<Lazy<string>, int> _decrement;
Action<Lazy<string>> _decrementByOne;
Action<Lazy<string>, int> _icnremnent;
A... | mit | C# |
2c35d33aab22313056089b20c08542efc646e02d | Change case of user id property | loicteixeira/gj-unity-api | Assets/Plugins/GameJolt/Scripts/Objects/Score.cs | Assets/Plugins/GameJolt/Scripts/Objects/Score.cs | using System;
using GJAPI.External.SimpleJSON;
namespace GJAPI.Objects
{
public class Score : Base
{
#region Fields & Properties
public int Value { get; set; }
public string Text { get; set; }
public string Extra { get; set; }
public string Time { get; set; }
public int UserID { get; set; }
public st... | using System;
using GJAPI.External.SimpleJSON;
namespace GJAPI.Objects
{
public class Score : Base
{
#region Fields & Properties
public int Value { get; set; }
public string Text { get; set; }
public string Extra { get; set; }
public string Time { get; set; }
public int UserId { get; set; }
public st... | mit | C# |
e1f2e6a5a9c4c49536eff838a1e17b95ff8c3035 | Add 'count' variable to PlayerController & increment on collision with 'Pick Up' objects | compumike08/Roll-a-Ball | Assets/Scripts/PlayerController.cs | Assets/Scripts/PlayerController.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
public float speed;
private Rigidbody rb;
private int count;
// Start is called during the first frame that this script is accessed during the game
void Start ()
{
rb = GetComponen... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerController : MonoBehaviour {
public float speed;
private Rigidbody rb;
// Start is called during the first frame that this script is accessed during the game
void Start ()
{
rb = GetComponent<Rigidbody> ();
}
... | mit | C# |
7cd212b7d04ab09a4d74134a071f6d0de1d15de3 | Remove code duplication from TorInstallator. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Tor/TorInstallator.cs | WalletWasabi/Tor/TorInstallator.cs | using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Tor
{
/// <summary>
/// Installs Tor from <c>data-folder.zip</c> and <c>tor-PLATFORM.zip</c> files which are part of Wasabi Wallet distribution.
/// </s... | using System.IO;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using WalletWasabi.Helpers;
using WalletWasabi.Logging;
namespace WalletWasabi.Tor
{
/// <summary>
/// Installs Tor from <c>data-folder.zip</c> and <c>tor-PLATFORM.zip</c> files which are part of Wasabi Wallet distribution.
/// </s... | mit | C# |
b23e99f01a4e5530e173c5071c7a5c317b55196a | Add property to DevSettings | AVPolyakov/SharpLayout | Watcher/WatcherSettingsProvider.cs | Watcher/WatcherSettingsProvider.cs | using System.Runtime.CompilerServices;
using SharpLayout;
using SharpLayout.WatcherCore;
namespace Watcher
{
public class WatcherSettingsProvider
{
private static DevSettings GetDevSettings()
{
return new DevSettings {
SourceCodeFile = SourceCodeFiles.PaymentOrder,
... | using System.Runtime.CompilerServices;
using SharpLayout;
using SharpLayout.WatcherCore;
namespace Watcher
{
public class WatcherSettingsProvider
{
private static DevSettings GetDevSettings()
{
return new DevSettings {
SourceCodeFile = SourceCodeFiles.PaymentOrder,
... | mit | C# |
b84aa63b4b159321ce7d64884caa9c46af885177 | Change instance from Motor to Object in test case | budougumi0617/CSharpTraining | XUnitSample.Tests/MainClassTest.cs | XUnitSample.Tests/MainClassTest.cs | using System;
using CSharpTraining;
using MonoBrickFirmware.Movement;
namespace XUnitSample.Tests
{
/// <summary>
/// Sample test class
/// </summary>
/// <remarks>
/// It was described below URL how to use XUnit
/// https://xunit.github.io/docs/comparisons.html
/// </remarks>
public class MainClassTests
{
... | using System;
using CSharpTraining;
using MonoBrickFirmware.Movement;
namespace XUnitSample.Tests
{
/// <summary>
/// Sample test class
/// </summary>
/// <remarks>
/// It was described below URL how to use XUnit
/// https://xunit.github.io/docs/comparisons.html
/// </remarks>
public class MainClassTests
{
... | mit | C# |
d13207e17d1eed867cd04b94f87543e89463724b | Add parameter to GetOriginalPosts method | DotNetRu/App,DotNetRu/App | DotNetRu.AzureService/Controllers/VkontakteController.cs | DotNetRu.AzureService/Controllers/VkontakteController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DotNetRu.AzureService;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace DotNetRu.Azure
{
[Route("")]
public class Vkontakte... | using System;
using System.Threading.Tasks;
using DotNetRu.AzureService;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
namespace DotNetRu.Azure
{
[Route("")]
public class VkontakteController : ControllerBase
{
private rea... | mit | C# |
b1f39cd8251518162b48da32a09b1b349d2934d8 | Remove unused import. | SonnevilleJ/Investing,SonnevilleJ/FidelityWebDriver,SonnevilleJ/Investing | FidelityWebDriver/Transactions/CSV/CsvDownloadService.cs | FidelityWebDriver/Transactions/CSV/CsvDownloadService.cs | using System.IO;
using Sonneville.FidelityWebDriver.Configuration;
using Sonneville.Utilities;
namespace Sonneville.FidelityWebDriver.Transactions.CSV
{
public class CsvDownloadService : ICsvDownloadService
{
private readonly FidelityConfiguration _fidelityConfiguration;
private readonly ISlee... | using System.IO;
using System.Threading;
using Sonneville.FidelityWebDriver.Configuration;
using Sonneville.Utilities;
namespace Sonneville.FidelityWebDriver.Transactions.CSV
{
public class CsvDownloadService : ICsvDownloadService
{
private readonly FidelityConfiguration _fidelityConfiguration;
... | mit | C# |
5baf93e8d33e405d414a51d37c76700ff90e1cc2 | Put AggressiveInline attribute similar to ValueTask. | rsdn/CodeJam | CodeJam.Main/Threading/AwaitableNonDisposable.cs | CodeJam.Main/Threading/AwaitableNonDisposable.cs | // BASEDON: https://github.com/StephenCleary/AsyncEx AwaitableDisposable class.
using System;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
using static CodeJam.Targeting.MethodImplOptionsExt;
namespace CodeJam.Threading
{
/// <summary>
/// An awaitable wrapper ... | // BASEDON: https://github.com/StephenCleary/AsyncEx AwaitableDisposable class.
using System;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;
using JetBrains.Annotations;
namespace CodeJam.Threading
{
/// <summary>
/// An awaitable wrapper around a task whose result is <see cref="IDisposable"/... | mit | C# |
0356160f1d7611e314f1603808b7cf97ef020dbc | Make sure when we can't find an item to select we select none | MatterHackers/agg-sharp,larsbrubaker/agg-sharp | DataConverters3D/Object3D/SelectionMaintainer.cs | DataConverters3D/Object3D/SelectionMaintainer.cs | /*
Copyright (c) 2018, John Lewin, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | /*
Copyright (c) 2018, John Lewin, Lars Brubaker
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and... | bsd-2-clause | C# |
1250588a8891a6265ea7d3c643088f09e715267e | remove use of USE_GENERICS in PersistentComparator.cs | ingted/volante,kjk/volante-obsolete,kjk/volante-obsolete,ingted/volante,kjk/volante-obsolete,ingted/volante,ingted/volante,kjk/volante-obsolete | csharp/src/PersistentComparator.cs | csharp/src/PersistentComparator.cs | namespace NachoDB
{
/// <summary> Base class for persistent comparator used in SortedCollection class
/// </summary>
public abstract class PersistentComparator<K,V> : Persistent where V:class,IPersistent
{
/// <summary>
/// Compare two members of collection
/// </summary... | namespace NachoDB
{
/// <summary> Base class for persistent comparator used in SortedCollection class
/// </summary>
#if USE_GENERICS
public abstract class PersistentComparator<K,V> : Persistent where V:class,IPersistent
#else
public abstract class PersistentComparator : Persistent
#endif
{
... | mit | C# |
a0e7623f945fbe205857de154a1bc1dd971359ac | Fix build | ArsenShnurkov/Eto.Parse,ArsenShnurkov/Eto.Parse,picoe/Eto.Parse,smbecker/Eto.Parse,picoe/Eto.Parse,smbecker/Eto.Parse | Eto.Parse/Parsers/SingleSurrogatePairTerminal.cs | Eto.Parse/Parsers/SingleSurrogatePairTerminal.cs | using System;
namespace Eto.Parse.Parsers
{
public class SingleSurrogatePairTerminal : SurrogatePairTerminal
{
private const int MinCodePoint = 0x10000;
private const int MaxCodePoint = 0x10FFFF;
private readonly char _lowSurrogate;
private readonly char _highSurrogate;
... | using System;
namespace Eto.Parse.Parsers
{
public class SingleSurrogatePairTerminal : SurrogatePairTerminal
{
private const int MinCodePoint = 0x10000;
private const int MaxCodePoint = 0x10FFFF;
private readonly char _lowSurrogate;
private readonly char _highSurrogate;
... | mit | C# |
02e8dd015440e204cecbe5c81c21e102184a3a50 | add sound when jump dead and score using sound manager | endlessz/Flappy-Cube | Assets/Scripts/Player.cs | Assets/Scripts/Player.cs | using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
public class Player : MonoBehaviour {
[Header("Movement of the player")]
public float jumpHeight;
public float forwardSpeed;
[Header("Sound Effect")]
public AudioClip deadSound; //Dead sound
public AudioClip moveSound; //Jump sound
... | using UnityEngine;
using System.Collections;
using UnityEngine.EventSystems;
public class Player : MonoBehaviour {
[Header("Movement of the player")]
public float jumpHeight;
public float forwardSpeed;
private Rigidbody2D mainRigidbody2D;
void Start()
{
mainRigidbody2D = GetComponent<Rigidbody2D> ();
mai... | mit | C# |
0e3259f35056433d5a148b8e8a69dd2a5c523eea | fix prefix detection | tmyt/Freesia | Freesia/Internal/CodeCompletion.cs | Freesia/Internal/CodeCompletion.cs | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Freesia.Internal.Extensions;
using Freesia.Internal.Reflection;
using Freesia.Types;
namespace Freesia.Internal
{
internal class CodeCompletion<T> : CompilerConfig<T>
{
public static IEnumerable<string> Completion(stri... | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Freesia.Internal.Extensions;
using Freesia.Internal.Reflection;
using Freesia.Types;
namespace Freesia.Internal
{
internal class CodeCompletion<T> : CompilerConfig<T>
{
public static IEnumerable<string> Completion(stri... | mit | C# |
a6e69c34d34a37f95b64fb27b0fdc3d1b0e9e246 | change assembly title | Lone-Coder/letsencrypt-win-simple | letsencrypt-win-simple/Properties/AssemblyInfo.cs | letsencrypt-win-simple/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("wacs.exe")]
[assembly: AssemblyDescripti... | 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("letsencrypt.exe")]
[assembly: AssemblyDe... | apache-2.0 | C# |
80e97b90906862d9f37f080576c81d14668e8b4f | Fix binary exercise. Closes #71 | ErikSchierboom/xcsharp,exercism/xcsharp,GKotfis/csharp,GKotfis/csharp,robkeim/xcsharp,robkeim/xcsharp,ErikSchierboom/xcsharp,exercism/xcsharp | exercises/binary/BinaryTest.cs | exercises/binary/BinaryTest.cs | using NUnit.Framework;
[TestFixture]
public class BinaryTest
{
// change Ignore to false to run test case or just remove 'Ignore = true'
[TestCase("1", ExpectedResult = 1)]
[TestCase("10", ExpectedResult = 2, Ignore = "Remove to run test case")]
[TestCase("11", ExpectedResult = 3, Ignore = "Remove to r... | using NUnit.Framework;
[TestFixture]
public class BinaryTest
{
// change Ignore to false to run test case or just remove 'Ignore = true'
[TestCase("1", ExpectedResult = 1)]
[TestCase("10", ExpectedResult = 2, Ignore = "Remove to run test case")]
[TestCase("11", ExpectedResult = 3, Ignore = "Remove to r... | mit | C# |
19c4fe54f061f911895d04c2212c4ae137031e99 | Remove lokal test | secana/PeNet | test/PeNet.Test/PeFile_Test.cs | test/PeNet.Test/PeFile_Test.cs | using System.Linq;
using Newtonsoft.Json.Linq;
using Xunit;
namespace PeNet.Test
{
public class PeFileTest
{
[Theory]
[InlineData(@"Binaries/firefox_x64.exe", true)]
[InlineData(@"Binaries/firefox_x86.exe", true)]
[InlineData(@"Binaries/NetFrameworkConsole.exe", true)]
... | using System.Linq;
using Newtonsoft.Json.Linq;
using Xunit;
namespace PeNet.Test
{
public class PeFileTest
{
[Theory]
[InlineData(@"Binaries/firefox_x64.exe", true)]
[InlineData(@"Binaries/firefox_x86.exe", true)]
[InlineData(@"Binaries/NetFrameworkConsole.exe", true)]
... | apache-2.0 | C# |
f9856dd3d1f8edc4828c84180c4812f9981544a0 | Fix zip download to be non-blocking | atifaziz/WebLinq,weblinq/WebLinq,weblinq/WebLinq,atifaziz/WebLinq | src/Core/Zip/ZipQuery.cs | src/Core/Zip/ZipQuery.cs | #region Copyright (c) 2016 Atif Aziz. 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 by ap... | #region Copyright (c) 2016 Atif Aziz. 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 by ap... | apache-2.0 | C# |
c63a644639d00557c04a0d4d560e302a85ce62ee | Use Checker helper class | solr-express/solr-express,ca0abinary/solr-express | src/SolrExpress.Solr4/Query/Result/StatisticResult.cs | src/SolrExpress.Solr4/Query/Result/StatisticResult.cs | using Newtonsoft.Json.Linq;
using SolrExpress.Core;
using SolrExpress.Core.Query.Result;
using System;
namespace SolrExpress.Solr4.Query.Result
{
/// <summary>
/// Statistic data builder
/// </summary>
public sealed class StatisticResult<TDocument> : IStatisticResult<TDocument>, IConvertJsonObject
... | using Newtonsoft.Json.Linq;
using SolrExpress.Core;
using SolrExpress.Core.Query.Result;
using System;
namespace SolrExpress.Solr4.Query.Result
{
/// <summary>
/// Statistic data builder
/// </summary>
public sealed class StatisticResult<TDocument> : IStatisticResult<TDocument>, IConvertJsonObject
... | mit | C# |
e55186d43e3a23021ef31a76fb822cffcc61a12a | Fix - accept HelloAckSyn for unknown bots (missing file) | lontivero/DreamBot,lontivero/vinchuca | Network/Protocol/Peers/PeerInfo.cs | Network/Protocol/Peers/PeerInfo.cs | using System;
using System.Net;
using Vinchuca.System;
namespace Vinchuca.Network.Protocol.Peers
{
public class PeerInfo
{
public PeerInfo(BotIdentifier botId, IPEndPoint endpoint)
{
BotId = botId;
EndPoint = endpoint;
LastSeen = DateTimeProvider.UtcNow;
... | using System;
using System.Net;
using Vinchuca.System;
namespace Vinchuca.Network.Protocol.Peers
{
public class PeerInfo
{
public PeerInfo(BotIdentifier botId, IPEndPoint endpoint)
{
BotId = botId;
EndPoint = endpoint;
LastSeen = DateTimeProvider.UtcNow;
... | mit | C# |
f88113c84e4373125caa0ee534243fc07655109f | Initialize ConnectionFactory.HostName (#1404) | micdenny/EasyNetQ,EasyNetQ/EasyNetQ | Source/EasyNetQ/DI/ConnectionFactoryFactory.cs | Source/EasyNetQ/DI/ConnectionFactoryFactory.cs | using RabbitMQ.Client;
namespace EasyNetQ.DI;
internal static class ConnectionFactoryFactory
{
public static IConnectionFactory CreateConnectionFactory(ConnectionConfiguration configuration)
{
Preconditions.CheckNotNull(configuration, nameof(configuration));
var connectionFactory = new Connec... | using RabbitMQ.Client;
namespace EasyNetQ.DI;
internal static class ConnectionFactoryFactory
{
public static IConnectionFactory CreateConnectionFactory(ConnectionConfiguration configuration)
{
Preconditions.CheckNotNull(configuration, nameof(configuration));
var connectionFactory = new Connec... | mit | C# |
2f296c59c57253eba721250fd977bf3b478346ac | handle gzip encoding | DeonHeyns/Metrics.NET,huoxudong125/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,Recognos/Metrics.NET,etishor/Metrics.NET,DeonHeyns/Metrics.NET,Liwoj/Metrics.NET,etishor/Metrics.NET,alhardy/Metrics.NET,ntent-ad/Metrics.NET,cvent/Metrics.NET,ntent-ad/Metrics.NET,MetaG8/Metrics.NET,Liwoj/Metrics.NET,cvent/Metrics.NE... | Src/Metrics/RemoteMetrics/HttpRemoteMetrics.cs | Src/Metrics/RemoteMetrics/HttpRemoteMetrics.cs | using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Metrics.Json;
namespace Metrics.RemoteMetrics
{
public static class HttpRemoteMetrics
{
private class CustomClient : WebClient
{
protected override WebRequest GetWebRequest(Uri address)
... | using System;
using System.Net;
using System.Threading;
using System.Threading.Tasks;
using Metrics.Json;
namespace Metrics.RemoteMetrics
{
public static class HttpRemoteMetrics
{
public static async Task<JsonMetricsContext> FetchRemoteMetrics(Uri remoteUri, Func<string, JsonMetricsContext> deserializ... | apache-2.0 | C# |
50f981e5b4d3677df6c1848ed6747b4b78522c23 | use unix style path for command line | etishor/Metrics.NET,alhardy/Metrics.NET,mnadel/Metrics.NET,etishor/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,huoxudong125/Metrics.NET,alhardy/Metrics.NET,huoxudong125/Metrics.NET,cvent/Metrics.NET,Recognos/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,cvent/Metrics.NET,Liwoj/Metrics.NET,MetaG8/Metrics.... | Src/Metrics/PerfCounters/SystemInfo.cs | Src/Metrics/PerfCounters/SystemInfo.cs |
using System;
namespace Metrics.PerfCounters
{
public class SystemInfo : BaseCounterRegristry
{
public SystemInfo(MetricsRegistry registry, string prefix)
: base(registry, prefix) { }
public void Register()
{
Register("MachineName", () => Environment.MachineNam... |
using System;
namespace Metrics.PerfCounters
{
public class SystemInfo : BaseCounterRegristry
{
public SystemInfo(MetricsRegistry registry, string prefix)
: base(registry, prefix) { }
public void Register()
{
Register("MachineName", () => Environment.MachineNam... | apache-2.0 | C# |
4f895f6fc2bc9bdb10e626cd399027b8b14f0ec5 | Add another test | m-ender/retina,m-ender/retina,mbuettner/retina | Retina/RetinaTest/EvalStageTest.cs | Retina/RetinaTest/EvalStageTest.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace RetinaTest
{
[TestClass]
public class EvalStageTest : RetinaTestBase
{
[TestMethod]
public void TestEval()
{
AssertProgram(new TestSuite
{
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
namespace RetinaTest
{
[TestClass]
public class EvalStageTest : RetinaTestBase
{
[TestMethod]
public void TestEval()
{
AssertProgram(new TestSuite
{
... | mit | C# |
88066c546d826b00f361e91df9f9591fce549a2c | Remove .NET limit on env var name and value length | wtgodbe/coreclr,mmitche/coreclr,wtgodbe/coreclr,ruben-ayrapetyan/coreclr,mmitche/coreclr,yizhang82/coreclr,cshung/coreclr,mmitche/coreclr,poizan42/coreclr,wtgodbe/coreclr,yizhang82/coreclr,cshung/coreclr,mmitche/coreclr,ruben-ayrapetyan/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,p... | src/mscorlib/shared/Interop/Windows/Interop.Errors.cs | src/mscorlib/shared/Interop/Windows/Interop.Errors.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.
internal partial class Interop
{
// As defined in winerror.h and https://msdn.microsoft.com/en-us/library/window... | // 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.
internal partial class Interop
{
// As defined in winerror.h and https://msdn.microsoft.com/en-us/library/window... | mit | C# |
0da950beac62018f4edaecf14b1996df40b75993 | Fix KeyCounter M1 M2 display. | ZLima12/osu,peppy/osu,2yangk23/osu,tacchinotacchi/osu,smoogipooo/osu,nyaamara/osu,NeoAdonis/osu,EVAST9919/osu,DrabWeb/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,DrabWeb/osu,johnneijzen/osu,ppy/osu,Damnae/osu,UselessToucan/osu,naoey/osu,osu-RP/osu-RP,Nabile-Rahmani/osu,Drezi126/osu,DrabWeb/osu,smoogipoo/osu,peppy/osu,nao... | osu.Game/Screens/Play/KeyCounterMouse.cs | osu.Game/Screens/Play/KeyCounterMouse.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Input;
using OpenTK;
using OpenTK.Input;
namespace osu.Game.Screens.Play
{
public class KeyCounterMouse : KeyCounter
{
p... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using osu.Framework.Input;
using OpenTK;
using OpenTK.Input;
namespace osu.Game.Screens.Play
{
public class KeyCounterMouse : KeyCounter
{
p... | mit | C# |
c7ce08f76d7836b9c17bbf7d96de3eca73888223 | Change CAT slide sounds. | fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game,fr1tz/rotc-ethernet-game | game/server/base/cats.sfx.cs | game/server/base/cats.sfx.cs | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright notices are in the file named COPYING.
//------------------------------------------------------------------------------
//----------------------------------------------------------------------... | //------------------------------------------------------------------------------
// Revenge Of The Cats: Ethernet
// Copyright notices are in the file named COPYING.
//------------------------------------------------------------------------------
//----------------------------------------------------------------------... | lgpl-2.1 | C# |
40b9040bea40d0731e65ce4dbeaa0f783fb60207 | Update assembly version to match pom.xml | caseykramer/libphonenumber-csharp,caseykramer/libphonenumber-csharp,caseykramer/libphonenumber-csharp,caseykramer/libphonenumber-csharp,caseykramer/libphonenumber-csharp,caseykramer/libphonenumber-csharp,caseykramer/libphonenumber-csharp | csharp/PhoneNumbers/Properties/AssemblyInfo.cs | csharp/PhoneNumbers/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: AssemblyTi... | 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: AssemblyTi... | apache-2.0 | C# |
7fc8df725353daeb7db8a6b07846a3d19f77ff7a | Fix NPE in ModPacket.Send when broadcasting | peteyus/tModLoader,peteyus/tModLoader,peteyus/tModLoader,peteyus/tModLoader | patches/tModLoader/Terraria.ModLoader/ModPacket.cs | patches/tModLoader/Terraria.ModLoader/ModPacket.cs | using System;
using System.IO;
namespace Terraria.ModLoader
{
public sealed class ModPacket : BinaryWriter
{
private byte[] buf;
private ushort len;
internal ModPacket(byte messageID, int capacity = 256) : base(new MemoryStream(capacity)) {
Write((ushort)0);
Write(messageID);
}
public void Send(in... | using System;
using System.IO;
namespace Terraria.ModLoader
{
public sealed class ModPacket : BinaryWriter
{
private byte[] buf;
private ushort len;
internal ModPacket(byte messageID, int capacity = 256) : base(new MemoryStream(capacity)) {
Write((ushort)0);
Write(messageID);
}
public void Send(in... | mit | C# |
c35af93edd533301dc999a0fae0384ac2f65167f | clear register room | jona8690/Project-Exam | RoomReservationSystem/UI.GUI/View/RegisterRoom.xaml.cs | RoomReservationSystem/UI.GUI/View/RegisterRoom.xaml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... | mit | C# |
203973d42004b810d8f5310e103c3e54b4b38c96 | Add platform init calls for UWP | Redth/ZXing.Net.Mobile | Samples/Sample.Forms/Sample.Forms.UWP/MainPage.xaml.cs | Samples/Sample.Forms/Sample.Forms.UWP/MainPage.xaml.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Controls.Primitives;
using Windows.UI.Xam... | apache-2.0 | C# |
a75306acbd85b66d797e76543e294aea97b4fd60 | Remove warnings from MdProvider | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/extractor/Semmle.Extraction.CIL/PDB/MdProvider.cs | csharp/extractor/Semmle.Extraction.CIL/PDB/MdProvider.cs | using System;
using Microsoft.DiaSymReader;
using System.Reflection;
#pragma warning disable IDE0060, CA1822
namespace Semmle.Extraction.PDB
{
/// <summary>
/// This is not used but is seemingly needed in order to use DiaSymReader.
/// </summary>
internal class MdProvider : ISymReaderMetadataProvider
... | using System;
using Microsoft.DiaSymReader;
using System.Reflection;
namespace Semmle.Extraction.PDB
{
/// <summary>
/// This is not used but is seemingly needed in order to use DiaSymReader.
/// </summary>
internal class MdProvider : ISymReaderMetadataProvider
{
public MdProvider()
... | mit | C# |
2bdc7123a767ee5e057d5e78a041e59dc96c9df5 | Switch to version 1.2.10 | Abc-Arbitrage/Zebus,Abc-Arbitrage/Zebus.Directory | src/SharedVersionInfo.cs | src/SharedVersionInfo.cs | using System.Reflection;
[assembly: AssemblyVersion("1.2.10")]
[assembly: AssemblyFileVersion("1.2.10")]
[assembly: AssemblyInformationalVersion("1.2.10")] | using System.Reflection;
[assembly: AssemblyVersion("1.2.9")]
[assembly: AssemblyFileVersion("1.2.9")]
[assembly: AssemblyInformationalVersion("1.2.9")] | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.