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 |
|---|---|---|---|---|---|---|---|---|
859afa880a436bcc163745ff37bc9987a2e7a384 | Set correct base type for script instances. | michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,polyethene/IronAHK,yatsek/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,michaltakac/IronAHK,yatsek/IronAHK,polyethene/IronAHK,yatsek/IronAHK,yatsek/IronAHK,polyethene/IronAHK,michaltakac/IronAHK | Scripting/Parser/Parser.cs | Scripting/Parser/Parser.cs | using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
namespace IronAHK.Scripting
{
partial class Parser : ICodeParser
{
Dictionary<string, CodeMemberMethod> methods;
Type core;
const string mainScope = "";
CodeEnt... | using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
namespace IronAHK.Scripting
{
partial class Parser : ICodeParser
{
Dictionary<string, CodeMemberMethod> methods;
Type core;
const string mainScope = "";
CodeEnt... | bsd-2-clause | C# |
4db2a6e9b7cc9423ae98cbccad0f871661f6e067 | Update TwoAnimation.cs | thakyZ/VoidEngine,vvoid-inc/VoidEngine | VoidEngine/TwoAnimation.cs | VoidEngine/TwoAnimation.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Inp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.In... | mit | C# |
235a8ff224bb847b941c5685ae5c942febd0a62c | Update SystemController.cs | NCTU-Isolated-Island/Isolated-Island-Game | UnityProject/Assets/Scripts/SystemScripts/SystemController.cs | UnityProject/Assets/Scripts/SystemScripts/SystemController.cs | using UnityEngine;
using IsolatedIslandGame.Library;
namespace IsolatedIslandGame.Client.Scripts.SystemScripts
{
public class SystemController : MonoBehaviour
{
private void Awake()
{
UserManager.Initial(new ClientUserManager());
ClientSystemManager.Initial(UserManager.... | using UnityEngine;
using IsolatedIslandGame.Library;
namespace IsolatedIslandGame.Client.Scripts.SystemScripts
{
public class SystemController : MonoBehaviour
{
private void Awake()
{
UserManager.Initial(new ClientUserManager());
ClientSystemManager.Initial(UserManager.... | apache-2.0 | C# |
0711192566d50896c35571efb336727e491c5441 | Remove unused variable | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/CoinJoin/Coordinator/MixingLevels/MixingLevel.cs | WalletWasabi/CoinJoin/Coordinator/MixingLevels/MixingLevel.cs | using NBitcoin;
using Newtonsoft.Json;
using System;
using WalletWasabi.Helpers;
using WalletWasabi.JsonConverters;
using static WalletWasabi.Crypto.SchnorrBlinding;
namespace WalletWasabi.CoinJoin.Coordinator.MixingLevels
{
[JsonObject(MemberSerialization.OptIn)]
public class MixingLevel : IEquatable<MixingLevel>
... | using NBitcoin;
using Newtonsoft.Json;
using System;
using WalletWasabi.Helpers;
using WalletWasabi.JsonConverters;
using static WalletWasabi.Crypto.SchnorrBlinding;
namespace WalletWasabi.CoinJoin.Coordinator.MixingLevels
{
[JsonObject(MemberSerialization.OptIn)]
public class MixingLevel : IEquatable<MixingLevel>
... | mit | C# |
500cc1dab81d3f6aa1ee43df5f73b514add265a8 | add overloading constructor for autolink | peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework,peppy/osu-framework,ppy/osu-framework,ZLima12/osu-framework | osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.cs | osu.Framework/Graphics/Containers/Markdown/MarkdownLinkText.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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation... | // 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 Markdig.Syntax.Inlines;
using osu.Framework.Allocation;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Localisation... | mit | C# |
f2d62c51ae6f47299325e4c6209046465690f722 | Change Namespace | muhammedikinci/FuzzyCore | FuzzyCore/ConcreteCommands/GetFolderList_Command.cs | FuzzyCore/ConcreteCommands/GetFolderList_Command.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FuzzyCore.Server.Data;
namespace FuzzyCore.Server
{
public class GetFolderList_Command : Command
{
public GetFolderList_Command(JsonCommand comm) : base(comm)
{
}
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using fuzzyControl.Server.Data;
namespace fuzzyControl.Server
{
public class GetFolderList_Command : Command
{
public GetFolderList_Command(JsonCommand comm) : base(comm)
{
... | mit | C# |
c437672bf62fa9d18517e5a5cf58bcb432e8b178 | Change ui text "Package" to "Dataset" | DenverDev/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,opencolorado/.NET-Wrapper-for-CKAN-API,DenverDev/.NET-Wrapper-for-CKAN-API | CkanDotNet.Web/Views/Shared/Package/_Rate.cshtml | CkanDotNet.Web/Views/Shared/Package/_Rate.cshtml | @using CkanDotNet.Api.Model
@model Package
<div class="container">
<h2 class="container-title">Rate this Dataset</h2>
<div class="container-content">
@Html.Partial("~/Views/Shared/_Rating.cshtml", Model, new ViewDataDictionary { { "editable", true } })
</div>
</div>
| @using CkanDotNet.Api.Model
@model Package
<div class="container">
<h2 class="container-title">Rate this Package</h2>
<div class="container-content">
@Html.Partial("~/Views/Shared/_Rating.cshtml", Model, new ViewDataDictionary { { "editable", true } })
</div>
</div>
| apache-2.0 | C# |
208374cf3c80bbea3810058f53f27bd2f79a2502 | Use Regex in stead of string | MortenHoustonLudvigsen/CommonMarkSharp,binki/CommonMarkSharp,MortenHoustonLudvigsen/CommonMarkSharp | CommonMarkSharp/InlineParsers/LineBreakParser.cs | CommonMarkSharp/InlineParsers/LineBreakParser.cs | using CommonMarkSharp.Blocks;
using CommonMarkSharp.Inlines;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace CommonMarkSharp.InlineParsers
{
public class LineBreakParser : IParser<LineBre... | using CommonMarkSharp.Blocks;
using CommonMarkSharp.Inlines;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CommonMarkSharp.InlineParsers
{
public class LineBreakParser : IParser<LineBreak>
{
public string Start... | mit | C# |
af2987866d362a2d533d5e305055230037db4cb1 | Fix uppercasing of string.Format | AAPT/jean0226case1322,18098924759/JabbR,ClarkL/1317on17jabbr,mogulTest1/Project13231113,borisyankov/JabbR,mogulTest1/Project13161127,ClarkL/1317on17jabbr,mogulTest1/Project13231106,mogultest2/Project13171010,mogultest2/Project92104,Org1106/Project13221113,meebey/JabbR,mogulTest1/Project13231205,mogultest2/Project131712... | JabbR/ContentProviders/SpotifyContentProvider.cs | JabbR/ContentProviders/SpotifyContentProvider.cs | using JabbR.ContentProviders.Core;
using System;
using System.Threading.Tasks;
namespace JabbR.ContentProviders
{
public class SpotifyContentProvider : CollapsibleContentProvider
{
protected override Task<ContentProviderResult> GetCollapsibleContent(ContentProviderHttpRequest request)
{
... | using JabbR.ContentProviders.Core;
using System;
using System.Threading.Tasks;
namespace JabbR.ContentProviders
{
public class SpotifyContentProvider : CollapsibleContentProvider
{
protected override Task<ContentProviderResult> GetCollapsibleContent(ContentProviderHttpRequest request)
{
... | mit | C# |
780ea1a1015eaba1653d8248888fd04f217e06b6 | mark constructor of abstract class protected | huoxudong125/Metrics.NET,huoxudong125/Metrics.NET,Recognos/Metrics.NET,Recognos/Metrics.NET,ntent-ad/Metrics.NET,ntent-ad/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,mnadel/Metrics.NET,alhardy/Metrics.NET,etishor/Metrics.NET,MetaG8/Metrics.NET,DeonHeyns/Metrics.NET,etishor/Metrics.NET,Liwoj/Metrics.NET,cvent/Met... | Src/Metrics/PerfCounters/BaseCounterRegristry.cs | Src/Metrics/PerfCounters/BaseCounterRegristry.cs |
using System;
namespace Metrics.PerfCounters
{
public abstract class BaseCounterRegristry
{
protected const string TotalInstance = "_Total";
protected const string GlobalInstance = "_Global_";
private readonly string prefix;
private readonly MetricsRegistry registry;
... |
using System;
namespace Metrics.PerfCounters
{
public abstract class BaseCounterRegristry
{
protected const string TotalInstance = "_Total";
protected const string GlobalInstance = "_Global_";
private readonly string prefix;
private readonly MetricsRegistry registry;
... | apache-2.0 | C# |
4a6a0d211dcb97f220f5ad63c05f01f6ccbf3b6b | Enlarge white list | leotsarev/hardcode-analyzer | Tsarev.Analyzer.Hardcode.Vat/VatHardcodeAnalyzer.cs | Tsarev.Analyzer.Hardcode.Vat/VatHardcodeAnalyzer.cs | using System.Collections.Immutable;
using System.Globalization;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Tsarev.Analyzer.Helpers;
namespace Tsarev.Analyzer.Hardcode.Vat
{
[Diagnos... | using System.Collections.Immutable;
using System.Globalization;
using System.Linq;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using Microsoft.CodeAnalysis.Diagnostics;
using Tsarev.Analyzer.Helpers;
namespace Tsarev.Analyzer.Hardcode.Vat
{
[Diagnos... | mit | C# |
ed4205cf205330ac490f37b741eba77e590f21e4 | Update TypeNameResolver.cs (#3393) | elastic/elasticsearch-net,elastic/elasticsearch-net | src/Nest/CommonAbstractions/Infer/TypeName/TypeNameResolver.cs | src/Nest/CommonAbstractions/Infer/TypeName/TypeNameResolver.cs | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Runtime.Serialization;
namespace Nest
{
public class TypeNameResolver
{
private readonly IConnectionSettingsValues _connectionSettings;
private readonly ConcurrentDictionary<Type, string> _typeNames = new ConcurrentDictionary<Typ... | using System;
using System.Collections.Concurrent;
using System.Linq;
using System.Runtime.Serialization;
namespace Nest
{
public class TypeNameResolver
{
private readonly IConnectionSettingsValues _connectionSettings;
private readonly ConcurrentDictionary<Type, string> _typeNames = new ConcurrentDictionary<Typ... | apache-2.0 | C# |
6c974cc3ff66781083c2194ec529ab344d53c92a | Add the ability to list customers via email address | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/Customers/StripeCustomerListOptions.cs | src/Stripe.net/Services/Customers/StripeCustomerListOptions.cs | using Newtonsoft.Json;
namespace Stripe
{
public class StripeCustomerListOptions : StripeListOptions
{
[JsonProperty("created")]
public StripeDateFilter Created { get; set; }
[JsonProperty("email")]
public string Email { get; set; }
}
} | using Newtonsoft.Json;
namespace Stripe
{
public class StripeCustomerListOptions : StripeListOptions
{
[JsonProperty("created")]
public StripeDateFilter Created { get; set; }
}
} | apache-2.0 | C# |
95ee59bf98dfeb3a3002c275a8f89402d98243ba | add scenario tests to show how to use | jwChung/Experimentalism,jwChung/Experimentalism | test/Experiment.IdiomsUnitTest/Scenario.cs | test/Experiment.IdiomsUnitTest/Scenario.cs | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Ploeh.Albedo;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
namespace Jwc.Experiment.Idioms
{
public class Scenario
{
[FirstClassTheorem]
public IEnumerable<ITestCase> GuardClauseAssertionVerifiesGua... | using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
namespace Jwc.Experiment.Idioms
{
public class Scenario
{
[FirstClassTheorem]
public IEnumerable<ITestCase> GuardClauseAssertionVerifiesGuardedClass()
... | mit | C# |
21601b2697a445ee9725d7525ada6c88834941e1 | Add bootstrap extension. (Adds class="table") | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Controllers/AnalysisController.cs | Anlab.Mvc/Controllers/AnalysisController.cs | using System.Linq;
using System.Threading.Tasks;
using Anlab.Core.Data;
using Anlab.Core.Domain;
using AnlabMvc.Models.Analysis;
using Markdig;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace AnlabMvc.Controllers
{
public class AnalysisController : Controller
{
private re... | using System.Linq;
using System.Threading.Tasks;
using Anlab.Core.Data;
using Anlab.Core.Domain;
using AnlabMvc.Models.Analysis;
using Markdig;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
namespace AnlabMvc.Controllers
{
public class AnalysisController : Controller
{
private re... | mit | C# |
5032cd582349392ada18f5c85c1155d7166a3464 | Make driver name and version static properties constants and use dictionary structure for connections to simplify their retrieval. | yojimbo87/ArangoDB-NET,kangkot/ArangoDB-NET | src/Arango/Arango.Client/API/ArangoClient.cs | src/Arango/Arango.Client/API/ArangoClient.cs | using System.Collections.Generic;
using System.Linq;
using Arango.Client.Protocol;
namespace Arango.Client
{
public static class ArangoClient
{
private static Dictionary<string, Connection> _connections = new Dictionary<string, Connection>();
public const string DriverName = "ArangoD... | using System.Collections.Generic;
using System.Linq;
using Arango.Client.Protocol;
namespace Arango.Client
{
public static class ArangoClient
{
private static List<Connection> _connections = new List<Connection>();
public static string DriverName
{
get { return ... | mit | C# |
a3c8060afd3eccfc126ca54a76b32c2b39267520 | Update AssemblyInfo.cs | serilog/serilog-sinks-reflectinsight | src/Serilog.Sinks.ReflectInsight/Properties/AssemblyInfo.cs | src/Serilog.Sinks.ReflectInsight/Properties/AssemblyInfo.cs | // Copyright 2016 Serilog 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 agre... | // Copyright 2016 Serilog 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 agr... | apache-2.0 | C# |
7905d085f91dccab832b0cdfe0d76530e75eb702 | Read in post data from the data store | VenusInterns/BlogTemplate,VenusInterns/BlogTemplate,VenusInterns/BlogTemplate | BlogTemplate/Pages/Post.cshtml.cs | BlogTemplate/Pages/Post.cshtml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using BlogTemplate.Models;
namespace BlogTemplate.Pages
{
public class PostModel : PageModel
{
private Blog _blog;
public PostModel(Blog blog)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
using BlogTemplate.Models;
namespace BlogTemplate.Pages
{
public class PostModel : PageModel
{
private Blog _blog;
public PostModel(Blog blog)
{
... | mit | C# |
10ccb89270b000c4b712ad8514c1b76ae18e6213 | Update AssemblyInfo.cs | wattsm/stateful-akka-actors | CSharp/Properties/AssemblyInfo.cs | CSharp/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("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("CS... | mit | C# |
55a31123864b7e5ba544b0e176f44aacc5f3b5bf | Remove documentation for SnapshotTtlMillis | hudl/Mjolnir | Hudl.Mjolnir/Config/BreakerConfiguration.cs | Hudl.Mjolnir/Config/BreakerConfiguration.cs | namespace Hudl.Mjolnir.Config
{
public class BreakerConfiguration
{
/// <summary>
/// Counting Window - A Breakers monitors error counts within a short, non-rolling window of time, resetting
/// counts when the window ends.
/// </summary>
public long WindowMillis { get;... | namespace Hudl.Mjolnir.Config
{
public class BreakerConfiguration
{
/// <summary>
/// Counting Window - A Breakers monitors error counts within a short, non-rolling window of time, resetting
/// counts when the window ends.
/// </summary>
public long WindowMillis { get;... | apache-2.0 | C# |
9632df2b058cdd0d6554dfae41654dc36255ee20 | Add missing disk image to Disk tetsts | rolfmichelsen/dragontools | DragonTools.test/Disk/DiskTest.cs | DragonTools.test/Disk/DiskTest.cs | /*
Copyright 2011-2020 Rolf Michelsen
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 ... | /*
Copyright 2011-2020 Rolf Michelsen
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 ... | apache-2.0 | C# |
6355d67d5bdedbe662f32c6f5311bb7c6262bbf2 | Update AssemblyInfo.cs | nilproject/NiL.JS,Oceanswave/NiL.JS,Oceanswave/NiL.JS,nilproject/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.InteropServices;
#if DEV
[assembly: AssemblyTitleAttribute("NiL.JS for Developers")]
[assembly: AssemblyProductAttribute("NiL.JS Dev")]
#else
[assembly: AssemblyTitleAttribute("NiL.JS")]
[assembly: AssemblyProductAttribute("NiL.JS")]
... | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if DEV
[assembly: AssemblyTitleAttribute("NiL.JS for Developers")]
[assembly: AssemblyProductAttribute("NiL.JS Dev")]
#else
[assembly: AssemblyTitleAttribute("NiL.JS")]
[assembly: AssemblyProductAttribute("NiL.JS")]
... | bsd-3-clause | C# |
72ceaf844054e4d9e37a615e7c27f137c28e8d23 | Edit Actor hægt núna | bergthor13/Skermstafir,bergthor13/Skermstafir,bergthor13/Skermstafir | Skermstafir/Repositories/SubtitleRepository.cs | Skermstafir/Repositories/SubtitleRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Skermstafir.Models;
using Skermstafir.Interfaces;
namespace Skermstafir.Repositories
{
public class SubtitleRepository : ISubtitleRepository
{
public SkermData db = new SkermData();
// Add a SubtitleModel obje... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Skermstafir.Models;
using Skermstafir.Interfaces;
namespace Skermstafir.Repositories
{
public class SubtitleRepository : ISubtitleRepository
{
public SkermData db = new SkermData();
// Add a SubtitleModel o... | mit | C# |
a868486d84a0ea8f4abe1a56952481a8f6e08c99 | check properties on previewimage | mono/exiv2-sharp,mono/exiv2-sharp,mono/exiv2-sharp,mono/exiv2-sharp | samples/Previews.cs | samples/Previews.cs | /*
* ExifComment.cs: c# port of http://www.exiv2.org/doc/exifcomment_8cpp-example.html
*
* Author(s):
* Stephane Delcroix <stephane@delcroix.org>
*
* This is free software. See COPYING for details
*/
using System;
using Exiv2;
namespace Sample
{
public class ExifComment
{
static void Main (string [] args)... | /*
* ExifComment.cs: c# port of http://www.exiv2.org/doc/exifcomment_8cpp-example.html
*
* Author(s):
* Stephane Delcroix <stephane@delcroix.org>
*
* This is free software. See COPYING for details
*/
using System;
using Exiv2;
namespace Sample
{
public class ExifComment
{
static void Main (string [] args)... | mit | C# |
76794315364615203504cca311377e503b95678d | Refactor Dependency to use the helper methods | jamesqo/typed-xaml | src/Typed.Xaml/Dependency.cs | src/Typed.Xaml/Dependency.cs | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Data;
using Typed.Xaml.Internal;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace Typed.Xaml
{
public static class Dependency
{
public static DependencyProperty Register<T, TOwner>(string name, Prope... | using System;
using System.Collections.Generic;
using System.Windows;
using System.Windows.Data;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Data;
namespace Typed.Xaml
{
public static class Dependency
{
public static DependencyProperty Register<T, TOwner>(string name, PropertyChangedCallback<T, TOwne... | mit | C# |
f9799911e405d1c90ef29f517cf9d327e86ce528 | Remove unused method | mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection,mattgwagner/Cash-Flow-Projection | src/Cash-Flow-Projection/Models/Balance.cs | src/Cash-Flow-Projection/Models/Balance.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace Cash_Flow_Projection.Models
{
public static class Balance
{
public static Decimal CurrentBalance(this IEnumerable<Entry> entries, Account account = Account.Cash)
{
return GetLastBalanceEntry(entries, accou... | using System;
using System.Collections.Generic;
using System.Linq;
namespace Cash_Flow_Projection.Models
{
public static class Balance
{
public static Decimal CurrentBalance(this IEnumerable<Entry> entries, Account account = Account.Cash)
{
return GetLastBalanceEntry(entries, accou... | mit | C# |
5ac4ce32a28ba77acc0f09cfe62f7b44ac60945e | Add small todo about why entryfile is not decoded right | villermen/runescape-cache-tools,villermen/runescape-cache-tools | RuneScapeCacheToolsTests/Tests/FileTypesTests/EntryFileTests.cs | RuneScapeCacheToolsTests/Tests/FileTypesTests/EntryFileTests.cs | using System.Linq;
using RuneScapeCacheToolsTests.Fixtures;
using Villermen.RuneScapeCacheTools.Cache;
using Villermen.RuneScapeCacheTools.Cache.FileTypes;
using Xunit;
namespace Villermen.RuneScapeCacheTools.Tests.Tests.FileTypesTests
{
[Collection(TestCacheCollection.Name)]
public class EntryFileTests
{... | using System.Linq;
using RuneScapeCacheToolsTests.Fixtures;
using Villermen.RuneScapeCacheTools.Cache;
using Villermen.RuneScapeCacheTools.Cache.FileTypes;
using Xunit;
namespace Villermen.RuneScapeCacheTools.Tests.Tests.FileTypesTests
{
[Collection(TestCacheCollection.Name)]
public class EntryFileTests
{... | mit | C# |
7ded95f6be9d5b479e240b0bc9ab06a1ef26e542 | use timeout parameter in spinwait | jmservera/Rover,peejster/Rover | Rover/UltrasonicDistanceSensor.cs | Rover/UltrasonicDistanceSensor.cs | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Windows.Devices.Gpio;
namespace Rover
{
public class UltrasonicDistanceSensor
{
private readonly GpioPin _gpioPinTrig;
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
... | using System;
using System.Diagnostics;
using System.Threading;
using System.Threading.Tasks;
using Windows.Devices.Gpio;
namespace Rover
{
public class UltrasonicDistanceSensor
{
private readonly GpioPin _gpioPinTrig;
// ReSharper disable once PrivateFieldCanBeConvertedToLocalVariable
... | mit | C# |
e5b2d02add5c7d3070810da2b2b551df463bd36a | Remove support for disableSqliteLogging. | Faithlife/System.Data.SQLite,Faithlife/System.Data.SQLite | src/System.Data.SQLite/SQLiteLog.cs | src/System.Data.SQLite/SQLiteLog.cs | namespace System.Data.SQLite
{
public static class SQLiteLog
{
/// <summary>
/// This event is raised whenever SQLite raises a logging event.
/// Note that this should be set as one of the first things in the
/// application.
/// </summary>
public static event SQLiteLogEventHandler Log
{
add
{
... | namespace System.Data.SQLite
{
public static class SQLiteLog
{
/// <summary>
/// This event is raised whenever SQLite raises a logging event.
/// Note that this should be set as one of the first things in the
/// application.
/// </summary>
public static event SQLiteLogEventHandler Log
{
add
{
... | mit | C# |
f408984d493411a6fa90ef24a1ed6f2dbb4f67a0 | Add optional max distance to ColoumbForce. | drewnoakes/boing | Boing/Forces/ColoumbForce.cs | Boing/Forces/ColoumbForce.cs | namespace Boing
{
public sealed class ColoumbForce : IGlobalForce
{
public ColoumbForce(float repulsion = 20000, float maxDistance = float.MaxValue)
{
Repulsion = repulsion;
MaxDistance = maxDistance;
}
public float Repulsion { get; set; }
public ... | // ReSharper disable CompareOfFloatsByEqualityOperator
namespace Boing
{
public sealed class ColoumbForce : IGlobalForce
{
public ColoumbForce(float repulsion = 20000)
{
Repulsion = repulsion;
}
public float Repulsion { get; set; }
public void ApplyTo(Simul... | apache-2.0 | C# |
da6b71e06bbc11d12040eb585e5d8f779e6a591b | remove unuse code | CatLib/Framework,yb199478/catlib | CatLib.VS/CatLib/Core/App.cs | CatLib.VS/CatLib/Core/App.cs | /*
* This file is part of the CatLib package.
*
* (c) Yu Bin <support@catlib.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
using System;
using System.Reflection;
using CatLib.API;
namespac... | /*
* This file is part of the CatLib package.
*
* (c) Yu Bin <support@catlib.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* Document: http://catlib.io/
*/
using System;
using System.Reflection;
using CatLib.API;
namespac... | unknown | C# |
9701bf15fc66c36727eb1e60c265f0bcfa8c9e75 | Remove reference to obsolete Microsoft.Practices.ObjectBuilder2 | grantcolley/authorisationmanager,grantcolley/authorisationmanager,grantcolley/authorisationmanager,grantcolley/authorisationmanager | UI/WPF/Model/AuthorisationManagerService.cs | UI/WPF/Model/AuthorisationManagerService.cs | using System.Collections.Generic;
using System.Linq;
using DevelopmentInProgress.AuthorisationManager.Service;
using DevelopmentInProgress.DipSecure;
namespace DevelopmentInProgress.AuthorisationManager.WPF.Model
{
public class AuthorisationManagerService
{
private readonly IAuthorisationManagerServic... | using System.Collections.Generic;
using System.Collections.ObjectModel;
using DevelopmentInProgress.AuthorisationManager.Service;
using DevelopmentInProgress.DipSecure;
using Microsoft.Practices.ObjectBuilder2;
namespace DevelopmentInProgress.AuthorisationManager.WPF.Model
{
public class AuthorisationManagerServi... | apache-2.0 | C# |
7b92e6ef15212d29525220d21ce8c035cebfe304 | Implement WpfDesktopBackend.GetScaleFactor | TheBrainTech/xwt,residuum/xwt,antmicro/xwt,hwthomas/xwt,steffenWi/xwt,directhex/xwt,sevoku/xwt,mminns/xwt,iainx/xwt,cra0zy/xwt,lytico/xwt,mono/xwt,akrisiun/xwt,mminns/xwt,hamekoz/xwt | Xwt.WPF/Xwt.WPFBackend/WpfDesktopBackend.cs | Xwt.WPF/Xwt.WPFBackend/WpfDesktopBackend.cs | //
// WpfDesktopBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restric... | //
// WpfDesktopBackend.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restric... | mit | C# |
6ee25c19463d5bfeaeae7ca0c16cf40a72e73140 | remove warning | Pondidum/Stronk,Pondidum/Stronk | src/Stronk.Source.Consul.Tests/RequiresConsulFactAttribute.cs | src/Stronk.Source.Consul.Tests/RequiresConsulFactAttribute.cs | using System;
using Consul;
using Xunit;
namespace Stronk.Source.Consul.Tests
{
public class RequiresConsulFactAttribute : FactAttribute
{
private static readonly Lazy<bool> IsAvailable = new Lazy<bool>(() =>
{
using (var client = new ConsulClient())
{
try
{
client.KV.List("").Wait();
re... | using System;
using Consul;
using Xunit;
namespace Stronk.Source.Consul.Tests
{
public class RequiresConsulFactAttribute : FactAttribute
{
private static readonly Lazy<bool> IsAvailable = new Lazy<bool>(() =>
{
using (var client = new ConsulClient())
{
try
{
client.KV.List("").Wait();
re... | lgpl-2.1 | C# |
bff103082091870120a605a80833e29f62916309 | Increase version to 0.2.0.0. | TallAmbitions/Gitnub | source/AssemblyInfo.cs | source/AssemblyInfo.cs | using System;
using System.Reflection;
using System.Runtime.InteropServices;
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior an... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.225
//
// Changes to this file may cause incorrect behavior an... | mit | C# |
ef76d72eb63b8e5612898bc133f63fc217fbf09e | Add DB Test | faint32/snowflake-1,RonnChyran/snowflake,SnowflakePowered/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake,RonnChyran/snowflake,RonnChyran/snowflake,faint32/snowflake-1,SnowflakePowered/snowflake | Snowflake.Core.Init/Form1.cs | Snowflake.Core.Init/Form1.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Snowflake.Core;
using Snowflake.Information.Platform;
using Snowflake.Information.Game;
using Snowf... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Snowflake.Core;
using Snowflake.Information.Platform;
using Snowflake.Information.Game;
using Snowf... | mpl-2.0 | C# |
035f3b3108794713923c8a55458f8684e6175644 | Fix silliness | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Common/Time/TimeRetrieverNist.cs | Common/Time/TimeRetrieverNist.cs | using System;
using System.Globalization;
using System.IO;
using System.Net.Sockets;
namespace LunaCommon.Time
{
internal static class TimeRetrieverNist
{
internal static DateTime? GetNistTime()
{
using (var client = new TcpClient("time.nist.gov", 13))
using (var stream... | using System;
using System.Globalization;
using System.IO;
using System.Net.Sockets;
namespace LunaCommon.Time
{
internal static class TimeRetrieverNist
{
internal static DateTime? GetNistTime()
{
using (var client = new TcpClient("time.nist.gov", 13))
using (var stream... | mit | C# |
c4122c2a5283788afd52f82693a763284dceb37a | Fix build break | lgolding/auto-scale,lgolding/auto-scale-formula,lgolding/auto-scale-formula,lgolding/auto-scale | AutoScaleLanguageService/Syntax/ParenthesizedExpressionNode.cs | AutoScaleLanguageService/Syntax/ParenthesizedExpressionNode.cs | // Copyright (c) Laurence J. Golding. All rights reserved. Licensed under the Apache License, Version 2.0. See the LICENSE file in the project root for license information.
using System;
namespace Lakewood.AutoScale.Syntax
{
public sealed class ParenthesizedExpressionNode : SyntaxNode, IEquatable<ParenthesizedExp... | // Copyright (c) Laurence J. Golding. All rights reserved. Licensed under the Apache License, Version 2.0. See the LICENSE file in the project root for license information.
using System;
namespace Lakewood.AutoScale.Syntax
{
public sealed class ParenthesizedExpressionNode : SyntaxNode, IEquatable<ParenthesizedExp... | apache-2.0 | C# |
0d6b1f634a31791dc58ba2fbc1c0a80a3b640d4c | Edit footer. | MarioZisov/Baskerville,MarioZisov/Baskerville,MarioZisov/Baskerville | BaskervilleWebsite/Baskerville.App/Views/Shared/_Footer.cshtml | BaskervilleWebsite/Baskerville.App/Views/Shared/_Footer.cshtml | <!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-md-12"> <span class="copyright">Copyright © @DateTime.Now.Year - Baskerville </span> </div>
</div>
</div>
<!-- /.container -->
</footer>
<!-- /.Footer --> | <!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-md-12"> <span class="copyright">Copyright ©<a href="http://designify.me/" target="_blank">Designify.me</a></span> </div>
</div>
</div>
<!-- /.container -->
</footer>
<!-- /.Footer --> | apache-2.0 | C# |
33f809041f5f75ee8a5b7c6a18a3e16d88b5a7c6 | Add defulat constructor and add day as an attribute | lukecahill/NutritionTracker | food_tracker/NutritionItem.cs | food_tracker/NutritionItem.cs | using System.ComponentModel.DataAnnotations;
namespace food_tracker {
public class NutritionItem {
[Key]
public int NutritionItemId { get; set; }
public string name { get; set; }
public string dayId { get; set; }
public double calories { get; set; }
public double ca... | namespace food_tracker {
public class NutritionItem {
public string name { get; set; }
public double calories { get; set; }
public double carbohydrates { get; set; }
public double sugars { get; set; }
public double fats { get; set; }
public double saturatedFats { get... | mit | C# |
ea83bea3b52b7149c9bef83ef6e7437849ed41dc | Rename DBSet. | jamiehumphries/Elmah.SqlServer.EFInitializer,jamiehumphries/Elmah.SqlServer.EFInitializer,Leon-O/Elmah.SqlServer.EFInitializer | Elmah.SqlServer.EFInitializer/ElmahContext.cs | Elmah.SqlServer.EFInitializer/ElmahContext.cs | namespace Elmah.SqlServer.EFInitializer
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
public class ElmahContext : DbContext
{
private ElmahContext(string nameOrConnectionString) : base(... | namespace Elmah.SqlServer.EFInitializer
{
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity;
public class ElmahContext : DbContext
{
private ElmahContext(string nameOrConnectionString) : base(... | mit | C# |
ce7689b8151eec607c964c0e005acd975af8728d | Add before notify to client interface | bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet | src/Bugsnag/IClient.cs | src/Bugsnag/IClient.cs | using Bugsnag.Payload;
namespace Bugsnag
{
public interface IClient
{
void Notify(System.Exception exception, Request request = null);
void Notify(System.Exception exception, Severity severity, Request request = null);
void Notify(System.Exception exception, HandledState severity, Request request = nul... | using Bugsnag.Payload;
namespace Bugsnag
{
public interface IClient
{
void Notify(System.Exception exception, Request request = null);
void Notify(System.Exception exception, Severity severity, Request request = null);
void Notify(System.Exception exception, HandledState severity, Request request = nul... | mit | C# |
245144a3878cd1068dba492cfdb38c864298970e | Add support to set thread priority | c0nnex/SPAD.neXt,c0nnex/SPAD.neXt | SPAD.Interfaces/Base/ISPADBackgroundWorker.cs | SPAD.Interfaces/Base/ISPADBackgroundWorker.cs | using System;
using System.Threading;
namespace SPAD.neXt.Interfaces.Base
{
public interface ISPADBackgroundThread
{
string WorkerName { get; }
bool IsRunning { get; }
TimeSpan Interval { get; }
bool ScheduleOnTimeout { get; }
EventWaitHandle SignalHandle { get; }
... | using System;
using System.Threading;
namespace SPAD.neXt.Interfaces.Base
{
public interface ISPADBackgroundThread
{
string WorkerName { get; }
bool IsRunning { get; }
TimeSpan Interval { get; }
bool ScheduleOnTimeout { get; }
EventWaitHandle SignalHandle { get; }
... | mit | C# |
27938ec0a93333a89e2bba81cb020005addb170b | Add LazyFoldRight correctly | sharper-library/Sharper.C.Enumerable | Sharper.C.Enumerable/Data/EnumerableModule.cs | Sharper.C.Enumerable/Data/EnumerableModule.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Sharper.C.Control;
namespace Sharper.C.Enumerable.Data
{
using static TrampolineModule;
public static class EnumerableModule
{
public static B FoldLeft<A, B>(this IEnumerable<A> e, B x, Func<B, A, B> f)
=>
e.Aggregate(x, f);
... | using System;
using System.Collections.Generic;
using System.Linq;
using Sharper.C.Control;
namespace Sharper.C.Enumerable.Data
{
using static TrampolineModule;
public static class EnumerableModule
{
public static B FoldLeft<A, B>(this IEnumerable<A> e, B x, Func<B, A, B> f)
=>
e.Aggregate(x, f);
... | mit | C# |
d3c281a2378dbdce26ae4b3e174879a3fff33990 | refactor JsonUtils | yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples,yuanrui/Examples | Simple.ServiceBus.Common/Utility/JsonUtils.cs | Simple.ServiceBus.Common/Utility/JsonUtils.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using Newtonsoft.Json.Serialization;
namespace Simple.ServiceBus.Utility
{
public static class JsonUtils
{... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
namespace Simple.ServiceBus.Utility
{
public static class JsonUtils
{
private static readonly JsonConverter _defaultConverter = new IsoDateTimeConverter() { Da... | apache-2.0 | C# |
2178edc8a215f5ae78f4978d535ecdfc970cc1b5 | use the binary path instead of the current dir to resolve LibreOffice | Reflexe/doc_to_pdf,Reflexe/doc_to_pdf,Reflexe/doc_to_pdf,Reflexe/doc_to_pdf,Reflexe/doc_to_pdf,Reflexe/doc_to_pdf,Reflexe/doc_to_pdf,Reflexe/doc_to_pdf | main.cs | main.cs | using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
using System.Reflection;
namespace DocToPdf
{
public class LibreOfficeFailedException : Exception
{
public LibreOfficeFailedException(int exitCode)
: base(string.Format("LibreOffice has failed with ... | using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
namespace DocToPdf
{
public class LibreOfficeFailedException : Exception
{
public LibreOfficeFailedException(int exitCode)
: base(string.Format("LibreOffice has failed with {}", exitCode))
... | mpl-2.0 | C# |
902a0a3255d2773988e74eaa27dc9a061c79b56d | Update max combo test value | ppy/osu,peppy/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,peppy/osu | osu.Game.Rulesets.Mania.Tests/ManiaDifficultyCalculatorTest.cs | osu.Game.Rulesets.Mania.Tests/ManiaDifficultyCalculatorTest.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.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Mania.Difficulty;
using osu.Game.Rulesets.Mania.Mods;
using os... | // 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.Game.Beatmaps;
using osu.Game.Rulesets.Difficulty;
using osu.Game.Rulesets.Mania.Difficulty;
using osu.Game.Rulesets.Mania.Mods;
using os... | mit | C# |
b724ed9d5f9299befb213f791f5ab5157cfb2784 | Update BoundsLine.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | src/Core2D/Editor/Bounds/Shapes/BoundsLine.cs | src/Core2D/Editor/Bounds/Shapes/BoundsLine.cs | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Core2D.Shapes;
using Spatial;
namespace Core2D.Editor.Bounds.Shapes
{
public class BoundsLine : IBounds
... | // Copyright (c) Wiesław Šoltés. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using Core2D.Shapes;
using Spatial;
namespace Core2D.Editor.Bounds.Shapes
{
public class BoundsLine : IBounds
... | mit | C# |
b1a4f1aad61d7a07f5eb97d23d8ab16990f00e61 | add constructor overload | Research-Institute/json-api-dotnet-core,Research-Institute/json-api-dotnet-core,json-api-dotnet/JsonApiDotNetCore | src/JsonApiDotNetCore/Models/AttrAttribute.cs | src/JsonApiDotNetCore/Models/AttrAttribute.cs | using System;
using System.Reflection;
using JsonApiDotNetCore.Internal;
namespace JsonApiDotNetCore.Models
{
public class AttrAttribute : Attribute
{
public AttrAttribute(string publicName)
{
PublicAttributeName = publicName;
}
public AttrAttribute(string publicNam... | using System;
using System.Reflection;
using JsonApiDotNetCore.Internal;
namespace JsonApiDotNetCore.Models
{
public class AttrAttribute : Attribute
{
public AttrAttribute(string publicName)
{
PublicAttributeName = publicName;
}
public string PublicAttributeName { g... | mit | C# |
eb8cadd497d0ad074ed8883ab1b56d809a3b8969 | Update build properties with correct data | jdsandifer/DataStats | DataStats/Properties/AssemblyInfo.cs | DataStats/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("Da... | 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("Da... | mit | C# |
4ee180cbca7296f0a60b1596d916585914396c5d | Improve hyperlink detection | danielchalmers/DesktopWidgets | DesktopWidgets/Helpers/LinkHelper.cs | DesktopWidgets/Helpers/LinkHelper.cs | using System.Text.RegularExpressions;
namespace DesktopWidgets.Helpers
{
internal static class LinkHelper
{
public static bool IsHyperlink(string link)
{
return Regex.IsMatch(link, @"^((http[s]?:\/\/)|(www.)).+$");
}
}
} | namespace DesktopWidgets.Helpers
{
internal static class LinkHelper
{
public static bool IsHyperlink(string link)
{
return link.StartsWith("http") || link.StartsWith("www.");
}
}
} | apache-2.0 | C# |
31b34c93f0f066214d2da29f4f569278318a1cd8 | Remove permissions from assemblyinfo | Cheesebaron/SlidingUpPanel,Cheesebaron/SlidingUpPanel | src/SlidingUpPanel/Properties/AssemblyInfo.cs | src/SlidingUpPanel/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... | apache-2.0 | C# |
f85e5c24282928646b0ce3d40bda2694e18c70c2 | Add unknown file version placeholder | kerzyte/OWLib,overtools/OWLib | OWLib/Properties/AssemblyInfo.cs | OWLib/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("OWLib")]
[assembly: AssemblyDescription("... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("OWLib")]
[assembly: AssemblyDescription("... | mit | C# |
dc7fbb52ae7bf94434dfe8860a415b87cec7b386 | fix culture | klinkby/klinkby.oauth2 | Properties/CommonAssemblyInfo.cs | Properties/CommonAssemblyInfo.cs | using System;
using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Mads Klinkby")]
[assembly: AssemblyProduct("Klinkby")]
[assembly: AssemblyCo... | using System;
using System.Reflection;
using System.Runtime.InteropServices;
#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif
[assembly: AssemblyCompany("Mads Klinkby")]
[assembly: AssemblyProduct("Klinkby")]
[assembly: AssemblyCopyright("Copyright © Ma... | mit | C# |
ae190ec33edfedbad45e2afb089c65ece2f5cd64 | Fix some example issue. | hhuwvom/New-Coroutine | Assets/Scripts/Coroutine/Sample/CoroutineTest.cs | Assets/Scripts/Coroutine/Sample/CoroutineTest.cs | using UnityEngine;
using System.Collections;
public class CoroutineTest : MonoBehaviour {
#region Coroutine
public IEnumerator RotateZTest(float angle, float time, Transform moveObj = null) {
if( moveObj == null )
moveObj = transform;
float fromeAngle = moveObj.localEulerAngles.z;
float nowTime = 0;
wh... | using UnityEngine;
using System.Collections;
public class CoroutineTest : MonoBehaviour {
#region Coroutine
public IEnumerator RotateZTest(float angle, float time, Transform moveObj = null) {
if( moveObj == null )
moveObj = transform;
float fromeAngle = moveObj.localEulerAngles.z;
float nowTime = 0;
wh... | mit | C# |
8a42d88793fe0592aa17c684f3c9e87a25c6a3ee | Fix whitespace inspections. | NeoAdonis/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,ppy/osu,UselessToucan/osu,peppy/osu,ppy/osu,smoogipoo/osu,UselessToucan/osu,smoogipoo/osu,NeoAdonis/osu,ppy/osu,peppy/osu | osu.Game/Overlays/Rankings/RankingsOverlayHeader.cs | osu.Game/Overlays/Rankings/RankingsOverlayHeader.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.Graphics;
using osu.Framework.Bindables;
using osu.Game.Rulesets;
using osu.Game.Users;
using osu.Game.Resources.Localisation.Web;
using osu.Framewor... | // 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.Graphics;
using osu.Framework.Bindables;
using osu.Game.Rulesets;
using osu.Game.Users;
using osu.Game.Resources.Localisation.Web;
using osu.Framewor... | mit | C# |
13fdcfbb291b3738522ade909e8ec7533eb17534 | remove testcode | tetrodoxin/NLog,ilya-g/NLog,ArsenShnurkov/NLog,vladikk/NLog,nazim9214/NLog,bjornbouetsmith/NLog,thomkinson/NLog,FeodorFitsner/NLog,hubo0831/NLog,vladikk/NLog,BrutalCode/NLog,RRUZ/NLog,RRUZ/NLog,Niklas-Peter/NLog,czema/NLog,tohosnet/NLog,pwelter34/NLog,ajayanandgit/NLog,campbeb/NLog,vladikk/NLog,czema/NLog,luigiberretti... | tests/NLog.UnitTests/LayoutRenderers/EventPropertiesTests.cs | tests/NLog.UnitTests/LayoutRenderers/EventPropertiesTests.cs | //
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the... | //
// Copyright (c) 2004-2011 Jaroslaw Kowalski <jaak@jkowalski.net>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// * Redistributions of source code must retain the... | bsd-3-clause | C# |
1f8040b3b13d2b503f8cdadb0865ab9f0bcbdd46 | Bump version to 0.6.8 | ar3cka/Journalist | src/SolutionInfo.cs | src/SolutionInfo.cs | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.6.8")]
[assembly: AssemblyInformationalVersionAttribute("0.6.8")]
[assembly: AssemblyFileVersionAttribute("0.6.8")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | // <auto-generated/>
using System.Reflection;
[assembly: AssemblyProductAttribute("Journalist")]
[assembly: AssemblyVersionAttribute("0.6.7")]
[assembly: AssemblyInformationalVersionAttribute("0.6.7")]
[assembly: AssemblyFileVersionAttribute("0.6.7")]
[assembly: AssemblyCompanyAttribute("Anton Mednonogov")]
namespace... | apache-2.0 | C# |
460169f3b42bcb206550d1c640731e3e6886ab4b | fix PrintLineState.Cancelled | AlejandroCano/extensions,signumsoftware/extensions,AlejandroCano/extensions,signumsoftware/framework,MehdyKarimpour/extensions,MehdyKarimpour/extensions,signumsoftware/extensions,signumsoftware/framework | Signum.Entities.Extensions/Printing/PrintLine.cs | Signum.Entities.Extensions/Printing/PrintLine.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Linq.Expressions;
using Signum.Utilities;
using Signum.Entities.Processes;
using Signum.Entities.Basics;
using Signum.Entities;
using Signum.Entities.Files;
using System.Reflection... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Linq.Expressions;
using Signum.Utilities;
using Signum.Entities.Processes;
using Signum.Entities.Basics;
using Signum.Entities;
using Signum.Entities.Files;
using System.Reflection... | mit | C# |
df2fbb536796179f0cea30679f4347a46a104a7f | Add raft for wipe tower. | jlewin/MatterSlice | raft.cs | raft.cs | /*
Copyright (c) 2013, Lars Brubaker
This file is part of MatterSlice.
MatterSlice 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, either version 3 of the License, or
(at your option) any later version.
MatterS... | /*
Copyright (c) 2013, Lars Brubaker
This file is part of MatterSlice.
MatterSlice 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, either version 3 of the License, or
(at your option) any later version.
MatterS... | agpl-3.0 | C# |
7187da36f325ae64977670c52a1402504b166acf | Remove duplicate line (copy paste bug). | shiftkey/SignalR,shiftkey/SignalR | SignalR.AspNet/AspNetResponse.cs | SignalR.AspNet/AspNetResponse.cs | using System.Threading.Tasks;
using System.Web;
using SignalR.Abstractions;
namespace SignalR.AspNet
{
public class AspNetResponse : IResponse
{
private readonly HttpRequestBase _request;
private readonly HttpResponseBase _response;
public AspNetResponse(HttpRequestBase request, HttpR... | using System.Threading.Tasks;
using System.Web;
using SignalR.Abstractions;
namespace SignalR.AspNet
{
public class AspNetResponse : IResponse
{
private readonly HttpRequestBase _request;
private readonly HttpResponseBase _response;
public AspNetResponse(HttpRequestBase request, HttpR... | mit | C# |
19984d539378a4a28b23fabddbd9c3bb92899e2a | Add test for dictionary extension tests | Hammerstad/Moya | TestMoya/Extensions/DictionaryExtensionsTests.cs | TestMoya/Extensions/DictionaryExtensionsTests.cs | namespace TestMoya.Extensions
{
using System;
using System.Collections.Generic;
using Xunit;
using Moya.Extensions;
public class DictionaryExtensionsTests
{
public Dictionary<string, string> originalDictionary = new Dictionary<string, string>
{
{ "key1", "value1" },... | namespace TestMoya.Extensions
{
using System;
using System.Collections.Generic;
using Xunit;
using Moya.Extensions;
public class DictionaryExtensionsTests
{
public Dictionary<string, string> originalDictionary = new Dictionary<string, string>
{
{ "key1", "value1" },... | mit | C# |
f77ac25e9cf90e4373760619fa467b648fb053b9 | Format file. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | src/MitternachtBot/Services/Database/Repositories/Impl/QuoteRepository.cs | src/MitternachtBot/Services/Database/Repositories/Impl/QuoteRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Extensions;
using Mitternacht.Services.Database.Models;
using System.Linq.Expressions;
namespace Mitternacht.Services.Database.Repositories.Impl {
public class QuoteRepository : Repository<Quote>,... | using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.EntityFrameworkCore;
using Mitternacht.Extensions;
using Mitternacht.Services.Database.Models;
using System.Linq.Expressions;
namespace Mitternacht.Services.Database.Repositories.Impl
{
public class QuoteRepository : Repository<Quot... | mit | C# |
fc316a1f421c4809080e43d1559fac32306cead0 | Rename things in Rect/IntRect to follow C# naming conventions. | rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D,rokups/Urho3D | CSharp/Urho3D/CSharp/Math/Rect.cs | CSharp/Urho3D/CSharp/Math/Rect.cs | using System;
using System.Runtime.InteropServices;
namespace Urho3D
{
[StructLayout(LayoutKind.Sequential)]
public struct Rect
{
/// Minimum vector.
public Vector2 Min;
/// Maximum vector.
public Vector2 Max;
public Rect(float minX, float minY, float maxX, float maxY)
{
Min ... | using System;
using System.Runtime.InteropServices;
namespace Urho3D
{
[StructLayout(LayoutKind.Sequential)]
public struct Rect
{
/// Minimum vector.
Vector2 min_;
/// Maximum vector.
Vector2 max_;
public Rect(float minX, float minY, float maxX, float maxY)
{
min_ = new Vecto... | mit | C# |
236573121eb3fea4ec5d4e1977b04944a121f4a6 | Add additional methods to interface | grantcolley/dipstate | DevelopmentInProgress.DipState/IDipState.cs | DevelopmentInProgress.DipState/IDipState.cs | using System;
using System.Collections.Generic;
namespace DevelopmentInProgress.DipState
{
public interface IDipState
{
int Id { get; }
string Name { get; }
bool IsDirty { get; }
bool InitialiseWithParent { get; }
DipStateType Type { get; }
DipStateStatus Status... | using System.Collections.Generic;
namespace DevelopmentInProgress.DipState
{
public interface IDipState
{
int Id { get; }
string Name { get; }
bool IsDirty { get; }
bool InitialiseWithParent { get; }
DipStateType Type { get; }
DipStateStatus Status { get; }
... | apache-2.0 | C# |
4de8a038da71fb7685edc2c2b9ebbdd264402fb4 | Bump dev version to 0.8 | hifi/monodevelop-justenoughvi,fadookie/monodevelop-justenoughvi | JustEnoughVi/Properties/AddinInfo.cs | JustEnoughVi/Properties/AddinInfo.cs | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"JustEnoughVi",
Namespace = "JustEnoughVi",
Version = "0.8"
)]
[assembly: AddinName("Just Enough Vi")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("Simplified Vi/Vim mode for MonoDevelop/Xamarin Studio.")]
[as... | using Mono.Addins;
using Mono.Addins.Description;
[assembly: Addin(
"JustEnoughVi",
Namespace = "JustEnoughVi",
Version = "0.7"
)]
[assembly: AddinName("Just Enough Vi")]
[assembly: AddinCategory("IDE extensions")]
[assembly: AddinDescription("Simplified Vi mode for MonoDevelop/Xamarin Studio.")]
[assemb... | mit | C# |
b167ee373da76ecfd657c022153a905a604bbff6 | Add comments to the GridRenderer | rev087/hivemind,mbbarange/hivemind | Editor/GridRenderer.cs | Editor/GridRenderer.cs | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace Hivemind {
public class GridRenderer {
Texture2D gridTex;
public static int width { get { return 120; } }
public static int height { get { return 120; } }
public static Vector2 step { get { return new Vector2(width / 10, height / 10... | using UnityEngine;
using UnityEditor;
using System.Collections;
namespace Hivemind {
public class GridRenderer {
Texture2D gridTex;
public static int width { get { return 120; } }
public static int height { get { return 120; } }
public static Vector2 step { get { return new Vector2(width / 10, height / 10... | mit | C# |
617230c76a05d8d6831049ab47949d836f64c035 | Increase version number to V1.3 for publishing | fredatgithub/GitAutoUpdate | GitAutoUpdateGUI/Properties/AssemblyInfo.cs | GitAutoUpdateGUI/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("GitAutoUpdateGUI")]
[assembly:... | using System.Reflection;
using System.Runtime.InteropServices;
// Les informations générales relatives à un assembly dépendent de
// l'ensemble d'attributs suivant. Changez les valeurs de ces attributs pour modifier les informations
// associées à un assembly.
[assembly: AssemblyTitle("GitAutoUpdateGUI")]
[assembly:... | mit | C# |
efb75d4423b351c6562714a76b3ceb8a81ec7291 | Make sure file is open before getting on with it. | gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT,gordonwatts/LINQtoROOT | LINQToTTreeHelpers/LINQToTreeHelpers/FutureUtils/FutureTFile.cs | LINQToTTreeHelpers/LINQToTreeHelpers/FutureUtils/FutureTFile.cs | using System;
using System.IO;
namespace LINQToTreeHelpers.FutureUtils
{
/// <summary>
/// Future TFile - really just a normal TFile, but gets written out in the future...
/// </summary>
public class FutureTFile : FutureTDirectory
{
private static ROOTNET.Interface.NTFile CreateO... | using System.IO;
namespace LINQToTreeHelpers.FutureUtils
{
/// <summary>
/// Future TFile - really just a normal TFile, but gets written out in the future...
/// </summary>
public class FutureTFile : FutureTDirectory
{
private static ROOTNET.Interface.NTFile CreateOpenFile(string ... | lgpl-2.1 | C# |
7f5eb125aa56dda2850db39cd3d3f44d67f1531f | Add ctor to Renderable | nrjohnstone/kata-nethack,sandermvanvliet/kata-nethack | KataNetHack.Console/Renderable.cs | KataNetHack.Console/Renderable.cs | namespace KataNetHack.Console
{
public class Renderable
{
public Renderable(IHaveLocation source, char representation, int zindex)
{
Source = source;
Representation = representation;
ZIndex = zindex;
}
public IHaveLocation Source { get; }
... | namespace KataNetHack.Console
{
public class Renderable
{
public IHaveLocation Source { get; }
public char Representation { get; }
public int ZIndex { get; }
}
} | mit | C# |
4ce556399f5b9d49c4bf6598980cc378f369e41e | Extend 'using' statement test | jonathanvdc/ecsc | tests/cs/using-statement/UsingStatement.cs | tests/cs/using-statement/UsingStatement.cs | using System;
public class Resource : IDisposable
{
public Resource()
{
Console.WriteLine("Creating resource");
}
public void Dispose()
{
Console.WriteLine("Disposing resource");
}
public override string ToString()
{
return "I lied. I actually don't manage any ... | using System;
public class Resource : IDisposable
{
public Resource()
{
Console.WriteLine("Creating resource");
}
public void Dispose()
{
Console.WriteLine("Disposing resource");
}
public override string ToString()
{
return "I lied. I actually don't manage any ... | mit | C# |
9e0ea27d06194f7c58bf739ebcde022a0ef1a86a | Drop down list on CSV upload | Alx666/MegatubeV2,Alx666/MegatubeV2,Alx666/MegatubeV2 | MegatubeV2/Views/Csv/Index.cshtml | MegatubeV2/Views/Csv/Index.cshtml |
@{
}
@using (Html.BeginForm("UploadChannels", "Csv", FormMethod.Post, new { @class = "m-t-3", id = "uploadChannelsForm" }))
{
<div class="form-group">
<div class="col-lg-3">
<fieldset>
<label>Select list</label>
<select id="myList">
... |
@{
}
@using (Html.BeginForm("UploadChannels", "Csv", FormMethod.Post, new { @class = "m-t-3", id = "uploadChannelsForm" }))
{
<div class="form-group">
<div class="col-lg-4">
<input class="form-control" type="file" name="channelsFile" size="40" placeholder="Load Channels" />
</div>
... | unlicense | C# |
f58a29320a2127d233cb72bcf584274d4e129db6 | rename test | nukedbit/pubsub | NukedBit.PubSub.Tests/HubTests.cs | NukedBit.PubSub.Tests/HubTests.cs | /*****************************************************************************
Copyright 2015 Sebastian Faltoni
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.a... | /*****************************************************************************
Copyright 2015 Sebastian Faltoni
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.a... | apache-2.0 | C# |
f7cdb45e751d888447e7576255fbb82a050831b5 | Rename factory method | mstrother/BmpListener | BmpListener/Bmp/BmpMessage.cs | BmpListener/Bmp/BmpMessage.cs | using System;
namespace BmpListener.Bmp
{
public abstract class BmpMessage
{
public BmpMessage(BmpHeader header, ref ArraySegment<byte> data)
{
BmpHeader = header;
PeerHeader = new BmpPeerHeader(data);
data = new ArraySegment<byte>(data.Array, 42, data.Array... | using System;
namespace BmpListener.Bmp
{
public abstract class BmpMessage
{
public BmpMessage(BmpHeader header, ref ArraySegment<byte> data)
{
BmpHeader = header;
PeerHeader = new BmpPeerHeader(data);
data = new ArraySegment<byte>(data.Array, 42, data.Array... | mit | C# |
c896c6c89b51dfcbb20caab1c8f9f81e186bcd18 | add support for ko in the 2.0.4.8 plugin | quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,quisquous/cactbot | CactbotOverlay/FFXIVPlugin.cs | CactbotOverlay/FFXIVPlugin.cs | using Advanced_Combat_Tracker;
using System;
namespace Cactbot {
public class FFXIVPlugin {
private ILogger logger_;
public FFXIVPlugin(ILogger logger) {
logger_ = logger;
}
public string GetLocaleString() {
switch (GetLanguageId()) {
case 1:
return "en";
case... | using Advanced_Combat_Tracker;
using System;
namespace Cactbot {
public class FFXIVPlugin {
private ILogger logger_;
public FFXIVPlugin(ILogger logger) {
logger_ = logger;
}
public string GetLocaleString() {
switch (GetLanguageId()) {
case 1:
return "en";
case... | apache-2.0 | C# |
53edf8eec270fbc50befa59d685c002ee2121b5c | Fix issue with misspelled commandservice | Daniele122898/SoraBot-v2,Daniele122898/SoraBot-v2 | SoraBot/SoraBot.Bot/Extensions/ServiceCollectionExtensions.cs | SoraBot/SoraBot.Bot/Extensions/ServiceCollectionExtensions.cs | using Discord;
using Discord.Commands;
using Discord.Rest;
using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using SoraBot.Data.Configurations;
namespace SoraBot.Bot.Extensions
{
public static class ServiceCollectionExtensions
{
public static ... | using Discord;
using Discord.Commands;
using Discord.Rest;
using Discord.WebSocket;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Options;
using SoraBot.Data.Configurations;
namespace SoraBot.Bot.Extensions
{
public static class ServiceCollectionExtensions
{
public static ... | agpl-3.0 | C# |
51ae0b61e47cf003af11809cad3ac97de8c55e1d | bump version | Fody/Anotar,mstyura/Anotar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("3.0.1")]
[assembly: AssemblyFileVersion("3.0.1")]
| using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("3.0.0")]
[assembly: AssemblyFileVersion("3.0.0")]
| mit | C# |
e314d1d016d89fbffca95a8168e75e41d21c20a7 | bump version | modulexcite/Anotar,distantcam/Anotar,mstyura/Anotar,Fody/Anotar | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("2.16.3")]
[assembly: AssemblyFileVersion("2.16.3")]
| using System.Reflection;
[assembly: AssemblyTitle("Anotar")]
[assembly: AssemblyProduct("Anotar")]
[assembly: AssemblyVersion("2.16.2")]
[assembly: AssemblyFileVersion("2.16.2")]
| mit | C# |
0d74802574b4c1deca11b8528fb359fcd77d41af | use statechanged event to effect change in viewmodels | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModelBase.cs | WalletWasabi.Gui/Controls/WalletExplorer/WalletViewModelBase.cs | using ReactiveUI;
using System;
using System.Diagnostics.CodeAnalysis;
using System.Reactive.Disposables;
using System.Reactive.Linq;
using WalletWasabi.Gui.ViewModels;
using WalletWasabi.Helpers;
using WalletWasabi.Wallets;
using WalletWasabi.Helpers;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class... | using ReactiveUI;
using System;
using WalletWasabi.Gui.ViewModels;
using System.Diagnostics.CodeAnalysis;
using WalletWasabi.Wallets;
using WalletWasabi.Helpers;
namespace WalletWasabi.Gui.Controls.WalletExplorer
{
public class WalletViewModelBase : ViewModelBase, IComparable<WalletViewModelBase>
{
private bool _i... | mit | C# |
ad3f3a89a100b7b489dec192e58a327280c4d7b9 | disable replace on log viewer | ikazuaki/im-only-resting,yagyemang/im-only-resting,yhtsnda/im-only-resting,ikazuaki/im-only-resting,yhtsnda/im-only-resting,yagyemang/im-only-resting,yagyemang/im-only-resting,krishnarajnairmk/im-only-resting,ikazuaki/im-only-resting,krishnarajnairmk/im-only-resting,krishnarajnairmk/im-only-resting,yhtsnda/im-only-rest... | Ior/Forms/LogViewer.cs | Ior/Forms/LogViewer.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 NLog;
using Swensen.Ior.Core;
namespace Swensen.Ior.Forms
{
public partial class LogViewer : ... | 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 NLog;
using Swensen.Ior.Core;
namespace Swensen.Ior.Forms
{
public partial class LogViewer : ... | apache-2.0 | C# |
462063f8a61927a2699f8332ef4ec2e5b6aba106 | save file | lohas1107/knn-on-air | Evaluation/Program.cs | Evaluation/Program.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Evaluation
{
class Program
{
static void Main(string[] args)
{
if (args.Count() == 0) return;
File.AppendAllText("test.txt", "... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Evaluation
{
class Program
{
static void Main(string[] args)
{
}
}
}
| mit | C# |
5d66edbbde3d9dbe49a840345f44d84557b71b72 | 完成递增(减)语句的生成器类。 :hotsprings: | Zongsoft/Zongsoft.Data | src/Common/Expressions/IncrementStatementBuilder.cs | src/Common/Expressions/IncrementStatementBuilder.cs | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | /*
* _____ ______
* /_ / ____ ____ ____ _________ / __/ /_
* / / / __ \/ __ \/ __ \/ ___/ __ \/ /_/ __/
* / /__/ /_/ / / / / /_/ /\_ \/ /_/ / __/ /_
* /____/\____/_/ /_/\__ /____/\____/_/ \__/
* /____/
*
* Authors:
* 钟峰(Popeye Zhong) <zongs... | lgpl-2.1 | C# |
ccb9b07f5752573c6f8d063e1e9946c96e0263fb | Fix for win7 null reference exception on start | auz34/js-studio | src/Examples/MyStudio/ViewModels/RibbonViewModel.cs | src/Examples/MyStudio/ViewModels/RibbonViewModel.cs | namespace MyStudio.ViewModels
{
using Catel;
using Catel.MVVM;
using MyStudio.Models;
using MyStudio.Services;
public class RibbonViewModel : ViewModelBase
{
private StudioStateModel model;
private ICommandsService commandsService;
public RibbonViewModel(StudioStateM... | namespace MyStudio.ViewModels
{
using Catel;
using Catel.MVVM;
using MyStudio.Models;
using MyStudio.Services;
public class RibbonViewModel : ViewModelBase
{
private StudioStateModel model;
private ICommandsService commandsService;
public RibbonViewModel(StudioStateM... | mit | C# |
e44cde07eaf8d2185242a0414947edcbb6e51195 | Add generic method to fetch a typed Response DTO if one was returned | nataren/NServiceKit,nataren/NServiceKit,nataren/NServiceKit,timba/NServiceKit,ZocDoc/ServiceStack,ZocDoc/ServiceStack,NServiceKit/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,meebey/ServiceStack,NServiceKit/NServiceKit,NServiceKit/NServiceKit,NServiceKit/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,ZocD... | src/ServiceStack.Common/Web/HttpResultExtensions.cs | src/ServiceStack.Common/Web/HttpResultExtensions.cs | using System;
using ServiceStack.Common.Utils;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.ServiceModel;
namespace ServiceStack.Common.Web
{
public static class HttpResultExtensions
{
/// <summary>
/// Shortcut to get the ResponseDTO whether it's bare or inside a IHttpResult
... | using System;
using ServiceStack.Common.Utils;
using ServiceStack.ServiceHost;
using ServiceStack.ServiceInterface.ServiceModel;
namespace ServiceStack.Common.Web
{
public static class HttpResultExtensions
{
/// <summary>
/// Shortcut to get the ResponseDTO whether it's bare or inside a IHttpResult
... | bsd-3-clause | C# |
7429304ca84a9b44a51a9ea69dd7f65b96d804cd | Add some logging to IdentityCache | tgstation/tgstation-server-tools,tgstation/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server | src/Tgstation.Server.Host/Security/IdentityCache.cs | src/Tgstation.Server.Host/Security/IdentityCache.cs | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security
{
/// <inheritdoc />
sealed class IdentityCache : IIdentityCache, IDisposable
{
/// <summary>
/// The <see cref="ILogger"/> for the <see cref="Identit... | using System;
using System.Collections.Generic;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security
{
/// <inheritdoc />
sealed class IdentityCache : IIdentityCache, IDisposable
{
readonly Dictionary<long, IdentityCacheObject> cachedIdentities;
public IdentityCache()
{
cachedIden... | agpl-3.0 | C# |
7d1b3680083080d83c0fd678fae8cc10c0924c88 | update address | MagnusTiberius/GigaBoom | LocationLib/Address.cs | LocationLib/Address.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LocationLib
{
public class Address
{
public int AddressID { get; set; }
public string Address1 { get; set; }
public string Address2 { get; set; }
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LocationLib
{
public class Address
{
public string Address1 { get; set; }
public string Address2 { get; set; }
public string City { get; set; }
public s... | mit | C# |
79bac93f43923567f4fe3e788455481e48898a52 | Update Veigar.cs | metaphorce/leaguesharp | MetaSmite/Champions/Veigar.cs | MetaSmite/Champions/Veigar.cs | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Veigar
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spell... | using System;
using LeagueSharp;
using LeagueSharp.Common;
using SharpDX;
namespace MetaSmite.Champions
{
public static class Veigar
{
internal static Spell champSpell;
private static Menu Config = MetaSmite.Config;
private static double totalDamage;
private static double spell... | mit | C# |
e41a001a2ea0e67dd44e7e4b53b42f194814f2f7 | Patch to fix CustomSet exercise (#622) | robkeim/xcsharp,exercism/xcsharp,ErikSchierboom/xcsharp,ErikSchierboom/xcsharp,exercism/xcsharp,robkeim/xcsharp | exercises/custom-set/CustomSet.cs | exercises/custom-set/CustomSet.cs | using System;
public class CustomSet
{
public CustomSet(params int[] values)
{
throw new NotImplementedException("You need to implement this function.");
}
public CustomSet Add(int value)
{
throw new NotImplementedException("You need to implement this function.");
}
publi... | using System;
public class CustomSet
{
public CustomSet(params int[] values)
{
throw new NotImplementedException("You need to implement this function.");
}
public CustomSet Insert(int value)
{
throw new NotImplementedException("You need to implement this function.");
}
pu... | mit | C# |
946178ca412762ff871d8ea7f4d0579b8eebaf76 | Remove useless `LocalisableDescription` | peppy/osu,peppy/osu,ppy/osu,peppy/osu,ppy/osu,ppy/osu | osu.Game/Scoring/ScoreRank.cs | osu.Game/Scoring/ScoreRank.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.
#nullable disable
using System.ComponentModel;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Scoring
{
public enu... | // 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.
#nullable disable
using System.ComponentModel;
using osu.Framework.Localisation;
using osu.Game.Resources.Localisation.Web;
namespace osu.Game.Scoring
{
public enu... | mit | C# |
512f87127f27dc379eff0b66dd40c83c35bcfbcd | update version | ttdoda/poderosa,Chandu/poderosa,Chandu/poderosa,poderosaproject/poderosa,ttdoda/poderosa,poderosaproject/poderosa,poderosaproject/poderosa,ttdoda/poderosa,Chandu/poderosa,poderosaproject/poderosa,poderosaproject/poderosa,ttdoda/poderosa | Plugin/VersionInfo.cs | Plugin/VersionInfo.cs | /*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: VersionInfo.cs,v 1.13 2012/06/09 15:06:58 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System.Tex... | /*
* Copyright 2004,2006 The Poderosa Project.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
*
* $Id: VersionInfo.cs,v 1.13 2012/06/09 15:06:58 kzmi Exp $
*/
using System;
using System.Collections.Generic;
using System.Tex... | apache-2.0 | C# |
95265d3d01d408bf3c782fb426cf7db6d740c932 | Simplify mouse button checks | Voxelgon/Voxelgon,Voxelgon/Voxelgon | Assets/Plugins/Voxelgon/CameraController.cs | Assets/Plugins/Voxelgon/CameraController.cs | using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour {
public float panSensitivity = 0.8f;
public float orbitSensitivity = 3f;
public float zoomSensativity = 1f;
public float zoomExpo = 1.1f;
public float minAltitude = 5;
public float maxAltitude = 85;
public float minZ... | using UnityEngine;
using System.Collections;
public class CameraController : MonoBehaviour {
public float panSensitivity = 0.8f;
public float orbitSensitivity = 3f;
public float zoomSensativity = 1f;
public float zoomExpo = 1.1f;
public float minAltitude = 5;
public float maxAltitude = 85;
public float minZ... | apache-2.0 | C# |
9929151bbd6ea9319a0afd2b55bd2044a0cfccbc | Remove unused test in RangeParserTests | Ruhrpottpatriot/SemanticVersion | test/SemanticVersionTest/Parser/RangeParserTests.cs | test/SemanticVersionTest/Parser/RangeParserTests.cs | namespace SemanticVersionTest.Parser
{
using System;
using System.Diagnostics;
using SemVersion.Parser;
using Xunit;
public class RangeParserTests
{
[Fact]
public void ThrowArgumentException_NullString()
{
var parser = new RangeParser();
Assert.Th... | namespace SemanticVersionTest.Parser
{
using System;
using System.Diagnostics;
using SemVersion.Parser;
using Xunit;
public class RangeParserTests
{
[Fact]
public void ThrowArgumentException_NullString()
{
var parser = new RangeParser();
Assert.Th... | mit | C# |
0229c1b65ee6722d2ccd0d7826237c08cc08cd5e | Update version to 4.0.0 | TheOtherTimDuncan/TOTD | SharedAssemblyInfo.cs | SharedAssemblyInfo.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: AssemblyConfigura... | 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: AssemblyConfigura... | mit | C# |
1446de88af4e44ad5c1882803de9beb49f7214ca | Improve answer | aloisdg/edx-csharp | edX/Module2/Program.cs | edX/Module2/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Module2
{
class Program
{
static void Main()
{
Print1();
Console.ReadLine();
}
static void Print1()
{
for (var i = 0; i < 8; i++)
for (var j = 0; j < 4; j++)
Con... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Module2
{
class Program
{
static void Main()
{
Print1();
Console.ReadLine();
}
static void Print1()
{
for (var i = 0; i < 8; i++)
for (var j = 0; j < 4; j++)
Con... | mit | C# |
f7c4e7161f2586a6f3e08fc787856913a371480a | Add Debug and Trace init logic | mono-soc-2012/Tasque,mono-soc-2012/Tasque,mono-soc-2012/Tasque | src/tasque/Program.cs | src/tasque/Program.cs | //
// Program.cs
//
// Author:
// Antonius Riha <antoniusriha@gmail.com>
//
// Copyright (c) 2012 Antonius Riha
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restri... | //
// Program.cs
//
// Author:
// Antonius Riha <antoniusriha@gmail.com>
//
// Copyright (c) 2012 Antonius Riha
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restri... | mit | C# |
abdd0dd02c110833480ffea52f444606e12cca5a | Change variables, add comments | natalya-k/algorithms | sort/QuickSort.cs | sort/QuickSort.cs | namespace Algorithms
{
static class QuickSort
{
public static void Run(int[] array)
{
Sort(array, 0, array.Length - 1);
}
private static void Sort(int[] array, int left, int right)
{
if (left < right)
{
int... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Algorithms
{
static class QuickSort
{
public static void Run(int[] array)
{
Sort(array, 0, array.Length - 1);
}
private stat... | mit | C# |
f6d6bc4187ec7fad11bfc98aeaf093fe4d1825b4 | include initial state | isse-augsburg/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp,maul-esel/ssharp,maul-esel/ssharp,isse-augsburg/ssharp,isse-augsburg/ssharp,maul-esel/ssharp | models/SelfOrganizingPillProduction/Modeling/PillContainer.cs | models/SelfOrganizingPillProduction/Modeling/PillContainer.cs | using System.Collections.Generic;
using SafetySharp.Modeling;
namespace SelfOrganizingPillProduction.Modeling
{
/// <summary>
/// A pill container which is filled with different ingredients.
/// </summary>
public class PillContainer : Component
{
public PillContainer(Recipe recipe)
... | using System.Collections.Generic;
using SafetySharp.Modeling;
namespace SelfOrganizingPillProduction.Modeling
{
/// <summary>
/// A pill container which is filled with different ingredients.
/// </summary>
public class PillContainer : Component
{
public PillContainer(Recipe recipe)
... | mit | C# |
d6eb5395411f0b514cbe171afc6d88af41f179bb | allow HttpContent object to pass through as a request body argument | dkackman/DynamicRestProxy,jamesholcomb/DynamicRestProxy,dkackman/DynamicRestProxy,jamesholcomb/DynamicRestProxy | DynamicRestProxy.Portable/ContentFactory.cs | DynamicRestProxy.Portable/ContentFactory.cs | using System.IO;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json;
namespace DynamicRestProxy.PortableHttpClient
{
static class ContentFactory
{
public static HttpContent Creat... | using System.IO;
using System.Linq;
using System.Text;
using System.Collections.Generic;
using System.Diagnostics;
using System.Net.Http;
using System.Net.Http.Headers;
using Newtonsoft.Json;
namespace DynamicRestProxy.PortableHttpClient
{
static class ContentFactory
{
public static HttpContent Creat... | apache-2.0 | C# |
831ae11c7e18545d83746e36a378d59cf678522b | Make the api changes public! | sceneskope/service-fabric-event-hubs | src/SceneSkope.ServiceFabric.EventHubs/EventHubConfiguration.cs | src/SceneSkope.ServiceFabric.EventHubs/EventHubConfiguration.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.EventHubs;
using ServiceFabric.Utilities;
namespace SceneSkope.ServiceFabric.EventHubs
{
public static class EventHubConfiguration
{
public static async Task<EventHubClient> GetEventHubClientAsync(string sectionN... | using System;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.EventHubs;
using ServiceFabric.Utilities;
namespace SceneSkope.ServiceFabric.EventHubs
{
public static class EventHubConfiguration
{
public static async Task<EventHubClient> GetEventHubClientAsync(string sectionN... | mit | C# |
81c2257780ed2bd8ee47a876aa96f002483b56d3 | update for string interpolation | BillWagner/TourOfCSharp6 | TourOfCSharp6/Point.cs | TourOfCSharp6/Point.cs | using static System.Math;
namespace TourOfCSharp6
{
public class Point
{
public Point(double x, double y)
{
X = x;
Y = y;
}
public double X { get; }
public double Y { get; }
public double Distance => Sqrt(X * X + Y * Y);
public o... | using static System.Math;
namespace TourOfCSharp6
{
public class Point
{
public Point(double x, double y)
{
X = x;
Y = y;
}
public double X { get; }
public double Y { get; }
public double Distance => Sqrt(X * X + Y * Y);
public o... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.