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 |
|---|---|---|---|---|---|---|---|---|
e15206996e506b4326fb72df949fc4a8f5ece474 | modify page size | Yhgenomics/MaratonBusiness,Yhgenomics/MaratonBusiness,Yhgenomics/MaratonBusiness | MRTBusiness/Models/Pagination.cs | MRTBusiness/Models/Pagination.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MRTBusiness.Models
{
public class Pagination
{
public Pagination()
{
PageSize = 20;
HasNextPage = true;
HasPreviewPage = true;
}
private int Total... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MRTBusiness.Models
{
public class Pagination
{
public Pagination()
{
PageSize = 10;
HasNextPage = true;
HasPreviewPage = true;
}
private int Total... | apache-2.0 | C# |
95157a4c127309787e6c08b3c7b5f9fd35a6bdd7 | Fix crash in no claim apply rules | leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net | Joinrpg/Models/AddClaimViewModel.cs | Joinrpg/Models/AddClaimViewModel.cs | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using JoinRpg.DataModel;
using JoinRpg.Web.Helpers;
namespace JoinRpg.Web.Models
{
public class AddClaimViewModel
{
public int ProjectId { get; set; }
public string ProjectName { get; set; }
... | using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using JoinRpg.DataModel;
using JoinRpg.Web.Helpers;
namespace JoinRpg.Web.Models
{
public class AddClaimViewModel
{
public int ProjectId { get; set; }
public string ProjectName { get; set; }
... | mit | C# |
b3dde83f915f1caccd6bf10a7b355a5c23ab1c11 | Update AssemblyInfo.cs | mcintyre321/Noodles,mcintyre321/Noodles | Noodles.WebApi/Properties/AssemblyInfo.cs | Noodles.WebApi/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("No... | 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("No... | mit | C# |
7154e17df0d10e86e5d7dd8c8b96ba003c396a03 | fix autoupdater (#1493) | rmillikin/MetaMorpheus,smith-chem-wisc/MetaMorpheus,lonelu/MetaMorpheus,zrolfs/MetaMorpheus,lschaffer2/MetaMorpheus | GUI/Util/GuiGlobalParams.cs | GUI/Util/GuiGlobalParams.cs | namespace MetaMorpheusGUI
{
class GuiGlobalParams
{
public bool AskAboutUpdating { get; internal set; } = true;
public bool DisableCloseWindow { get; internal set; } = false;
}
} | namespace MetaMorpheusGUI
{
class GuiGlobalParams
{
public bool AskAboutUpdating { get; internal set; }
public bool DisableCloseWindow { get; internal set; }
}
} | mit | C# |
089535bdae434edd166aa9f0aa3da662acdf791c | Update Home.cs | NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework,NakedObjectsGroup/NakedObjectsFramework | Test/NakedObjects.Rest.Test.EndToEnd/Home.cs | Test/NakedObjects.Rest.Test.EndToEnd/Home.cs | // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | // Copyright © Naked Objects Group Ltd ( http://www.nakedobjects.net).
// All Rights Reserved. This code released under the terms of the
// Microsoft Public License (MS-PL) ( http://opensource.org/licenses/ms-pl.html)
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RestfulObjects.Test.EndToEnd {
... | apache-2.0 | C# |
ddd9262384b2fe92d3df8111a15dbe66fed211fc | fix xmldoc | ZLima12/osu,smoogipoo/osu,peppy/osu,smoogipooo/osu,EVAST9919/osu,peppy/osu-new,EVAST9919/osu,ppy/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,johnneijzen/osu,UselessToucan/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,ppy/osu,2yangk23/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu... | osu.Game/Rulesets/Mods/IApplicableToScoreProcessor.cs | osu.Game/Rulesets/Mods/IApplicableToScoreProcessor.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.Game.Rulesets.Scoring;
using osu.Game.Scoring;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for mods that make general adjustment... | // 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.Game.Rulesets.Scoring;
using osu.Game.Scoring;
namespace osu.Game.Rulesets.Mods
{
/// <summary>
/// An interface for mods that make general adjustment... | mit | C# |
4fbf7ee7a847f685197c6c4fc945877269a43511 | Update "Book" | DRFP/Personal-Library | _Build/PersonalLibrary/Library/Model/Book.cs | _Build/PersonalLibrary/Library/Model/Book.cs | using SQLite;
namespace Library.Model {
[Table("Books")]
public class Book {
[PrimaryKey]
public long booISBN { get; set; }
public int slfID { get; set; }
public string booTitle { get; set; }
public string booDescription { get; set; }
public string booAuthor { g... | using SQLite;
namespace Library.Model {
[Table("Books")]
public class Book {
[PrimaryKey, AutoIncrement]
public int booID { get; set; }
public int slfID { get; set; }
public string booTitle { get; set; }
public string booDescription { get; set; }
public string b... | mit | C# |
95abcea199eb39ce0408a78b15362993269d29be | Adjust test fade | peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework | osu.Framework.Tests/Visual/Layout/TestSceneScenario3.cs | osu.Framework.Tests/Visual/Layout/TestSceneScenario3.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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Fr... | // 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 NUnit.Framework;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Shapes;
using osuTK.Graphics;
namespace osu.Fr... | mit | C# |
2cdb6b08f46e655de559c10e644af5f48d36893d | Update VersionChecker.cs | erdenbatuhan/Venture | Assets/Scripts/VersionChecker.cs | Assets/Scripts/VersionChecker.cs | //
// VersionChecker.cs
// Venture
//
// Created by Batuhan Erden.
// Copyright © 2016 Batuhan Erden. All rights reserved.
//
using UnityEngine;
using System.Collections;
public class VersionChecker : MonoBehaviour {
private const string URL_VERSION = "http://138.68.143.170/VailaBall_DATA/Computer_DATA/v214892... | //
// VersionChecker.cs
// A Vaila Ball - Computer
//
// Created by Batuhan Erden.
// Copyright © 2016 Batuhan Erden. All rights reserved.
//
using UnityEngine;
using System.Collections;
public class VersionChecker : MonoBehaviour {
private const string URL_VERSION = "http://138.68.143.170/VailaBall_DATA/Compu... | mit | C# |
6915c138e24cc4d195e71e19ef4a00982584e4ad | Fix version. | ashokgelal/Puppy | Puppy/Properties/AssemblyInfo.cs | Puppy/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# |
82dd3740821e5c6e247bee0fd04a38ad3a50a51c | Add TODO. | DanTup/DaNES | DaNES.Emulation/Nes.cs | DaNES.Emulation/Nes.cs | using System;
using System.Diagnostics;
using System.Drawing;
using System.Threading;
namespace DanTup.DaNES.Emulation
{
public class Nes // TODO: Make disposable or remove Bitmap.
{
internal double CpuCycleDurationMilliseconds { get; set; }
internal MemoryMap Ram { get; set; }
internal Cpu6502 Cpu { get; set... | using System;
using System.Diagnostics;
using System.Drawing;
using System.Threading;
namespace DanTup.DaNES.Emulation
{
public class Nes
{
internal double CpuCycleDurationMilliseconds { get; set; }
internal MemoryMap Ram { get; set; }
internal Cpu6502 Cpu { get; set; }
internal PpuMemoryMap PpuRam { get; s... | mit | C# |
30657ab298b6814e80f4cb10e14226f77274a17e | Tidy up further | pkese/Orleankka,llytvynenko/Orleankka,mhertis/Orleankka,mhertis/Orleankka,OrleansContrib/Orleankka,OrleansContrib/Orleankka,llytvynenko/Orleankka,AntyaDev/Orleankka,AntyaDev/Orleankka,yevhen/Orleankka,pkese/Orleankka,yevhen/Orleankka | Source/Orleankka/ActorRuntime.cs | Source/Orleankka/ActorRuntime.cs | namespace Orleankka
{
using Core;
using Services;
public interface IActorRuntime
{
IActorSystem System { get; }
ITimerService Timers { get; }
IReminderService Reminders { get; }
IActivationService Activation { get; }
}
... | using System;
using System.Linq;
namespace Orleankka
{
using Core;
using Services;
public interface IActorRuntime
{
IActorSystem System { get; }
ITimerService Timers { get; }
IReminderService Reminders { get; }
IActivationService Activation ... | apache-2.0 | C# |
86892bf18f9f9350b1d39ed7a1f19d671b210521 | Improve accuracy of IsBackingField extension method. | wiredwiz/DotSerialize | Utilities/FieldInfoExtensions.cs | Utilities/FieldInfoExtensions.cs | #region Apache License 2.0
// Copyright 2015 Thaddeus Ryker
//
// 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
//
// Unles... | #region Apache License 2.0
// Copyright 2015 Thaddeus Ryker
//
// 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
//
// Unles... | apache-2.0 | C# |
5a1888b609bab6f777222e87a1283de797694261 | Use StringBuilderResultStore in the console application | mynkow/ClearMeasure | ClearMeasure.NumberCruncher.Console/Program.cs | ClearMeasure.NumberCruncher.Console/Program.cs | using System;
using System.Collections.Generic;
using ClearMeasure.NumberCruncher;
using ClearMeasure.NumberCruncher.PrinterFormatters;
namespace TheTesst
{
class Program
{
static void Main(string[] args)
{
var formatter = new DefaultPrinterFormatter(() => new StringBuil... | using System;
using System.Collections.Generic;
using ClearMeasure.NumberCruncher;
using ClearMeasure.NumberCruncher.PrinterFormatters;
namespace TheTesst
{
class Program
{
static void Main(string[] args)
{
var formatter = new DefaultPrinterFormatter(() => new FileResult... | mit | C# |
e32b115bc1f874c41af1a2681e1fea9589867c8a | fix chinese font | Gizeta/KanColleCacher | KanColleCacher/KanColleCacher.cs | KanColleCacher/KanColleCacher.cs | using Grabacr07.KanColleViewer.Composition;
using System.ComponentModel.Composition;
using Debug = System.Diagnostics.Debug;
using File = System.IO.File;
using System.Windows;
using System.Windows.Media;
namespace d_f_32.KanColleCacher
{
[Export(typeof(IPlugin))]
[Export(typeof(ITool))]
[ExportMetadata("Guid... | using Grabacr07.KanColleViewer.Composition;
using System.ComponentModel.Composition;
using Debug = System.Diagnostics.Debug;
using File = System.IO.File;
namespace d_f_32.KanColleCacher
{
[Export(typeof(IPlugin))]
[Export(typeof(ITool))]
[ExportMetadata("Guid", "DA0FF655-A2CA-40DC-A78B-6DC85C2D448B")]
[E... | mit | C# |
9b4358df11ac6021bab93a1281ff34c854e05e8c | Fix validation error. #MALNET-21 Fixed | NinetailLabs/MAL.Net,NinetailLabs/MAL.Net,NinetailLabs/MAL.Net---A-.net-API-for-MAL,NinetailLabs/MAL.Net---A-.net-API-for-MAL | MAL.NetLogic/Classes/CredentialVerification.cs | MAL.NetLogic/Classes/CredentialVerification.cs | using System;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Text;
using System.Threading.Tasks;
using MAL.NetLogic.Interfaces;
namespace MAL.NetLogic.Classes
{
public class CredentialVerification : ICredentialVerification
{
#region Variables
private cons... | using System.Net;
using System.Threading.Tasks;
using MAL.NetLogic.Interfaces;
namespace MAL.NetLogic.Classes
{
public class CredentialVerification : ICredentialVerification
{
#region Variables
private const string Url = "http://myanimelist.net/api/account/verify_credentials.xml";
#e... | mit | C# |
3fdd7709f5420a5a558aadac98e15a7dd3fcdb9b | Update request.cs | balanced/balanced-csharp | scenarios/scenarios/bank_account_debit_order/request.cs | scenarios/scenarios/bank_account_debit_order/request.cs | using Balanced;
using System.Collections.Generic;
Balanced.Balanced.configure("{{ api_key }}");
Order order = Order.Fetch("{{ order_href }}");
BankAccount bankAccount = BankAccount.Fetch("{{ bank_account_href }}");
Dictionary<string, object> debitPayload = new Dictionary<string, object>();
debitPayload.Add("amount",... | using Balanced;
using System.Collections.Generic;
Balanced.Balanced.configure("{{ api_key }}");
Order order = Order.Fetch("{{ order_href }}");
BankAccount bankAccount = Card.Fetch("{{ bank_account_href }}");
Dictionary<string, object> debitPayload = new Dictionary<string, object>();
debitPayload.Add("amount", {{payl... | mit | C# |
a63bc272fea4623a4a011a17fa4373a410d5089a | Remove comma | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Rpc/JsonRpcErrorCodes.cs | WalletWasabi.Gui/Rpc/JsonRpcErrorCodes.cs | namespace WalletWasabi.Gui.Rpc
{
public enum JsonRpcErrorCodes
{
ParseError = -32700, // Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.
InvalidRequest = -32600, // The JSON sent is not a valid Request object.
MethodNotFound = -32601, // The method does n... | namespace WalletWasabi.Gui.Rpc
{
public enum JsonRpcErrorCodes
{
ParseError = -32700, // Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.
InvalidRequest = -32600, // The JSON sent is not a valid Request object.
MethodNotFound = -32601, // The method does n... | mit | C# |
145862a9cc804767a6356e30cce193af1d53a50b | update annotation | 60071jimmy/UartOscilloscope,60071jimmy/UartOscilloscope | UartOscilloscope/Program.cs | UartOscilloscope/Program.cs | using System; // 使用System函式庫
using System.Collections.Generic; // 使用System.Collections.Generic函式庫
using System.Linq; // 使用System.Linq函式庫
using System.Threading.Tasks; // 使用System.Threading.Tasks函式庫
using System.Windows.Forms; // 使用System.Windows.Fo... | using System; // 使用System函式庫
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms; // 使用System.Windows.Forms函式庫
namespace UartOscilloscope // 命名空間為本程式
{
static class Program ... | apache-2.0 | C# |
1e6e554d87c91b26de348acced55877a8460f61d | Rename test | BluewireTechnologies/cassette,honestegg/cassette,BluewireTechnologies/cassette,honestegg/cassette,andrewdavey/cassette,honestegg/cassette,andrewdavey/cassette,andrewdavey/cassette,damiensawyer/cassette,damiensawyer/cassette,damiensawyer/cassette | src/Cassette.UnitTests/BundleProcessing/CompileAsset.cs | src/Cassette.UnitTests/BundleProcessing/CompileAsset.cs | using System.IO;
using Cassette.IO;
using Cassette.Utilities;
using Moq;
using Should;
using Xunit;
using System.Linq;
namespace Cassette.BundleProcessing
{
public class CompileAsset_Tests
{
[Fact]
public void TransformCallsCompiler()
{
var asset = new Mock<I... | using System.IO;
using Cassette.IO;
using Cassette.Utilities;
using Moq;
using Should;
using Xunit;
using System.Linq;
namespace Cassette.BundleProcessing
{
public class CompileAsset_Tests
{
[Fact]
public void TransformCallsLessCompiler()
{
var asset = new Mo... | mit | C# |
511bb2815dc443e2350faed949709582c862c881 | Fix the type of the various address fields | xamarin/XamarinStripe,haithemaraissia/XamarinStripe | XamarinStripe/StripeCard.cs | XamarinStripe/StripeCard.cs | /*
* Copyright 2011 - 2012 Xamarin, Inc.
*
* Author(s):
* Gonzalo Paniagua Javier (gonzalo@xamarin.com)
* Joe Dluzen (jdluzen@gmail.com)
*
* 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 Licen... | /*
* Copyright 2011 - 2012 Xamarin, Inc.
*
* Author(s):
* Gonzalo Paniagua Javier (gonzalo@xamarin.com)
* Joe Dluzen (jdluzen@gmail.com)
*
* 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 Licen... | apache-2.0 | C# |
f4b43bd37e87636cc6369e8900d7b9138845c69b | Add a few more prerelease tests | adamreeve/semver.net | SemVer.Tests/PreReleaseRanges.cs | SemVer.Tests/PreReleaseRanges.cs | using Xunit;
using Xunit.Extensions;
namespace SemVer.Tests
{
public class PreReleaseRanges
{
[Theory]
[InlineData("1.2.3-alpha.3", "1.2.3-alpha.3")]
[InlineData(">1.2.3-alpha.3", "1.2.3-alpha.7")]
[InlineData(">1.2.3-alpha.3", "3.4.5")]
[InlineData(">1.2.3-alpha.3 <1.2.... | using Xunit;
using Xunit.Extensions;
namespace SemVer.Tests
{
public class PreReleaseRanges
{
[Theory]
[InlineData(">1.2.3-alpha.3", "1.2.3-alpha.7")]
[InlineData(">1.2.3-alpha.3", "3.4.5")]
[InlineData(">1.2.3-alpha.3 <1.2.4", "1.2.3-alpha.7")]
public void MatchingPreRe... | mit | C# |
3d5c5995e7b6645b55539eeb26de53ef6b80216f | Fix tests | MrRoundRobin/telegram.bot,TelegramBots/telegram.bot | test/Telegram.Bot.Tests.Unit/Serialization/MethodNameTests.cs | test/Telegram.Bot.Tests.Unit/Serialization/MethodNameTests.cs | using Newtonsoft.Json;
using Telegram.Bot.Requests;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class MethodNameTests
{
[Fact(DisplayName = "Should serialize method name in webhook responses")]
public void Should_Serialize_MethodName_In_Webhook_Responses()
{
... | using Newtonsoft.Json;
using Telegram.Bot.Requests;
using Xunit;
namespace Telegram.Bot.Tests.Unit.Serialization
{
public class MethodNameTests
{
[Fact(DisplayName = "Should serialize method name in webhook responses")]
public void Should_Serialize_MethodName_In_Webhook_Responses()
{
... | mit | C# |
4ebdc62f1c788fa43fae3a70a3bc8992e158d390 | Update PropertyStore.cs | EricZimmerman/ExtensionBlocks | ExtensionBlocks/PropertyStore.cs | ExtensionBlocks/PropertyStore.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace ExtensionBlocks
{
public class PropertyStore
{
public PropertyStore()
{
Sheets = new List<PropertySheet>();
}
public PropertyStore(byte[] rawBytes)
{
Sheets = new List<... | using System;
using System.Collections.Generic;
using System.Text;
namespace ExtensionBlocks
{
public class PropertyStore
{
public PropertyStore()
{
Sheets = new List<PropertySheet>();
}
public PropertyStore(byte[] rawBytes)
{
Sheets = new List<... | mit | C# |
f32780c7865d8f158d93f3f7e89b6e0ff7d4201a | Add xml documentation to moya exceptions | Hammerstad/Moya | Moya/Exceptions/MoyaException.cs | Moya/Exceptions/MoyaException.cs | namespace Moya.Exceptions
{
using System;
/// <summary>
/// Represents errors that occur during execution of Moya.
/// </summary>
public class MoyaException : Exception
{
/// <summary>
/// Initializes a new instance of the <see cref="MoyaException"/> class
/// with a sp... | namespace Moya.Exceptions
{
using System;
public class MoyaException : Exception
{
public MoyaException(String message) : base(message)
{
}
}
} | mit | C# |
d98b542054a3ead79f6ad8e86168516ef756d21f | fix tabs | yasoonOfficial/nprogressNet | NProgressNet/ProgressBar.xaml.cs | NProgressNet/ProgressBar.xaml.cs | using System;
using System.Collections.Generic;
using System.Text;
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.Windows.Navigation;
usin... | using System;
using System.Collections.Generic;
using System.Text;
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.Windows.Navigation;
usin... | mit | C# |
74675defebb84816a85a1f3094ec872a91b158ea | Fix Bugsense StackInfo serialization rules. | peeedge/mobile,ZhangLeiCharles/mobile,peeedge/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,masterrr/mobile,masterrr/mobile,eatskolnikov/mobile,eatskolnikov/mobile | Phoebe/Bugsnag/Data/StackInfo.cs | Phoebe/Bugsnag/Data/StackInfo.cs | using System;
using Newtonsoft.Json;
namespace Toggl.Phoebe.Bugsnag.Data
{
[JsonObject (MemberSerialization.OptIn)]
public class StackInfo
{
[JsonProperty ("file")]
public string File { get; set; }
[JsonProperty ("lineNumber")]
public int Line { get; set; }
[JsonPr... | using System;
using Newtonsoft.Json;
namespace Toggl.Phoebe.Bugsnag.Data
{
[JsonObject (MemberSerialization.OptIn)]
public class StackInfo
{
[JsonProperty ("file", DefaultValueHandling = DefaultValueHandling.Ignore)]
public string File { get; set; }
[JsonProperty ("lineNumber", Def... | bsd-3-clause | C# |
c454d860db9f91b7f2c54caa93134d5b3cefce42 | Work around faulty StatusStrip implementations | andreaspada/EDDiscovery,klightspeed/EDDiscovery,klightspeed/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,EDDiscovery/EDDiscovery,andreaspada/EDDiscovery,klightspeed/EDDiscovery | EDDiscovery/Controls/StatusStripCustom.cs | EDDiscovery/Controls/StatusStripCustom.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace ExtendedControls
{
public class StatusStripCustom : StatusStrip
{
public const int WM_NCHITTEST = 0x84;
public const int WM_NCLBUTTONDOWN = 0xA1;
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Windows.Forms;
namespace ExtendedControls
{
public class StatusStripCustom : StatusStrip
{
public const int WM_NCHITTEST = 0x84;
public const int WM_NCLBUTTONDOWN = 0xA1;
... | apache-2.0 | C# |
99827425ed2777b67e2eb6da5538e8ccb7bb1cab | Add find first or default | eriklieben/ErikLieben.Data | ErikLieben.Data/Repository/IRepository.cs | ErikLieben.Data/Repository/IRepository.cs | namespace ErikLieben.Data.Repository
{
using System.Collections.Generic;
public interface IRepository<T> : IEnumerable<T>
where T : class
{
/// <summary>
/// Adds the specified item.
/// </summary>
/// <param name="item">The item to add.</param>
void Add(T i... | namespace ErikLieben.Data.Repository
{
using System.Collections.Generic;
public interface IRepository<T> : IEnumerable<T>
where T : class
{
/// <summary>
/// Adds the specified item.
/// </summary>
/// <param name="item">The item to add.</param>
void Add(T i... | mit | C# |
31cbf4a95de73d95f3cab935503e111f410da81f | Remove comment | peasy/Peasy.NET,peasy/Samples,peasy/Samples,peasy/Samples,ahanusa/facile.net,ahanusa/Peasy.NET | Facile.Core/Extensions/IRuleExtensions.cs | Facile.Core/Extensions/IRuleExtensions.cs | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Facile.Core.Extensions
{
public static class IRuleExtensions
{
public static IEnumerable<ValidationResult> GetBusinessRulesResults(... | using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Facile.Core.Extensions
{
public static class IRuleExtensions
{
public static IEnumerable<ValidationResult> GetBusinessRulesResults(... | mit | C# |
99814c4ec2e85fb9c3ac4907e311cdc5ea29fce0 | Add note about references | EVAST9919/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,EVAST9919/osu-framework | osu.Framework/Input/States/InputState.cs | osu.Framework/Input/States/InputState.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.
namespace osu.Framework.Input.States
{
/// <summary>
/// An object that stores all input states.
/// </summary>
public class InputState
{
/// ... | // 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.
namespace osu.Framework.Input.States
{
/// <summary>
/// An object that stores all input states.
/// </summary>
public class InputState
{
/// ... | mit | C# |
345c7f4fa813f19d0b3a97a442719ad930fdec1d | Fix test regression | peppy/osu,EVAST9919/osu,ppy/osu,2yangk23/osu,ZLima12/osu,ppy/osu,DrabWeb/osu,DrabWeb/osu,EVAST9919/osu,ppy/osu,johnneijzen/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,2yangk23/osu,DrabWeb/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,UselessToucan/osu,ZLima12/o... | osu.Game.Tests/Visual/TestCaseToolbar.cs | osu.Game.Tests/Visual/TestCaseToolbar.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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays.Toolbar;
name... | // 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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Graphics.Containers;
using osu.Game.Overlays.Toolbar;
name... | mit | C# |
786a63ff93c311a215ea5935318cacfeacffc06b | Update version | eylvisaker/AgateLib | drivers/AgateWinForms/Properties/AssemblyInfo.cs | drivers/AgateWinForms/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# |
d1ffb7c2d78b2fbce64954d7f8ac8f61c5aafb0d | Use timepreempt and put appeartime and move duration into their own vars. | smoogipoo/osu,naoey/osu,smoogipoo/osu,peppy/osu,2yangk23/osu,smoogipooo/osu,DrabWeb/osu,johnneijzen/osu,DrabWeb/osu,ppy/osu,DrabWeb/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu-new,naoey/osu,smoogipoo/osu,NeoAdonis/osu,2yangk23/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,EVAST9919/osu,ZLima12/osu,UselessToucan... | osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs | osu.Game.Rulesets.Osu/Mods/OsuModArrange.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.G... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using osu.Framework.Extensions.IEnumerableExtensions;
using osu.Framework.Graphics;
using osu.Game.Graphics;
using osu.G... | mit | C# |
27aa53b56455a9bc4a36555a70ad9d1e36e5cf0c | Implement IReadOnlyList<PoEItem> instead | jcmoyer/Yeena | Yeena/PathOfExile/PoEStashTab.cs | Yeena/PathOfExile/PoEStashTab.cs | // Copyright 2013 J.C. Moyer
//
// 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 agreed to ... | // Copyright 2013 J.C. Moyer
//
// 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 agreed to ... | apache-2.0 | C# |
f9a6d6a6515e3167930bf7c28d0d74a8ae0951de | Update FileContentInfo.cs | NuGetPackageExplorer/NuGetPackageExplorer,NuGetPackageExplorer/NuGetPackageExplorer,campersau/NuGetPackageExplorer | PackageViewModel/Types/FileContentInfo.cs | PackageViewModel/Types/FileContentInfo.cs | using System.Collections.Generic;
using AuthenticodeExaminer;
using PackageExplorerViewModel;
namespace NuGetPackageExplorer.Types
{
public sealed class FileContentInfo
{
public FileContentInfo(PackageFile file, string name, object content, bool isTextFile, long size, bool truncated, IReadOnlyList<Auth... | VMusing System.Collections.Generic;
using AuthenticodeExaminer;
using PackageExplorerViewModel;
namespace NuGetPackageExplorer.Types
{
public sealed class FileContentInfo
{
public FileContentInfo(PackageFile file, string name, object content, bool isTextFile, long size, bool truncated, IReadOnlyList<A... | mit | C# |
949181474c61d23b7eb03c286d016883b599261d | update footer | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Views/Shared/_ContainerLayout.cshtml | src/Firehose.Web/Views/Shared/_ContainerLayout.cshtml | @{
Layout = "_Layout.cshtml";
}
<div class="container body-content">
<div class="container">
@RenderBody()
</div>
<hr />
<footer>
<p>Do you blog about PowerShell? Add yourself to the aggregator by sending in a <a href="https://github.com/planetpowershell/planetpowershell">pull-requ... | @{
Layout = "_Layout.cshtml";
}
<div class="container body-content">
<div class="container">
@RenderBody()
</div>
<hr />
<footer>
<p>Do you blog about Xamarin? Add yourself to the aggregator by sending in a <a href="https://github.com/planetxamarin/planetxamarin">pull-request to ou... | mit | C# |
6a5c4cc05f3f91305d7b8fa5044881c02a8b1bd3 | Set tabs on Android to be on the bottom | HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp,HTBox/MobileKidsIdApp | src/MobileKidsIdApp/MobileKidsIdApp/Views/MainPage.cs | src/MobileKidsIdApp/MobileKidsIdApp/Views/MainPage.cs | using MobileKidsIdApp.ViewModels;
using Xamarin.Forms.PlatformConfiguration;
using Xamarin.Forms.PlatformConfiguration.AndroidSpecific;
namespace MobileKidsIdApp.Views
{
public class MainPage : Xamarin.Forms.TabbedPage
{
private ApplicationBase CurrentApp => Xamarin.Forms.Application.Current as Applic... | using MobileKidsIdApp.ViewModels;
using Xamarin.Forms;
namespace MobileKidsIdApp.Views
{
public class MainPage : TabbedPage
{
private ApplicationBase CurrentApp => Application.Current as ApplicationBase;
public MainPage()
{
Page childListPage = CurrentApp.CreatePage<ChildP... | apache-2.0 | C# |
3efcf0493c45c95b5a648bbcce99ab4af831ac7d | Remove redundant using directive | EVAST9919/osu,johnneijzen/osu,johnneijzen/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,peppy/osu,NeoAdonis/osu,peppy/osu,2yangk23/osu,2yangk23/osu,ppy/osu,ZLima12/osu,NeoAdonis/osu,ZLima12/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,EVAST9919/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,ppy/osu,smoo... | osu.Game.Tests/Visual/Gameplay/TestSceneFailJudgement.cs | osu.Game.Tests/Visual/Gameplay/TestSceneFailJudgement.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.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Scoring;
using osu.Game.Screens.Play;
namespace osu.Game.... | // 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.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Scoring;
using osu.Game.Rulesets.UI;
using osu.Game.Scorin... | mit | C# |
73e1400383d5624e234b22ccede6d9f6115ab490 | add missing report types | gep13/cake,robgha01/cake,mholo65/cake,Sam13/cake,devlead/cake,gep13/cake,ferventcoder/cake,devlead/cake,ferventcoder/cake,cake-build/cake,mholo65/cake,patriksvensson/cake,patriksvensson/cake,cake-build/cake,robgha01/cake,Sam13/cake | src/Cake.Common/Tools/ReportGenerator/ReportGeneratorReportType.cs | src/Cake.Common/Tools/ReportGenerator/ReportGeneratorReportType.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.
namespace Cake.Common.Tools.ReportGenerator
{
/// <summary>
/// Represents ReportGenerator's output formats... | // 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.
namespace Cake.Common.Tools.ReportGenerator
{
/// <summary>
/// Represents ReportGenerator's output formats... | mit | C# |
90bb8b47d37563ee5d968b30475705db607b72b5 | Remove test | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet | tests/Bugsnag.Tests/Payload/ExceptionTests.cs | tests/Bugsnag.Tests/Payload/ExceptionTests.cs | using System.Linq;
using System.Threading.Tasks;
using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests.Payload
{
public class ExceptionTests
{
[Fact]
public void CorrectNumberOfExceptions()
{
var exception = new System.Exception("oh noes!");
var exceptions = new Exceptions(exception,... | using System.Linq;
using System.Threading.Tasks;
using Bugsnag.Payload;
using Xunit;
namespace Bugsnag.Tests.Payload
{
public class ExceptionTests
{
[Fact]
public void StackTraceIsPresent()
{
var exception = new System.Exception("oh noes!");
var exceptions = new Exceptions(exception, 5);
... | mit | C# |
7f9d1a4dff0b6a3da10d857c92489859df99267a | Add Request Authorizer to master request runtime | Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse... | src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs | src/Glimpse.Web.Common/Framework/MasterRequestRuntime.cs | using System;
using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection;
using System.Threading.Tasks;
namespace Glimpse.Web
{
public class MasterRequestRuntime
{
private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes;
private readonly IDiscoverableCol... | using System;
using System.Collections.Generic;
using Microsoft.Framework.DependencyInjection;
using System.Threading.Tasks;
namespace Glimpse.Web
{
public class MasterRequestRuntime
{
private readonly IDiscoverableCollection<IRequestRuntime> _requestRuntimes;
private readonly IDiscoverableCol... | mit | C# |
3d831ed3ab6b12266088af16e444e2c5888c6bc3 | Update version number. | Damnae/storybrew | editor/Properties/AssemblyInfo.cs | editor/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("storybrew editor")]
[assembly: AssemblyDe... | 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("storybrew editor")]
[assembly: AssemblyDe... | mit | C# |
dc96e2bd01f7e91d69e3dd3318d19af9389b4f65 | Add Vector3 converting to DirectionVector2 | insthync/LiteNetLibManager,insthync/LiteNetLibManager | Scripts/PackedVariables/DirectionVector2.cs | Scripts/PackedVariables/DirectionVector2.cs | using UnityEngine;
using LiteNetLib.Utils;
public struct DirectionVector2 : INetSerializable
{
public static implicit operator DirectionVector2(Vector2 value) { return new DirectionVector2(value); }
public static implicit operator DirectionVector2(Vector3 value) { return new DirectionVector2(value); }
pub... | using UnityEngine;
using LiteNetLib.Utils;
public struct DirectionVector2 : INetSerializable
{
public static implicit operator DirectionVector2(Vector2 value) { return new DirectionVector2(value); }
public static implicit operator Vector2(DirectionVector2 value) { return new Vector2((float)value.x / 100f, (fl... | mit | C# |
5977865d468ed5b75aac87a09ad7de46f6545b3d | Fix for missing AddGateway and RedactGateway in TransactionType, issue #9 | philjones88/SpreedlyCoreSharp | SpreedlyCoreSharp/Domain/TransactionType.cs | SpreedlyCoreSharp/Domain/TransactionType.cs | namespace SpreedlyCoreSharp.Domain
{
public enum TransactionType
{
Unknown, // Added as default
Purchase,
PurchaseViaReference,
OffsitePurchase,
Credit,
Authorization,
Capture,
AddPaymentMethod,
RetainPaymentMethod,
RedactPaymentMe... | namespace SpreedlyCoreSharp.Domain
{
public enum TransactionType
{
Unknown, // Added as default
Purchase,
PurchaseViaReference,
OffsitePurchase,
Credit,
Authorization,
Capture,
AddPaymentMethod,
RetainPaymentMethod,
RedactPaymentMe... | mit | C# |
feb51dbaf77b9ce121f2b781d322b70b83d9a87a | Change left navigation | shengoo/umb,shengoo/umb | Site/Views/Partials/LeftNavigation.cshtml | Site/Views/Partials/LeftNavigation.cshtml | @using Site.App_Code
@inherits Umbraco.Web.Mvc.UmbracoViewPage<IPublishedContent>
@{
Layout = null;
var parent = Model.AncestorOrSelf(2);
var deep = Model.DocumentTypeAlias == "ProductFolder" || Model.DocumentTypeAlias == "ProductItem" ? 4 : 3;
if (parent != null)
{
<aside class="... | @using Site.App_Code
@inherits Umbraco.Web.Mvc.UmbracoViewPage<IPublishedContent>
@{
Layout = null;
var parent = Model.AncestorOrSelf(2);
var deep = Model.DocumentTypeAlias == "ProductFolder" ? 4 : 3;
if (parent != null)
{
<aside class=" sidebar" style="float: left; width: 25%;">
... | mit | C# |
cc2ae3e77e22c2c36b147513c3d0fc2156423ae0 | Disable dismiss dialogs by clicking outside | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/Controls/Dialog.xaml.cs | WalletWasabi.Fluent/Controls/Dialog.xaml.cs | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
namespace WalletWasabi.Fluent.Controls
{
/// <summary>
/// A simple overlay Dialog control.
/// </summary>
public class Dialog : ContentControl
{
public static readonly StyledProperty<bool> IsDialogOpenProperty =
AvaloniaProperty.Re... | using Avalonia;
using Avalonia.Controls;
using Avalonia.Controls.Primitives;
namespace WalletWasabi.Fluent.Controls
{
/// <summary>
/// A simple overlay Dialog control.
/// </summary>
public class Dialog : ContentControl
{
public static readonly StyledProperty<bool> IsDialogOpenProperty =
AvaloniaProperty.Re... | mit | C# |
740d21e655c10325379509008180c49a013eb20a | Update assembly version. | KnowledgeLakegithub/.NetTSGenerator | TS/TS.CodeGenerator/Properties/AssemblyInfo.cs | TS/TS.CodeGenerator/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("TS... | 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("TS... | mit | C# |
140cdfb2d2b0f5ff2bec11d70e956850d5be7488 | Make ServiceCollectionExtensions consistent | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Microsoft.AspNetCore.Cors/CorsServiceCollectionExtensions.cs | src/Microsoft.AspNetCore.Cors/CorsServiceCollectionExtensions.cs | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Cors.Infrastructure;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions... | // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using Microsoft.AspNetCore.Cors.Infrastructure;
using Microsoft.Extensions.DependencyInjection.Extensions;
namespace Microsoft.Extensions... | apache-2.0 | C# |
03858e0c9ca7c849762b6aea9c38ccba58d78361 | Bump to 0.1.1.0 | allisterb/Alpheus,allisterb/Alpheus | Alpheus.CommandLine/Properties/AssemblyInfo.cs | Alpheus.CommandLine/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("Al... | 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("Al... | mit | C# |
c9c406903389d766af6460729de51819e7dee073 | Update Program.cs | YanivHaramati/KeywordParser,YanivHaramati/KeywordParser,YanivHaramati/KeywordParser | DescriptionParser/DescriptionParser/Program.cs | DescriptionParser/DescriptionParser/Program.cs | using System;
using System.Linq;
using System.Net;
using System.Xml;
using MongoDB.Bson;
using Newtonsoft.Json;
namespace DescriptionParser
{
public class Program
{
const string QueryListingDescriptions = @"some link to an xml result page";
// ReSharper disable once UnusedParameter.Local... | using System;
using System.Linq;
using System.Net;
using System.Xml;
using MongoDB.Bson;
using Newtonsoft.Json;
namespace DescriptionParser
{
public class Program
{
const string QueryListingDescriptions = @"some link to an xml result page;
// ReSharper disable once UnusedParameter.Local
... | mit | C# |
fafe650f1eef5102af5fbc82072df342a9150f75 | remove category smoke from ShouldSubmitValidApplication test | kf-bryancua/BankingSite,kf-bryancua/BankingSite,kf-bryancua/BankingSite | BankingSite.IntegrationTests/CreditCardApplicationServiceTests.cs | BankingSite.IntegrationTests/CreditCardApplicationServiceTests.cs | using System.Net;
using System.Text;
using BankingSite.Domain;
using Newtonsoft.Json;
using NUnit.Framework;
namespace BankingSite.IntegrationTests
{
[TestFixture]
public class CreditCardApplicationServiceTests
{
private const string ApplicantName = "Jason";
[Test]
public void Sho... | using System.Net;
using System.Text;
using BankingSite.Domain;
using Newtonsoft.Json;
using NUnit.Framework;
namespace BankingSite.IntegrationTests
{
[TestFixture]
public class CreditCardApplicationServiceTests
{
private const string ApplicantName = "Jason";
[Test]
[Category("smok... | mit | C# |
9d7b9018f434ec811a74a41be7b693ac782b53db | Use Unix line feed for score exportation. | OpenCGSS/DereTore,OpenCGSS/DereTore,hozuki/DereTore,hozuki/DereTore,hozuki/DereTore,OpenCGSS/DereTore | DereTore.Applications.StarlightDirector/Entities/CompiledScore.cs | DereTore.Applications.StarlightDirector/Entities/CompiledScore.cs | using System.Collections.Generic;
using System.IO;
using System.Text;
using CsvHelper;
using CsvHelper.Configuration;
using DereTore.Applications.StarlightDirector.Components;
using DereTore.Applications.StarlightDirector.Entities.Serialization;
namespace DereTore.Applications.StarlightDirector.Entities {
public ... | using System.Collections.Generic;
using System.IO;
using System.Text;
using CsvHelper;
using CsvHelper.Configuration;
using DereTore.Applications.StarlightDirector.Components;
using DereTore.Applications.StarlightDirector.Entities.Serialization;
namespace DereTore.Applications.StarlightDirector.Entities {
public ... | mit | C# |
eef9209d512df19c9197b86ab41c94720035044c | Update IQuoteRepository.cs | shikhir-arora/NadekoBot | NadekoBot.Core/Services/Database/Repositories/IQuoteRepository.cs | NadekoBot.Core/Services/Database/Repositories/IQuoteRepository.cs | using NadekoBot.Core.Services.Database.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NadekoBot.Core.Services.Database.Repositories
{
public interface IQuoteRepository : IRepository<Quote>
{
IEnumerable<Quote> GetAllQuotesByKeyword(ulong guildId, string keyword);
... | using NadekoBot.Core.Services.Database.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace NadekoBot.Core.Services.Database.Repositories
{
public interface IQuoteRepository : IRepository<Quote>
{
IEnumerable<Quote> GetAllQuotesByKeyword(ulong guildId, string keyword);
... | mit | C# |
772a3b9ab2ef7eb30889fc853f1870baa42a758c | Stop errors if invalid plugboard settings and inputted into the constructor The constructor would throw errors if the length of a string in the string array of settings was of length 1 or 0. Now it only adds plug settings with a length of 2 or above | It423/enigma-simulator,wrightg42/enigma-simulator | Enigma/EnigmaUtilities/Components/Plugboard.cs | Enigma/EnigmaUtilities/Components/Plugboard.cs | // Plugboard.cs
// <copyright file="Plugboard.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.Linq;
namespace EnigmaUtilities.Components
{
/// <summary>
/// An implementation of the plug board component for the enigma machine.
/// </summary>
... | // Plugboard.cs
// <copyright file="Plugboard.cs"> This code is protected under the MIT License. </copyright>
using System.Collections.Generic;
using System.Linq;
namespace EnigmaUtilities.Components
{
/// <summary>
/// An implementation of the plug board component for the enigma machine.
/// </summary>
... | mit | C# |
a53af2ea436bc7c93fca4681a0e15d907328b3d2 | Improve the service-running condition | Seddryck/NBi,Seddryck/NBi | NBi.Core/WindowsService/WindowsServiceCheck.cs | NBi.Core/WindowsService/WindowsServiceCheck.cs | using System;
using System.Linq;
using System.ServiceProcess;
using System.Threading;
namespace NBi.Core.WindowsService
{
class WindowsServiceCheck : IDecorationCheckImplementation
{
public static WindowsServiceCheck IsRunning(IWindowsServiceCheck check)
{
var chk = new WindowsServiceCheck(check.S... | using System;
using System.Linq;
using System.ServiceProcess;
using System.Threading;
namespace NBi.Core.WindowsService
{
class WindowsServiceCheck : IDecorationCheckImplementation
{
public static WindowsServiceCheck IsRunning(IWindowsServiceCheck check)
{
var chk = new WindowsServiceCheck(check.S... | apache-2.0 | C# |
414b23f8fc2c1dae3eab8058131d58c1f18dc3fc | Update TiledMapImporter.cs | prime31/Nez,Blucky87/Nez,eumario/Nez,prime31/Nez,ericmbernier/Nez,prime31/Nez | Nez.PipelineImporter/Tiled/TiledMapImporter.cs | Nez.PipelineImporter/Tiled/TiledMapImporter.cs | using System;
using System.IO;
using System.Xml.Serialization;
using Microsoft.Xna.Framework.Content.Pipeline;
namespace Nez.TiledMaps
{
[ContentImporter( ".tmx", DefaultProcessor = "TiledMapProcessor", DisplayName = "Tiled Map Importer" )]
public class TiledMapImporter : ContentImporter<TmxMap>
{
public overri... | using System;
using System.IO;
using System.Xml.Serialization;
using Microsoft.Xna.Framework.Content.Pipeline;
namespace Nez.TiledMaps
{
[ContentImporter( ".tmx", DefaultProcessor = "TiledMapProcessor", DisplayName = "Tiled Map Importer" )]
public class TiledMapImporter : ContentImporter<TmxMap>
{
public overri... | mit | C# |
07b9a4470c4a5ab2c0e747df8548469b0863fd6f | add sort test for Fixed8 | shargon/neo,AntShares/AntShares | neo.UnitTests/UT_Fixed8.cs | neo.UnitTests/UT_Fixed8.cs | using System;
using System.Linq;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Neo.UnitTests
{
[TestClass]
public class UT_Fixed8
{
[TestMethod]
public void Basic_equality()
{
var a = Fixed8.FromDecimal(1.23456789m);
va... | using System;
using FluentAssertions;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Neo.UnitTests
{
[TestClass]
public class UT_Fixed8
{
[TestMethod]
public void Basic_equality()
{
var a = Fixed8.FromDecimal(1.23456789m);
var b = Fixed8.Parse(... | mit | C# |
fab56a91f0a3d0cf963ed0e43ddb38e62085454c | fix problem when path project not already exist in AppData | dgx80/csharp-app-lib | Formatter/XMLFormatter.cs | Formatter/XMLFormatter.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.IO;
namespace AppLib.Formatter
{
class XMLFormatter
{
#region XML
public T load<T>(string sFilename) where T : new()
{
T o = new T();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;
using System.IO;
namespace AppLib.Formatter
{
class XMLFormatter
{
#region XML
public T load<T>(string sFilename) where T : new()
{
T o = new T();
... | mit | C# |
724a116d32939cb740170ef03bb0c5969d781f03 | Set request to local variable | appharbor/ConsolR,appharbor/ConsolR | Hosting/ConsoleHandler.cs | Hosting/ConsoleHandler.cs | using System.Configuration;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Hosting;
using System.Web.Script.Serialization;
using ConsolR.Core.Models;
using ConsolR.Core.Services;
using Roslyn.Compilers;
namespace ConsolR.Hosting.Nancy
{
public class ConsoleHandler : IHttpHan... | using System.Configuration;
using System.IO;
using System.Linq;
using System.Net;
using System.Web;
using System.Web.Hosting;
using System.Web.Script.Serialization;
using ConsolR.Core.Models;
using ConsolR.Core.Services;
using Roslyn.Compilers;
namespace ConsolR.Hosting.Nancy
{
public class ConsoleHandler : IHttpHan... | mit | C# |
6cbdf3047bbf91237757557d77e85e63c0753505 | Tweak y-axis tick algorithm | terry-u16/MaterialChartPlugin | MaterialChartPlugin/Models/Utilities/ChartUtilities.cs | MaterialChartPlugin/Models/Utilities/ChartUtilities.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MaterialChartPlugin.Models.Utilities
{
public static class ChartUtilities
{
public static int GetYAxisMax(int maxValue, int interval)
{
maxValue = maxValue ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace MaterialChartPlugin.Models.Utilities
{
public static class ChartUtilities
{
public static int GetYAxisMax(int maxValue, int interval)
{
maxValue = maxValue ... | mit | C# |
d29e15f24e570f88f9d60f17d135054fc63ae1e8 | Update FindDataOrFormulas.cs | aspose-cells/Aspose.Cells-for-.NET,aspose-cells/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,maria-shahid-aspose/Aspose.Cells-for-.NET,asposecells/Aspose_Cells_NET,asposecells/Aspose_Cells_NET,aspose-cells/Aspose.Cells-for-.NET,maria-shahid-aspose/Aspose.Cells-for-.NET,maria-shahid-as... | Examples/CSharp/Data/Handling/Find/FindDataOrFormulas.cs | Examples/CSharp/Data/Handling/Find/FindDataOrFormulas.cs | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.Find
{
public class FindDataOrFormulas
{
public static void Main(string[] args)
{
//ExStart:1
// The path to the documents directory.
string dataDir = Aspose.Cel... | using System.IO;
using Aspose.Cells;
using System;
namespace Aspose.Cells.Examples.Data.Handling.Find
{
public class FindDataOrFormulas
{
public static void Main(string[] args)
{
// The path to the documents directory.
string dataDir = Aspose.Cells.Examples.Utils.GetDat... | mit | C# |
b9275fa39053749a60be76969c3f23ea3ee10a60 | Add MaterialCore to Material conversion extension | JeremyAnsel/helix-toolkit,helix-toolkit/helix-toolkit,chrkon/helix-toolkit,holance/helix-toolkit,Iluvatar82/helix-toolkit | Source/HelixToolkit.SharpDX.SharedModel/Extensions/MaterialExtension.cs | Source/HelixToolkit.SharpDX.SharedModel/Extensions/MaterialExtension.cs | #if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX
#else
namespace HelixToolkit.UWP
#endif
{
using Model;
using System;
public static class MaterialExtension
{
public static PhongMaterial ConvertToPhongMaterial(this PhongMaterialCore core)
{
return new PhongMaterial()
... | #if !NETFX_CORE
namespace HelixToolkit.Wpf.SharpDX
#else
namespace HelixToolkit.UWP
#endif
{
using Model;
public static class MaterialExtension
{
public static PhongMaterial ConvertToPhongMaterial(this PhongMaterialCore core)
{
return new PhongMaterial()
{
... | mit | C# |
2907ee9b286a36fdb9faab4090c45e37bd5e7eb9 | Make sure WeightedObjects are xml serializable | YesAndGames/YesAndEngine | YesAndEngine/DataStructures/Optional/WeightedObject.cs | YesAndEngine/DataStructures/Optional/WeightedObject.cs | using UnityEngine;
using System;
namespace YesAndEngine.DataStructures {
// An object with a "weight", used for chanced pooling.
[Serializable]
public class WeightedObject {
// Integer weight, used to pick by weighted chance.
public int weight;
// Default constructor for a new WeightedObject object.
pro... | using UnityEngine;
using System;
namespace YesAndEngine.DataStructures {
// An object with a "weight", used for chanced pooling.
[Serializable]
public class WeightedObject {
// Integer weight, used to pick by weighted chance.
public int weight;
// Construct a new WeightedObject object.
protected Weighte... | apache-2.0 | C# |
6d3ae7431514a9a7a2f8583c72cad9227e8fc618 | Comment out unused concept code | tmds/Tmds.DBus | DBus.cs | DBus.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
//namespace org.freedesktop.DBus
namespace org.freedesktop.DBus
{
/*
//what's this for?
public class DBusException : ApplicationException
{
}
*/
#if U... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NDesk.DBus;
//namespace org.freedesktop.DBus
namespace org.freedesktop.DBus
{
//TODO: what's this for?
public class DBusException : ApplicationException
{
}
#if UND... | mit | C# |
a55b275585e04f29c0ce40bd225541ead2ed7c3d | Fix listing iOS devices on Windows | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | debugger/ios-list-usb-devices/src/Program.cs | debugger/ios-list-usb-devices/src/Program.cs | using System;
using System.Net.Sockets;
using System.Threading;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.iOS.ListUsbDevices
{
internal static class Program
{
private static bool ourFinished;
private static int Main(string[] args)
{
if (args.Length != 2)
... | using System;
using System.Threading;
namespace JetBrains.ReSharper.Plugins.Unity.Rider.iOS.ListUsbDevices
{
internal static class Program
{
private static bool ourFinished;
private static int Main(string[] args)
{
if (args.Length != 2)
{
Consol... | apache-2.0 | C# |
6e6d0c381297cf9ff02fe8e989fa59382518c880 | Update assembly version | R-Smith/vmPing | vmPing/Properties/AssemblyInfo.cs | vmPing/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# |
5a7dbfaf1d72e9ede90d195d2f1030a178c7ec96 | Fix command tests | takenet/messaginghub-client-csharp | src/Takenet.MessagingHub.Client.Test/MessagingHubClientTests_SendCommand.cs | src/Takenet.MessagingHub.Client.Test/MessagingHubClientTests_SendCommand.cs | using Lime.Protocol;
using NSubstitute;
using NUnit.Framework;
using Shouldly;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Takenet.MessagingHub.Client.Test
{
[TestFixture]
internal class MessagingHubClientTests_SendCommand : MessagingHubClientTestBase
{
[SetUp]
... | using Lime.Protocol;
using NSubstitute;
using NUnit.Framework;
using Shouldly;
using System;
namespace Takenet.MessagingHub.Client.Test
{
[TestFixture]
internal class MessagingHubClientTests_SendCommand : MessagingHubClientTestBase
{
[SetUp]
protected override void Setup()
{
... | apache-2.0 | C# |
25700ecb6bff43eed6e91aae1735adbc41c3c26f | Make ISerialPort inherit IDisposable | crozone/LinuxSerialPort | src/SerialPorts.Abstractions/ISerialPort.cs | src/SerialPorts.Abstractions/ISerialPort.cs | using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace crozone.SerialPorts.Abstractions
{
public interface ISerialPort : IDisposable
{
Stream BaseStream { get; }
int BaudRate { get; set; }
int DataBits { get; set; }
Handshake Handshake { ... | using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace crozone.SerialPorts.Abstractions
{
public interface ISerialPort
{
Stream BaseStream { get; }
int BaudRate { get; set; }
int DataBits { get; set; }
Handshake Handshake { get; set; }
bool IsO... | mit | C# |
10eb1e922a648c4dde4527406a15eb97d4c8853f | fix tests | Launchify/Launchify,Megasware128/Wox,danisein/Wox,Megasware128/Wox,zlphoenix/Wox,jondaniels/Wox,medoni/Wox,jondaniels/Wox,yozora-hitagi/Saber,JohnTheGr8/Wox,danisein/Wox,zlphoenix/Wox,JohnTheGr8/Wox,medoni/Wox,yozora-hitagi/Saber,Launchify/Launchify | Wox.Test/UrlPluginTest.cs | Wox.Test/UrlPluginTest.cs | using NUnit.Framework;
using Wox.Plugin.Url;
namespace Wox.Test
{
[TestFixture]
public class UrlPluginTest
{
[Test]
public void URLMatchTest()
{
var plugin = new Main();
Assert.IsTrue(plugin.IsURL("http://www.google.com"));
Assert.IsTrue(plugin.I... | using NUnit.Framework;
using Wox.Plugin.Url;
namespace Wox.Test
{
[TestFixture]
public class UrlPluginTest
{
[Test]
public void URLMatchTest()
{
UrlPlugin urlPlugin = new UrlPlugin();
Assert.IsTrue(urlPlugin.IsURL("http://www.google.com"));
Asser... | mit | C# |
2b6fdc58dafa7326b816df1afd604510b3019ec5 | Add note in test to remind me to implement value comparison for info objects | villermen/runescape-cache-tools,villermen/runescape-cache-tools | RuneScapeCacheToolsTests/RuneTek5CacheTests.cs | RuneScapeCacheToolsTests/RuneTek5CacheTests.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using RuneScapeCacheToolsTests.Fixtures;
using Villermen.RuneScapeCacheTools.Cache;
using Villermen.RuneScapeCacheTools.Cache.RuneTek5;
using Xunit;
using Xunit.Abstractions;
namespace RuneScapeCacheToolsTests
{
[Collection("TestC... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using RuneScapeCacheToolsTests.Fixtures;
using Villermen.RuneScapeCacheTools.Cache;
using Villermen.RuneScapeCacheTools.Cache.RuneTek5;
using Xunit;
using Xunit.Abstractions;
namespace RuneScapeCacheToolsTests
{
[Collection("TestC... | mit | C# |
862891eb1b639d94e25fea71d5817573f621d78d | Update AssemblyInfo | zaobao/SGson,zaobao/SGson | src/Assembly/AssemblyInfo.cs | src/Assembly/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Security;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SGson;
[assembly: AssemblyTitle ("SGson.dll")]
[assembly: AssemblyDescription ("A C# library to convert JSON to C# objects... | using System;
using System.Reflection;
using System.Resources;
using System.Security;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using SGson;
[assembly: AssemblyTitle ("SGson.dll")]
[assembly: AssemblyDescription ("A C# library to convert JSON to C# objects ... | mpl-2.0 | C# |
0511e0b47526cc972dba76b5f37692f09a1122a5 | Improve exception report to also get inner exceptions if possible | daisy/word-save-as-daisy,daisy/word-save-as-daisy,daisy/word-save-as-daisy,daisy/word-save-as-daisy | Word2007/DaisyWord2007AddIn/ExceptionReport.cs | Word2007/DaisyWord2007AddIn/ExceptionReport.cs | using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
namespace Daisy.SaveAsDAISY.Addins.Word2007 {
public partial class ExceptionReport : Form {
private Exception ExceptionRaised { get; }
public ExceptionReport(Exception raised) {
InitializeComponent(... | using System;
using System.Diagnostics;
using System.Text;
using System.Windows.Forms;
namespace Daisy.SaveAsDAISY.Addins.Word2007 {
public partial class ExceptionReport : Form {
private Exception ExceptionRaised { get; }
public ExceptionReport(Exception raised) {
InitializeComponent(... | bsd-3-clause | C# |
59d24f14455a65d533acb78eb40a26e8f0d078db | Add `Permission.Organization`. | datalust/seq-api | src/Seq.Api/Model/Security/Permission.cs | src/Seq.Api/Model/Security/Permission.cs | // Copyright © Datalust and contributors.
//
// 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... | // Copyright © Datalust and contributors.
//
// 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... | apache-2.0 | C# |
3f883eca2e535b22a65cde3fcac7cb594d2b3189 | Update users settings with new settings at upgrade time. | dsuess/Markdown-Edit,Pulgafree/Markdown-Edit,Tdue21/Markdown-Edit,punker76/Markdown-Edit,jokamjohn/Markdown-Edit,mike-ward/Markdown-Edit,chris84948/Markdown-Edit | src/MarkdownEdit/App.xaml.cs | src/MarkdownEdit/App.xaml.cs | using System.IO;
using System.Threading.Tasks;
using System.Windows;
using MarkdownEdit.Properties;
using MarkdownEdit.SpellCheck;
using TinyIoC;
namespace MarkdownEdit
{
public partial class App
{
// ReSharper disable once NotAccessedField.Local
private FileSystemWatcher _userSettingsWatcher;... | using System.IO;
using System.Threading.Tasks;
using System.Windows;
using MarkdownEdit.Properties;
using MarkdownEdit.SpellCheck;
using TinyIoC;
namespace MarkdownEdit
{
public partial class App
{
private FileSystemWatcher _userSettingsWatcher;
public static UserSettings UserSettings { get; ... | mit | C# |
2f237ca1658a8077bea84ed459f0ba46718ac5c4 | Fix comparer. Seed node all have NodeId=-99, so need to compare their fields. | vikmv/kafka4net,vikmv/kafka4net,vikmv/kafka4net,ntent-ad/kafka4net,ntent-ad/kafka4net,ntent-ad/kafka4net | src/Metadata/BrokerMeta.cs | src/Metadata/BrokerMeta.cs | using System;
using System.Collections.Generic;
namespace kafka4net.Metadata
{
class BrokerMeta
{
public int NodeId;
public string Host;
public int Port;
// Not serialized, just a link to connection associated with this broker
internal Connection Conn;
... | using System.Collections.Generic;
namespace kafka4net.Metadata
{
class BrokerMeta
{
public int NodeId;
public string Host;
public int Port;
// Not serialized, just a link to connection associated with this broker
internal Connection Conn;
public o... | apache-2.0 | C# |
0b54ddbc9c687ff9e1f59bf1532c698a6a43fe26 | Update Settings.cs | hprose/hprose-dotnet | src/Hprose.RPC/Settings.cs | src/Hprose.RPC/Settings.cs | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | /*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... | mit | C# |
3050fdc817d372108539d9485cd109a564eb1abd | Update Elapsed Check | SnowmanTackler/SamSeifert.Utilities,SnowmanTackler/SamSeifert.Utilities | RateTracker.cs | RateTracker.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.Utilities
{
public class RateTracker
{
private float _AverageElapsed = 0;
private bool _First = true;
private bool _Second = true;
private Da... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SamSeifert.Utilities
{
public class RateTracker
{
private float _AverageElapsed = 0;
private bool _First = true;
private bool _Second = true;
private Da... | mit | C# |
156817e9da2ae1feff5ac97a61e3bbb2f0113142 | Fix the access level on the size and rating structs | thefactory/FBAudienceNetwork-Sharp | StructsAndEnums.cs | StructsAndEnums.cs | using System.Drawing;
public struct FBAdSize {
public SizeF size;
}
public struct FBAdStarRating {
public float value;
public int scale;
}
| using System.Drawing;
public struct FBAdSize {
SizeF size;
}
public struct FBAdStarRating {
float value;
int scale;
}
| mit | C# |
c507bc18efe361b173a6cb42733a33a497505666 | update the version to 3.5.0 | SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk | VersionInfo.cs | VersionInfo.cs | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | /*
* ******************************************************************************
* Copyright 2014-2017 Spectra Logic Corporation. 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. A copy of the License i... | apache-2.0 | C# |
70a63fad759a93f95ea3ac1ff5933454f71024d3 | use using | brandonprry/gray_hat_csharp_code | ch2_sqli_json_fuzzer/Program.cs | ch2_sqli_json_fuzzer/Program.cs | using System;
using Newtonsoft.Json.Linq;
using System.Net;
using System.IO;
using System.Reflection;
namespace fuzzer
{
class MainClass
{
public static void Main (string[] args)
{
string url = args [0];
string requestFile = args [1];
string[] request = null;
using (StreamReader rdr = new StreamRea... | using System;
using Newtonsoft.Json.Linq;
using System.Net;
using System.IO;
using System.Reflection;
namespace fuzzer
{
class MainClass
{
public static void Main (string[] args)
{
string url = args [0];
string requestFile = args [1];
string[] request = null;
using (StreamReader rdr = new StreamRea... | bsd-3-clause | C# |
1b1c25539452d6a2936f67aca321aff412ed063c | Make the Easy mod's extra life count customizable (#7331) | peppy/osu,NeoAdonis/osu,2yangk23/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,EVAST9919/osu,ppy/osu,smoogipooo/osu,EVAST9919/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,johnneijzen/osu,peppy/osu,peppy/osu | osu.Game/Rulesets/Mods/ModEasy.cs | osu.Game/Rulesets/Mods/ModEasy.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 osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Configuration;
using osu.Game.Graphics;
using o... | // 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 osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
using osu.Game.Rulesets.Scoring;
usin... | mit | C# |
f2ef7bee5d48c2946cebcbcd401d9ed1d6d69288 | Fix checks | peppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,NeoAdonis/osu,smoogipooo/osu,UselessToucan/osu,smoogipoo/osu,smoogipoo/osu,peppy/osu-new,smoogipoo/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu | osu.Game/Rulesets/Mods/ModEasy.cs | osu.Game/Rulesets/Mods/ModEasy.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 osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModEas... | // 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 osu.Framework.Graphics.Sprites;
using osu.Game.Beatmaps;
using osu.Game.Graphics;
namespace osu.Game.Rulesets.Mods
{
public abstract class ModEas... | mit | C# |
8488f78e0fcd831484755e5fec1abcc43de9fe66 | Update CSharpCompiler.cs | drew-r/Maverick | CSharpCompiler.cs | CSharpCompiler.cs | //Copyright © 2013 Drew Rathbone.
//drewrathbone@gmail.com
//
//This file is part of Maverick.
//
//Maverick is free software, you can redistribute it and/or modify it under the terms of GNU Affero General Public License
//as published by the Free Software Foundation, either version 3 of the License, or (at your opti... | //Copyright © 2013 Drew Rathbone.
//drewrathbone@gmail.com
//
//This file is part of Maverick.
//
//Maverick is free software, you can redistribute it and/or modify it under the terms of GNU Affero General Public License
//as published by the Free Software Foundation, either version 3 of the License, or (at your opti... | mit | C# |
19a8a542593dae2009fb1286a38bbbdb2b82dc04 | Add some 1337 | Naxiz/DHTest | DHTest/Program.cs | DHTest/Program.cs | using System;
namespace DHTest
{
class Program
{
private const int Pow = 3;
private const int Mod = 17;
private const ConsoleColor IsMatchConsoleForegroundColor = ConsoleColor.Green;
private const ConsoleColor NoMatchConsoleForegroundColor = ConsoleColor.Red;
private co... | using System;
namespace DHTest
{
class Program
{
private const int Pow = 3;
private const int Mod = 17;
private const ConsoleColor IsMatchConsoleForegroundColor = ConsoleColor.Green;
private const ConsoleColor NoMatchConsoleForegroundColor = ConsoleColor.Red;
private co... | mit | C# |
3920c8153a0cdf223c649fd00ccd9a96e952b86f | Split protgonist and enemy cover points. | eightyeight/vlrtt,eightyeight/vlrtt | modules/game/cover.cs | modules/game/cover.cs | new ScriptObject(Cover) {
protagonistPoints = new SimSet();
enemyPoints = new SimSet();
};
function Cover::onStart(%this) {
%this.targetMap = new ActionMap();
%this.letters = "jkhnfdgvcbtyursieowpxqlazm";
for(%i = 0; %i < strLen(%this.letters); %i++) {
%action = getSubStr(%this.letters, %i, 1);
... | new SimSet(Cover);
function Cover::onStart(%this) {
%this.targetMap = new ActionMap();
%this.letters = "jkhnfdgvcbtyursieowpxqlazm";
for(%i = 0; %i < strLen(%this.letters); %i++) {
%action = getSubStr(%this.letters, %i, 1);
%this.targetMap.bindCmd(keyboard, %action, "Cover.target(" @ %i @ ");");
... | mit | C# |
304fe5cd341027b19da18b82f394e5fc444a2883 | Add `CheckBackground` to `OsuBeatmapVerifier` | peppy/osu,smoogipoo/osu,UselessToucan/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,peppy/osu,NeoAdonis/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,ppy/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu | osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.cs | osu.Game.Rulesets.Osu/Edit/OsuBeatmapVerifier.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.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks;
using osu.Game.Rulesets.E... | // 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.Collections.Generic;
using System.Linq;
using osu.Game.Beatmaps;
using osu.Game.Rulesets.Edit;
using osu.Game.Rulesets.Edit.Checks.Components;
using osu.Game... | mit | C# |
c6a46c21fefde0bbc04e91536823a517da37ef62 | Remove an unused using | Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server | tests/Tgstation.Server.Host.Watchdog.Tests/TestWatchdogFactory.cs | tests/Tgstation.Server.Host.Watchdog.Tests/TestWatchdogFactory.cs | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tgstation.Server.Host.Watchdog.Tests
{
/// <summary>
/// Tests for <see cref="WatchdogFactory"/>
/// </summary>
[TestClass]
public sealed class TestWatchdogFactory
{
[TestMethod]
public void TestCreateWatchdog(... | using Microsoft.Extensions.Logging;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Tgstation.Server.Host.Watchdog.Tests
{
/// <summary>
/// Tests for <see cref="WatchdogFactory"/>
/// </summary>
[TestClass]
public sealed class TestWatchdogFactory
{
[TestMethod]
public void TestCrea... | agpl-3.0 | C# |
223fef312885b5c8db1a21d727fabe073abb79e1 | Fix typo in comment | Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs,Azure/azure-iot-hub-vs-cs | AzureIoTHubConnectedServiceLibrary/Resources/CSharp/AzureIoTHub.cs | AzureIoTHubConnectedServiceLibrary/Resources/CSharp/AzureIoTHub.cs | using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Client;
static class AzureIoTHub
{
//
// Note: this connection string is specific to the device "$deviceId$". To configure other devices,
// see information on iothub-explorer at http://aka.ms/iothubgetstartedVSCS
... | using System;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Devices.Client;
static class AzureIoTHub
{
//
// Note: this connection string is specific to the device "$deviceId$". To configure other devices,
// see information on iothub-explorer at http://aka.ms/iothubgetstartedVSCS
... | mit | C# |
0da6b2057654d5c61d941a57d422e9e0015dcc60 | Add predefined constants to TeacherPositions | denismaster/DiplomContentSystem,denismaster/DiplomContentSystem,denismaster/DiplomContentSystem,denismaster/DiplomContentSystem | src/DiplomContentSystem.Core/Entities/TeacherPositions.cs | src/DiplomContentSystem.Core/Entities/TeacherPositions.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DiplomContentSystem.Core
{
public class TeacherPosition : IEntity
{
public static TeacherPosition Assistance = new TeacherPosition() { Name = "Ассистент" };
public static TeacherPosition D... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace DiplomContentSystem.Core
{
public class TeacherPosition : IEntity
{
public int Id { get; set; }
public string Name { get; set; }
}
} | apache-2.0 | C# |
3e726134f75e9814c137d345c48cf354aac9e421 | Fix argument check. | mysql-net/MySqlConnector,mysql-net/MySqlConnector | src/MySqlConnector/MySqlClient/Caches/NormalizedSchema.cs | src/MySqlConnector/MySqlClient/Caches/NormalizedSchema.cs | using System;
using System.Text.RegularExpressions;
namespace MySql.Data.MySqlClient.Caches
{
internal class NormalizedSchema
{
private const string ReQuoted = @"`((?:[^`]|``)+)`";
private const string ReUnQuoted = @"([^\.`]+)";
private static readonly string ReEither = $@"(?:{ReQuoted}|{ReUnQuoted})";
pri... | using System;
using System.Text.RegularExpressions;
namespace MySql.Data.MySqlClient.Caches
{
internal class NormalizedSchema
{
private const string ReQuoted = @"`((?:[^`]|``)+)`";
private const string ReUnQuoted = @"([^\.`]+)";
private static readonly string ReEither = $@"(?:{ReQuoted}|{ReUnQuoted})";
pri... | mit | C# |
8f7bc63f089535325f5d8014bc584315bccccd79 | Use tags from TeamCity if provided | AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning | src/NerdBank.GitVersioning/CloudBuildServices/TeamCity.cs | src/NerdBank.GitVersioning/CloudBuildServices/TeamCity.cs | namespace Nerdbank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
/// <summary>
/// TeamCity CI build support.
/// </summary>
/// <remarks>
/// The TeamCIty-specific properties referenced here are documented here:
/// https://con... | namespace Nerdbank.GitVersioning.CloudBuildServices
{
using System;
using System.Collections.Generic;
using System.IO;
/// <summary>
/// TeamCity CI build support.
/// </summary>
/// <remarks>
/// The TeamCIty-specific properties referenced here are documented here:
/// https://con... | mit | C# |
f8c2132ca424ed50ccea38ddcc2fc792f6dc33bb | add retry when booting azurite. (#17430) | AsrOneSdk/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,AsrOneSdk/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jackmagic313/azure-sdk-for-net,brjohnstmsft/azure-sdk-for-net,yugangw-msft/azure-sdk-for-net,jackmagic313... | sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Common/tests/Shared/AzuriteNUnitFixture.cs | sdk/storage/Microsoft.Azure.WebJobs.Extensions.Storage.Common/tests/Shared/AzuriteNUnitFixture.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using Microsoft.Azure.WebJobs.Extensions.Storage.Common.Tests;
using NUnit.Framework;
// This class is without namespace on purpose, to make sure it runs once per test assem... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Azure.WebJobs.Extensions.Storage.Common.Tests;
using NUnit.Framework;
// This class is without namespace on purpose, to make sure it runs once per test assembly regardless of how tests are packaged.
// It ... | mit | C# |
9814978f23a49ca2b49d3b64f096d943625ec078 | Correct VSTS/TFS environment variable. | JoeMighty/shouldly | src/Shouldly/Configuration/KnownDoNotLaunchStrategies.cs | src/Shouldly/Configuration/KnownDoNotLaunchStrategies.cs | #if ShouldMatchApproved
using JetBrains.Annotations;
namespace Shouldly.Configuration
{
public class KnownDoNotLaunchStrategies
{
[UsedImplicitly]
public readonly IShouldNotLaunchDiffTool NCrunch = new DoNotLaunchWhenEnvVariableIsPresent("NCRUNCH");
[UsedImplicitly]
public reado... | #if ShouldMatchApproved
using JetBrains.Annotations;
namespace Shouldly.Configuration
{
public class KnownDoNotLaunchStrategies
{
[UsedImplicitly]
public readonly IShouldNotLaunchDiffTool NCrunch = new DoNotLaunchWhenEnvVariableIsPresent("NCRUNCH");
[UsedImplicitly]
public reado... | bsd-3-clause | C# |
1ee4d292d9aa057c6b15bac9945f39cf624f8834 | Update StorageFactoryTests.cs | A51UK/File-Repository | File-Repository-Tests/StorageFactoryTests.cs | File-Repository-Tests/StorageFactoryTests.cs | /*
* Copyright 2017 Craig Lee Mark Adams
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 agree... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Text;
namespace ile_Repository_Tests
{
[TestClass]
public class StorageFactoryTests
{
}
}
| apache-2.0 | C# |
4f3c66397611ff3a2ea1b8b8ae7ed2cbe9a666d2 | Remove Unused Directive | shahriarhossain/MailChimp.Api.Net | MailChimp.Api.Net/Properties/AssemblyInfo.cs | MailChimp.Api.Net/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("MailChimp.Api.Net")]
[assembly: AssemblyD... | 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("Ma... | mit | C# |
4cd0dd7856e8b553a9698d86dc114f0ca0768a92 | Move transformation to LoadComplete | EVAST9919/osu,smoogipooo/osu,ppy/osu,peppy/osu,smoogipoo/osu,2yangk23/osu,peppy/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,peppy/osu,smoogipoo/osu,peppy/osu-new,UselessToucan/osu,NeoAdonis/osu,UselessToucan/osu,johnneijzen/osu,UselessToucan/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,johnneijzen/osu,smoogipoo/osu | osu.Game.Rulesets.Osu/Skinning/LegacyCursor.cs | osu.Game.Rulesets.Osu/Skinning/LegacyCursor.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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Skinning;
using osuTK;
namespace osu.Game.Rulesets.... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Game.Skinning;
using osuTK;
namespace osu.Game.Rulesets.... | mit | C# |
b1c78c43f382a6aae24e2ddcb8ac102013243999 | Simplify target string | peppy/osu,ppy/osu,EVAST9919/osu,2yangk23/osu,NeoAdonis/osu,2yangk23/osu,ZLima12/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,EVAST9919/osu,ZLima12/osu,peppy/osu,peppy/osu,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,johnneijzen/osu,johnneijzen/osu,peppy/osu-new,UselessToucan/osu,smoogipoo/osu,smoogipooo/osu,smoogipoo/o... | osu.Game/Online/API/Requests/GetUserRequest.cs | osu.Game/Online/API/Requests/GetUserRequest.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.Game.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | // 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.Game.Users;
using osu.Game.Rulesets;
namespace osu.Game.Online.API.Requests
{
public class GetUserRequest : APIRequest<User>
{
private readonl... | mit | C# |
d9cb96c6508da3e77955a1d1b3545f33ee3127fa | Fix CreateRelationshipTable test to not use raw SQL. | SilkStack/Silk.Data.SQL.ORM | Silk.Data.SQL.ORM.Tests/RelationshipTests.cs | Silk.Data.SQL.ORM.Tests/RelationshipTests.cs | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Silk.Data.SQL.Expressions;
using Silk.Data.SQL.ORM.Schema;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Silk.Data.SQL.ORM.Tests
{
[TestClass]
public class Relationsh... | using Microsoft.VisualStudio.TestTools.UnitTesting;
using Silk.Data.SQL.ORM.Schema;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Silk.Data.SQL.ORM.Tests
{
[TestClass]
public class RelationshipTests
{
[TestMethod]
public async Task Creat... | mit | C# |
f824268d62c98636950549c504768c67b7802261 | Update EmailService.cs | Branimir123/FMI-IoT-Teamwork,Branimir123/FMI-IoT-Teamwork | SmartHive/SmartHive.Services/EmailService.cs | SmartHive/SmartHive.Services/EmailService.cs | using System.Net.Mail;
using System.Text;
using System.Net;
using System.Threading.Tasks;
namespace SmartHive.Services
{
public class EmailService : IEmailService
{
private readonly string companyEmail = "smarthivebg@gmail.com";
private readonly string password = "123456smart";
public a... | using System.Threading.Tasks;
using System.Net.Mail;
using System.Text;
using System.Diagnostics;
using SmartHive.Services.Contracts;
namespace SmartHive.Services
{
public class EmailService : IEmailService
{
// Doesn't work
public async Task SendAsync(string sendTo, string subject, string bod... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.