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 |
|---|---|---|---|---|---|---|---|---|
119806198b87453ed4abae004a253322096c9616 | Update OxygenLevelDisplay.cs (#2) | Pasukaru/SpaceEngineers-InGame-Scripts | OxygenLevelDisplay.cs | OxygenLevelDisplay.cs | using System;
using System.Collections.Generic;
using Sandbox.ModAPI.Ingame;
public class OxygenLevelDisplay
{
IMyGridTerminalSystem GridTerminalSystem = null;
#region CodeEditor
//************************ Oxygen Level Display ************************\\
// Build an LCD Panel (I recommend a wide one wi... | using System;
using System.Collections.Generic;
using Sandbox.ModAPI.Ingame;
public class OxygenLevelDisplay
{
IMyGridTerminalSystem GridTerminalSystem = null;
#region CodeEditor
//************************ Oxygen Level Display ************************\\
// Build an LCD Panel (I recommend a wide one w... | mit | C# |
bb58d24d7d187177a5fa142136a572e396fe2665 | Add save UIElement to stream snippet | DanieleScipioni/TestApp | TestAppUWP/Core/UIElementExtension.cs | TestAppUWP/Core/UIElementExtension.cs | using System;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Threading.Tasks;
using Windows.Graphics.Display;
using Windows.Graphics.Imaging;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media.Imaging;
namespace TestAppUWP.Core
{
// ReSharper disable once Inconsis... | using System;
using System.Threading.Tasks;
using Windows.Storage.Streams;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Media.Imaging;
namespace TestAppUWP.Core
{
// ReSharper disable once InconsistentNaming
public static class UIElementExtension
{
public static async Task<IBuffer> RenderTargetBit... | mit | C# |
ac5aba8e05287809240e4dc4e283d1297d234656 | add required to upload file | ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab,ucdavis/Anlab | Anlab.Mvc/Views/Lab/UpdateFromCompletedTests.cshtml | Anlab.Mvc/Views/Lab/UpdateFromCompletedTests.cshtml | @using Humanizer
@model AnlabMvc.Models.Order.OrderReviewModel
@{
ViewData["Title"] = "Confirmation";
}
@Html.Partial("_OrderDetails")
<form method="post" asp-controller="Lab" enctype="multipart/form-data" asp-action="UpdateFromCompletedTests" asp-route-id="@Model.Order.Id">
<div class="form-group">
... | @using Humanizer
@model AnlabMvc.Models.Order.OrderReviewModel
@{
ViewData["Title"] = "Confirmation";
}
@Html.Partial("_OrderDetails")
<form method="post" asp-controller="Lab" enctype="multipart/form-data" asp-action="UpdateFromCompletedTests" asp-route-id="@Model.Order.Id">
<div class="form-group">
... | mit | C# |
2fbaf40cf91fdc5096193ecb2792d579c92d78b9 | Update version | BinaryKits/ZPLUtility | ZPLUtility/Properties/AssemblyInfo.cs | ZPLUtility/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("ZPL... | 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("ZPL... | mit | C# |
4cca7a6ec189f5f484c45c52e0b88f66b9877961 | Use writeline instead of CursorTop++ | appharbor/appharbor-cli | src/AppHarbor/ConsoleProgressBar.cs | src/AppHarbor/ConsoleProgressBar.cs | using System;
using System.IO;
namespace AppHarbor
{
public class ConsoleProgressBar
{
private const char ProgressBarCharacter = '\u2592';
public static void Render(double percentage, ConsoleColor color, string message)
{
ConsoleColor originalColor = Console.ForegroundColor;
Console.CursorLeft = 0;
... | using System;
using System.IO;
namespace AppHarbor
{
public class ConsoleProgressBar
{
private const char ProgressBarCharacter = '\u2592';
public static void Render(double percentage, ConsoleColor color, string message)
{
ConsoleColor originalColor = Console.ForegroundColor;
Console.CursorLeft = 0;
... | mit | C# |
1ad52cccc04658f48c80c4f2fa3597a96a4d86a6 | Increment Version Number | mj1856/TimeZoneNames | SharedAssemblyInfo.cs | SharedAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: AssemblyProduct("Time Zone Names")]
[assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")]
[assembly: AssemblyVersion("1.2.1.*")]
[assembly: AssemblyInformationalVersion("1.2.1")]
| using System.Reflection;
[assembly: AssemblyCompany("Matt Johnson")]
[assembly: AssemblyProduct("Time Zone Names")]
[assembly: AssemblyCopyright("Copyright © 2014 Matt Johnson")]
[assembly: AssemblyVersion("1.2.0.*")]
[assembly: AssemblyInformationalVersion("1.2.0")]
| mit | C# |
654c0ea129f71ffe2257916d2398ee38d5d7b7d2 | Disable documentation for tasks | bbtsoftware/TfsUrlParser | setup.cake | setup.cake | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName... | #load nuget:https://www.myget.org/F/cake-contrib/api/v2?package=Cake.Recipe&prerelease
Environment.SetVariableNames();
BuildParameters.SetParameters(
context: Context,
buildSystem: BuildSystem,
sourceDirectoryPath: "./src",
title: "TfsUrlParser",
repositoryOwner: "bbtsoftware",
repositoryName... | mit | C# |
26f18ba6c789ad29fc5f6adf40334d53c703a47f | Update MainScript.cs | proyecto26/RestClient | demo/Assets/MainScript.cs | demo/Assets/MainScript.cs | using UnityEngine;
using UnityEditor;
using Models;
using Proyecto26;
using System.Collections.Generic;
public class MainScript : MonoBehaviour {
private readonly string basePath = "https://jsonplaceholder.typicode.com";
public void Get(){
// We can add default request headers for all requests
RestClient.Defa... | using UnityEngine;
using UnityEditor;
using Models;
using Proyecto26;
using System.Collections.Generic;
public class MainScript : MonoBehaviour {
private readonly string basePath = "https://jsonplaceholder.typicode.com";
public void Get(){
// We can add default request headers for all requests
RestClient.Defa... | mit | C# |
dac5081f1995cb0471b4f33afcb2bab59778df69 | remove bootstrap class | Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017,Borayvor/ASP.NET-MVC-CourseProject-2017 | PhotoArtSystem/Web/PhotoArtSystem.Web/Views/Home/Index.cshtml | PhotoArtSystem/Web/PhotoArtSystem.Web/Views/Home/Index.cshtml | @using PhotoArtSystem.Web.Controllers
@{
ViewBag.Title = "Home Page";
}
<div class="photoArtSystem-home-content">
@(Html.Action<HomeController>(c => c.GetCarouselData()))
<div class="panel">
<h1 class="text-capitalize text-center photoArtSystem-headline">
Are you ready to capture the ... | @using PhotoArtSystem.Web.Controllers
@{
ViewBag.Title = "Home Page";
}
<div class="photoArtSystem-home-content">
@(Html.Action<HomeController>(c => c.GetCarouselData()))
<div class="panel page-header">
<h1 class="text-capitalize text-center photoArtSystem-headline">
Are you ready to ... | mit | C# |
15d6ceef77a019ca8ca3d8eb9fe5a48e22c50e40 | Fix wrong template reference | resgroup/nimrod,resgroup/nimrod,resgroup/nimrod,resgroup/nimrod | Nimrod/Writers/Default/StaticToDefaultTypeScript.cs | Nimrod/Writers/Default/StaticToDefaultTypeScript.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Nimrod.Writers.Default
{
public class StaticToDefaultTypeScript : StaticToTypeScript
{
public override IEnumerable<string> GetRestApiLines()
{
yie... | using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace Nimrod.Writers.Default
{
public class StaticToDefaultTypeScript : StaticToTypeScript
{
public override IEnumerable<string> GetRestApiLines()
{
yie... | mit | C# |
3c17c3ae1561fcb526366540ab35deb2e0310dd6 | put PlayerKickEvent in the right namespace | Notulp/Pluton.Rust | Events/PlayerKickEvent.cs | Events/PlayerKickEvent.cs | namespace Pluton.Rust.Events
{
using Core;
using Network;
public class PlayerKickEvent : Event
{
public bool Kick = false;
public string Reason;
public Connection Connection;
public PlayerKickEvent(Connection connection, string reason)
{
Connection ... | namespace Pluton
{
using Core;
using Network;
public class PlayerKickEvent : Event
{
public bool Kick = false;
public string Reason;
public Connection Connection;
public PlayerKickEvent(Connection connection, string reason)
{
Connection = connection... | mit | C# |
36fa992a59db479f73412ff04c6d17791b7bcc02 | add missing namespace | thepirat000/Audit.NET,thepirat000/Audit.NET,thepirat000/Audit.NET | test/Audit.EntityFramework.Core.UnitTest/BlogsMemoryContext.cs | test/Audit.EntityFramework.Core.UnitTest/BlogsMemoryContext.cs | using Microsoft.EntityFrameworkCore;
using System.ComponentModel.DataAnnotations;
namespace Audit.EntityFramework.Core.UnitTest
{
public class BlogsMemoryContext : AuditDbContext
{
public DbSet<User> Users { get; set; }
public BlogsMemoryContext()
{ }
public BlogsMemoryContex... | using Microsoft.EntityFrameworkCore;
namespace Audit.EntityFramework.Core.UnitTest
{
public class BlogsMemoryContext : AuditDbContext
{
public DbSet<User> Users { get; set; }
public BlogsMemoryContext()
{ }
public BlogsMemoryContext(DbContextOptions<BlogsMemoryContext> option... | mit | C# |
ec9cb29c252ddc5ff7f867cad337af13ebf405fc | Add OriginAbs property | EasyPeasyLemonSqueezy/MadCat | MadCat/NutEngine/Label.cs | MadCat/NutEngine/Label.cs | using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace NutEngine
{
public class Label : Node, IDrawable
{
public SpriteFont Font { get; private set; }
public string Text { get; set; }
public Vector2 Origin {
get => new Vector2(OriginAbs.X / Font.M... | using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
namespace NutEngine
{
public class Label : Node, IDrawable
{
public SpriteFont Font { get; private set; }
public string Text { get; set; }
public Color Color { get; set; }
public Vector2 Origin { get; set; ... | mit | C# |
b8c5a9c829e8649181c4d53351e9aa400ca7a3bd | Remove validator methods, no longer needed. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/ViewModels/Validation/Validator.cs | WalletWasabi.Gui/ViewModels/Validation/Validator.cs | using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels.Validation
{
public delegate void ValidateMethod(IErrorList errors);
}
| using System;
using System.Collections.Generic;
using System.Reflection;
using System.Text;
using WalletWasabi.Models;
namespace WalletWasabi.Gui.ViewModels.Validation
{
public delegate void ValidateMethod(IErrorList errors);
public static class Validator
{
//public static IEnumerable<(string propertyName, Erro... | mit | C# |
38ce3c5e422a895968239e7c604c79a3e3330668 | Update WalletWasabi/Services/Terminate/TerminateService.cs | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi/Services/Terminate/TerminateService.cs | WalletWasabi/Services/Terminate/TerminateService.cs | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | using System;
using System.Threading;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Services.Terminate
{
public class TerminateService
{
private Func<Task> _terminateApplicationAsync;
private const long TerminateStatusIdle = 0;
private const long TerminateStatusInProgress = ... | mit | C# |
5d650bab828cbd26cb963b3ca9812c15d8163856 | Update JobRequirements.cs | datanets/kask-kiosk,datanets/kask-kiosk | Models/JobRequirements.cs | Models/JobRequirements.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class JobRequirements
{
public int Job_ID { get; set; }
public int Skill_ID { get; set; }
public string Notes { get; set; }
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Empty.Models
{
public class JobRequirements
{
public int job_ID { get; set; }
public int skill_ID { get; set; }
public string notes { get; set; }
}
} | mit | C# |
4944efaeb49881eb7bfba4fc6e71e896b627bc0d | convert uma url relativa ou absolute de uma aplicacao para um endereo web absolute | adrianocaldeira/thunder | src/main/Thunder/Web/Utility.cs | src/main/Thunder/Web/Utility.cs | using System;
using System.Web;
namespace Thunder.Web
{
/// <summary>
/// Utility
/// </summary>
public static class Utility
{
/// <summary>
/// Converts a virtual path to an application absolute path using the <paramref name="context"/>.
/// </summary>
/// <param n... | using System.Web;
namespace Thunder.Web
{
/// <summary>
/// Utility
/// </summary>
public static class Utility
{
/// <summary>
/// Converts a virtual path to an application absolute path using the <paramref name="context"/>.
/// </summary>
/// <param name="virtualPa... | mit | C# |
2a6156d32ccfb41babc6ff80d4300105400a9984 | Rename RewardIndex => RewardId | Xeeynamo/KingdomHearts | OpenKh.Kh2/Battle/Bons.cs | OpenKh.Kh2/Battle/Bons.cs | using System.IO;
using Xe.BinaryMapper;
namespace OpenKh.Kh2.Battle
{
public class Bons
{
[Data] public byte RewardId { get; set; }
[Data] public byte CharacterId { get; set; }
[Data] public byte HpIncrease { get; set; }
[Data] public byte MpIncrease { get; set; }
[Data... | using System.IO;
using Xe.BinaryMapper;
namespace OpenKh.Kh2.Battle
{
public class Bons
{
[Data] public byte RewardIndex { get; set; }
[Data] public byte CharacterId { get; set; }
[Data] public byte HpIncrease { get; set; }
[Data] public byte MpIncrease { get; set; }
[D... | mit | C# |
217d3c0e98ba20f94e7bb8fa04a7cd4f0cfde2f3 | Update settings editor | adjust/unity_sdk,adjust/unity_sdk,adjust/unity_sdk | Assets/Adjust/Editor/AdjustSettingsEditor.cs | Assets/Adjust/Editor/AdjustSettingsEditor.cs | using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace com.adjust.sdk
{
[CustomEditor(typeof(AdjustSettings))]
public class AdjustSettingsEditor : Editor
{
SerializedProperty isPostProcessingEnabled;
SerializedProperty isiOS14ProcessingEnabled;
SerializedP... | using System.Collections.Generic;
using UnityEngine;
using UnityEditor;
namespace com.adjust.sdk
{
[CustomEditor(typeof(AdjustSettings))]
public class AdjustSettingsEditor : Editor
{
SerializedProperty isPostProcessingEnabled;
SerializedProperty isiOS14ProcessingEnabled;
SerializedP... | mit | C# |
ea8309289d956af38d201a405fe841acbe661cc9 | add failing test that's fixed in pull request #127 | MindTouch/NServiceKit.Redis,NServiceKit/NServiceKit.Redis,nataren/NServiceKit.Redis | tests/ServiceStack.Redis.Tests/Issues/ReportedIssues.cs | tests/ServiceStack.Redis.Tests/Issues/ReportedIssues.cs | using System.Collections.Generic;
using NUnit.Framework;
namespace ServiceStack.Redis.Tests.Issues
{
[TestFixture]
public class ReportedIssues
: RedisClientTestsBase
{
private readonly List<string> storeMembers = new List<string> { "one", "two", "three", "four" };
[Test]
public void Add_range_to_set_fails_... | using System.Collections.Generic;
using NUnit.Framework;
namespace ServiceStack.Redis.Tests.Issues
{
[TestFixture]
public class ReportedIssues
: RedisClientTestsBase
{
private readonly List<string> storeMembers = new List<string> { "one", "two", "three", "four" };
[Test]
public void Add_range_to_set_fails_... | bsd-3-clause | C# |
1ad5ee86c6c816939fc6ba11fac0c3d4ff2eeeef | enable page level ads: false | bstaykov/DO-NOT-OPEN-IN-ANY-CIRCUMSTANCES-CLIENT,bstaykov/DO-NOT-OPEN-IN-ANY-CIRCUMSTANCES-CLIENT,bstaykov/DO-NOT-OPEN-IN-ANY-CIRCUMSTANCES-CLIENT | ServicesCORS/ServicesCORS/Views/Shared/_Layout.cshtml | ServicesCORS/ServicesCORS/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html>
<head>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-2283330195766479",
enable_page_level_ads: false
});
</scri... | <!DOCTYPE html>
<html>
<head>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-2283330195766479",
enable_page_level_ads: true
});
</scrip... | mit | C# |
61ef0a31f394c71e5699ae622f291868ed30f417 | Allow null string in langversion conversion (changeset 1252651) | KiloBravoLima/roslyn,lorcanmooney/roslyn,jkotas/roslyn,sharadagrawal/TestProject2,weltkante/roslyn,yetangye/roslyn,ericfe-ms/roslyn,jasonmalinowski/roslyn,mmitche/roslyn,Hosch250/roslyn,KashishArora/Roslyn,leppie/roslyn,jeremymeng/roslyn,VSadov/roslyn,abock/roslyn,russpowers/roslyn,AnthonyDGreen/roslyn,kuhlenh/roslyn,M... | Src/Workspaces/CSharp/Utilities/CompilationOptionsConversion.cs | Src/Workspaces/CSharp/Utilities/CompilationOptionsConversion.cs | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microso... | // Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Microso... | mit | C# |
6f8a9949dae10ce837047ad1857364d21fbdedb0 | Implement knight movements logic in NormalKnightMovement.cs | totkov/ChessGameEngine | Source/Chess.Source/Movements/NormalKnightMovement.cs | Source/Chess.Source/Movements/NormalKnightMovement.cs | namespace Chess.Source.Movements
{
using System;
using Chess.Source.Board.Contracts;
using Chess.Source.Common;
using Chess.Source.Figures.Contracts;
using Chess.Source.Movements.Contracts;
public class NormalKnightMovement : IMovement
{
public void VlidateMove(IFigure figure, IBo... | namespace Chess.Source.Movements
{
using Chess.Source.Board.Contracts;
using Chess.Source.Common;
using Chess.Source.Figures.Contracts;
using Chess.Source.Movements.Contracts;
public class NormalKnightMovement : IMovement
{
public void VlidateMove(IFigure figure, IBoard board, Move mov... | mit | C# |
5db4b595d585d657015439768abae096f57055e1 | Create the download directory if it doesn't exist. | topgenorth/yegvote2013,topgenorth/yegvote2013 | YegVote2013.Android/Service/ElectionServiceDownloadDirectory.cs | YegVote2013.Android/Service/ElectionServiceDownloadDirectory.cs | using Android.Runtime;
namespace net.opgenorth.yegvote.droid.Service
{
using System;
using System.IO;
using Android.Content;
using Environment = Android.OS.Environment;
/// <summary>
/// This class will figure out where to store files.
/// </summary>
/// <remarks>Different version... | namespace net.opgenorth.yegvote.droid.Service
{
using System;
using System.IO;
using Android.Content;
using Environment = Android.OS.Environment;
/// <summary>
/// This class will figure out where to store files.
/// </summary>
/// <remarks>Different versions of Android have differ... | apache-2.0 | C# |
c52d4fd4022b08fdd9e47248d3ed8123339c7315 | Make testicons prefix public. | l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,PowerOfCode/Eto,l8s/Eto,l8s/Eto,bbqchickenrobot/Eto-1,PowerOfCode/Eto,bbqchickenrobot/Eto-1 | Source/Eto.Test/Eto.Test/TestIcons.cs | Source/Eto.Test/Eto.Test/TestIcons.cs | using System.Reflection;
using Eto.Drawing;
namespace Eto.Test
{
public static class TestIcons
{
static string prefix;
public static string Prefix { get { return prefix = prefix ?? Assembly.GetExecutingAssembly().GetName().Name + "."; } }
#if IOS
// Resources on iOS are stored without the extension
public s... | using System.Reflection;
using Eto.Drawing;
namespace Eto.Test
{
public static class TestIcons
{
static string prefix;
static string Prefix { get { return prefix = prefix ?? Assembly.GetExecutingAssembly().GetName().Name + "."; } }
#if IOS
// Resources on iOS are stored without the extension
public static s... | bsd-3-clause | C# |
ae999d63dbc88f47e6cde3a91fc0c9dec531bcfd | comment out UpgradeContext.DefaultIgnoreDirectories | signumsoftware/framework,signumsoftware/framework | Signum.Upgrade/Program.cs | Signum.Upgrade/Program.cs | using Signum.Utilities;
using System;
namespace Signum.Upgrade;
class Program
{
static void Main(string[] args)
{
Console.WriteLine();
Console.WriteLine(" ..:: Welcome to Signum Upgrade ::..");
Console.WriteLine();
SafeConsole.WriteLineColor(ConsoleColor.DarkGray... | using Signum.Utilities;
using System;
namespace Signum.Upgrade;
class Program
{
static void Main(string[] args)
{
Console.WriteLine();
Console.WriteLine(" ..:: Welcome to Signum Upgrade ::..");
Console.WriteLine();
SafeConsole.WriteLineColor(ConsoleColor.DarkGray... | mit | C# |
7def6a91812670529b671b5e89abf243d8a8c30b | fix tests incorrectly showing judgements not present in mania | smoogipoo/osu,UselessToucan/osu,peppy/osu,ppy/osu,ppy/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,smoogipoo/osu,UselessToucan/osu,NeoAdonis/osu,smoogipoo/osu,NeoAdonis/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,ppy/osu | osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneDrawableJudgement.cs | osu.Game.Rulesets.Mania.Tests/Skinning/TestSceneDrawableJudgement.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Mania.Scoring;
... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using System.Linq;
using osu.Framework.Extensions;
using osu.Framework.Graphics;
using osu.Game.Rulesets.Judgements;
using osu.Game.Rulesets.Mania.UI;
using... | mit | C# |
5512748c02c3a2277dc16bf474382b58f40a6f6b | fix Indeterminate mode | steffenWi/xwt,mminns/xwt,sevoku/xwt,cra0zy/xwt,antmicro/xwt,directhex/xwt,lytico/xwt,TheBrainTech/xwt,mminns/xwt,hwthomas/xwt,iainx/xwt,akrisiun/xwt,mono/xwt,hamekoz/xwt,residuum/xwt | Xwt.Mac/Xwt.Mac/ProgressBarBackend.cs | Xwt.Mac/Xwt.Mac/ProgressBarBackend.cs | //
// ProgressBarBackend.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// 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 Soft... | //
// ProgressBarBackend.cs
//
// Author:
// Andres G. Aragoneses <knocte@gmail.com>
//
// Copyright (c) 2012 Andres G. Aragoneses
//
// 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 Soft... | mit | C# |
38f4615b0bbb9e63f8204964ab4f69f5be36f0c4 | Add the [ProvideBindingPath] attribute since the extension includes multiple assemblies (fixes #85) | DartVS/DartVS,DartVS/DartVS,modulexcite/DartVS,DartVS/DartVS,modulexcite/DartVS,modulexcite/DartVS | DanTup.DartVS.Vsix/DartPackage.cs | DanTup.DartVS.Vsix/DartPackage.cs | using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Design;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using DanTup.DartAnalysis;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Editor;
using Microsoft.V... | using System;
using System.ComponentModel.Composition;
using System.ComponentModel.Design;
using System.Runtime.InteropServices;
using System.Threading.Tasks;
using DanTup.DartAnalysis;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.ComponentModelHost;
using Microsoft.VisualStudio.Editor;
using Microsoft.V... | mit | C# |
cad335505208aa68676b8fda25670813d791850c | Fix nullability. | GGG-KILLER/GUtils.NET | Tsu.MVVM/ViewModelBase.cs | Tsu.MVVM/ViewModelBase.cs | // Copyright © 2016 GGG KILLER <gggkiller2@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the “Software”), to deal in the Software without
// restriction, including without limitation the rights to use, copy, modify,... | // Copyright © 2016 GGG KILLER <gggkiller2@gmail.com>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the “Software”), to deal in the Software without
// restriction, including without limitation the rights to use, copy, modify,... | mit | C# |
392645aa0c39e525389f201fc5f4c8b757d72c23 | Remove useless code | 0xd4d/dnlib,picrap/dnlib,kiootic/dnlib,ZixiangBoy/dnlib,jorik041/dnlib,ilkerhalil/dnlib,Arthur2e5/dnlib,modulexcite/dnlib,yck1509/dnlib | src/DotNet/ModuleContext.cs | src/DotNet/ModuleContext.cs | namespace dot10.DotNet {
/// <summary>
/// <see cref="ModuleDef"/> context
/// </summary>
public class ModuleContext {
IAssemblyResolver assemblyResolver;
IResolver resolver;
/// <summary>
/// Gets/sets the assembly resolver. This is never <c>null</c>.
/// </summary>
public IAssemblyResolver AssemblyR... | namespace dot10.DotNet {
/// <summary>
/// <see cref="ModuleDef"/> context
/// </summary>
public class ModuleContext {
IAssemblyResolver assemblyResolver;
IResolver resolver;
/// <summary>
/// Gets/sets the assembly resolver. This is never <c>null</c>.
/// </summary>
public IAssemblyResolver AssemblyR... | mit | C# |
db1358c298ec2a8be7617ee6075f5969433371a8 | Fix code style in DelimitedLayout | forcewake/FlatFile | src/FlatFile.Delimited/Implementation/DelimitedLayout.cs | src/FlatFile.Delimited/Implementation/DelimitedLayout.cs | namespace FlatFile.Delimited.Implementation
{
using System;
using System.Linq.Expressions;
using FlatFile.Core;
using FlatFile.Core.Base;
public class DelimitedLayout<TTarget> :
LayoutBase<TTarget, DelimitedFieldSettings, IDelimitedFieldSettingsConstructor, IDelimitedLayout<TTarget>>,
... | namespace FlatFile.Delimited.Implementation
{
using System;
using System.Linq.Expressions;
using FlatFile.Core;
using FlatFile.Core.Base;
public class DelimitedLayout<TTarget> :
LayoutBase<TTarget, DelimitedFieldSettings, IDelimitedFieldSettingsConstructor, IDelimitedLayout<TTarget>>,
... | mit | C# |
1661ceda66b1ccd7007f94718ef032c3a409b940 | Refactor the tests in the LogoutHandler slightly. | DavidLievrouw/Voter,DavidLievrouw/Voter | src/Voter.Tests/Api/Users/Handlers/LogoutHandlerTests.cs | src/Voter.Tests/Api/Users/Handlers/LogoutHandlerTests.cs | using DavidLievrouw.Utils.ForTesting.DotNet;
using DavidLievrouw.Voter.Api.Users.Models;
using DavidLievrouw.Voter.Security;
using FakeItEasy;
using NUnit.Framework;
namespace DavidLievrouw.Voter.Api.Users.Handlers {
[TestFixture]
public class LogoutHandlerTests {
LogoutHandler _sut;
[SetUp]
public v... | using DavidLievrouw.Utils.ForTesting.DotNet;
using DavidLievrouw.Voter.Api.Users.Models;
using DavidLievrouw.Voter.Security;
using FakeItEasy;
using NUnit.Framework;
namespace DavidLievrouw.Voter.Api.Users.Handlers {
[TestFixture]
public class LogoutHandlerTests {
LogoutHandler _sut;
[SetUp]
public v... | mit | C# |
dedacf52cfea63ada77dbc7962df2b3383415fc0 | Add reasoning in 'ZoneMarkerAndSetUpFixture.cs' | ulrichb/Roflcopter,ulrichb/Roflcopter | Src/Roflcopter.Plugin.Tests/ZoneMarkerAndSetUpFixture.cs | Src/Roflcopter.Plugin.Tests/ZoneMarkerAndSetUpFixture.cs | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
using Roflcopter.Plugin.Tests;
[assembly: RequiresSTA]
namespace Roflcopter.Plugin.Tests
{
[ZoneDefinition]
... | using JetBrains.Application.BuildScript.Application.Zones;
using JetBrains.ReSharper.TestFramework;
using JetBrains.TestFramework;
using JetBrains.TestFramework.Application.Zones;
using NUnit.Framework;
using Roflcopter.Plugin.Tests;
[assembly: RequiresSTA]
namespace Roflcopter.Plugin.Tests
{
[ZoneDefinition]
... | mit | C# |
9f0c14f9f631c25fe747e1c4e8f615e86e5cd143 | Update CodeGenFixupTask.cs | Synergex/Xamarin.Forms.Language.Compatibility | Xamarin.Forms.Language.Compatibility/CodeGenFixupTask.cs | Xamarin.Forms.Language.Compatibility/CodeGenFixupTask.cs | using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using System.Diagnostics;
namespace Xamarin.Forms.Language.Compatibility
{
public class CodeGenFixupTask : Task... | using System;
using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using System.Diagnostics;
namespace Xamarin.Forms.Language.Compatibility
{
public class CodeGenFixupTask : Task... | mit | C# |
db001832eaf7423ab49e8f990aa0cea4d8b0563e | Fix typo. | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.App/Collections/IVirtualizingListSource.cs | src/GitHub.App/Collections/IVirtualizingListSource.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
namespace GitHub.Collections
{
/// <summary>
/// A loader for a virtualizing list.
/// </summary>
/// <typeparam name="T">The item type.</typeparam>
/// <remarks>
/// This interface is us... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
namespace GitHub.Collections
{
/// <summary>
/// A loader for a virtualizing list.
/// </summary>
/// <typeparam name="T">The item type.</typeparam>
/// <remarks>
/// This interface is us... | mit | C# |
121b0dee42a595c375238336c77a98eb989d5e1c | Update CORS logic | TheTree/branch,TheTree/branch,TheTree/branch | dotnet/Packages/Apollo/Middleware/CORSMiddleware.cs | dotnet/Packages/Apollo/Middleware/CORSMiddleware.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Branch.Packages.Exceptions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Primitives;
using Newtonsoft.Json;
usin... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
using Branch.Packages.Exceptions;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.Extensions.Primitives;
using Newtonsoft.Json;
usin... | mit | C# |
6a9d4cba3395a2d2f0f41b82cc92aa89072c09c2 | Fix unprivileged symlinks | tgstation/tgstation-server,tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools | src/Tgstation.Server.Host/IO/WindowsSymlinkFactory.cs | src/Tgstation.Server.Host/IO/WindowsSymlinkFactory.cs | using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.IO
{
/// <summary>
/// <see cref="ISymlinkFactory"/> for windows systems
/// </summary>
sealed class WindowsSymlinkFactory : ISymlinkFactory
{
... | using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace Tgstation.Server.Host.IO
{
/// <summary>
/// <see cref="ISymlinkFactory"/> for windows systems
/// </summary>
sealed class WindowsSymlinkFactory : ISymlinkFactory
{
... | agpl-3.0 | C# |
ec4bcd2d44598c33ba55b020a6af1729c17e4958 | change version to 0.2 | dimaaan/pgEdit | PgEdit/Properties/AssemblyInfo.cs | PgEdit/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("Pg... | 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("Pg... | mit | C# |
7a9fcb3e9fe7d362280b325c073b25d05e30e119 | Add tests for Sha256 class | ektrah/nsec | tests/Algorithms/Sha256Tests.cs | tests/Algorithms/Sha256Tests.cs | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Algorithms
{
public static class Sha256Tests
{
public static readonly string HashOfEmpty = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
[Fact]
public static void Properties()
{
... | using System;
using NSec.Cryptography;
using Xunit;
namespace NSec.Tests.Algorithms
{
public static class Sha256Tests
{
public static readonly string HashOfEmpty = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
[Fact]
public static void HashEmpty()
{
... | mit | C# |
9df30305866cc79301906f40f94913e1885d5a2e | add comments to collections | yanggujun/commonsfornet,yanggujun/commonsfornet | src/Commons.Collections/Bag/ISortedBag.cs | src/Commons.Collections/Bag/ISortedBag.cs | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | // Copyright CommonsForNET.
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF licenses this file to You under the Apache License, Version 2.0
// ... | apache-2.0 | C# |
4a98b9982a933d5659581f0abf74137d9f861f71 | Add switch statements to /problem in MinimalSample (#41943) | aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore | src/Http/samples/MinimalSample/Program.cs | src/Http/samples/MinimalSample/Program.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http.HttpResults;
using Microsoft.AspNetCore.Mvc;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
if (app.Environment.IsDev... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http.HttpResults;
using Microsoft.AspNetCore.Mvc;
var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
if (app.Environment.IsDev... | apache-2.0 | C# |
d9d761e6a0341de4db2fb375c1b8afc2447a4e0e | Fix for 'everyone' account in other languages | jongleur1983/Nancy,AIexandr/Nancy,AcklenAvenue/Nancy,EliotJones/NancyTest,dbolkensteyn/Nancy,daniellor/Nancy,MetSystem/Nancy,vladlopes/Nancy,albertjan/Nancy,grumpydev/Nancy,sadiqhirani/Nancy,malikdiarra/Nancy,blairconrad/Nancy,JoeStead/Nancy,cgourlay/Nancy,murador/Nancy,EliotJones/NancyTest,nicklv/Nancy,charleypeng/Nan... | src/Nancy.Hosting.Self/UrlReservations.cs | src/Nancy.Hosting.Self/UrlReservations.cs | namespace Nancy.Hosting.Self
{
using System;
using System.Security.Principal;
/// <summary>
/// Configuration for automatic url reservation creation
/// </summary>
public class UrlReservations
{
private const string EveryoneAccountName = "Everyone";
private sta... | namespace Nancy.Hosting.Self
{
/// <summary>
/// Configuration for automatic url reservation creation
/// </summary>
public class UrlReservations
{
public UrlReservations()
{
this.CreateAutomatically = false;
this.User = "Everyone";
}
... | mit | C# |
02959c7118d3feda772f3be2f23a079b9f7d2682 | Add code documentation to the UIntPalmValue | haefele/PalmDB | src/PalmDB/Serialization/UintPalmValue.cs | src/PalmDB/Serialization/UintPalmValue.cs | using System;
using System.Threading.Tasks;
namespace PalmDB.Serialization
{
/// <summary>
/// Represents a <see cref="uint"/> value inside a palm database.
/// </summary>
internal class UIntPalmValue : IPalmValue<uint>
{
/// <summary>
/// Gets the length of this uint block.
... | using System;
using System.Threading.Tasks;
namespace PalmDB.Serialization
{
internal class UIntPalmValue : IPalmValue<uint>
{
public int Length { get; }
public UIntPalmValue(int length)
{
Guard.NotNegative(length, nameof(length));
this.Length = length;
... | mit | C# |
69ffd0fbe9d8941718c9a077dad3b5d71da1041d | Initialise MonoDoc | x335/omnisharp-server,corngood/omnisharp-server,syl20bnr/omnisharp-server,corngood/omnisharp-server,mispencer/OmniSharpServer,svermeulen/omnisharp-server,OmniSharp/omnisharp-server,syl20bnr/omnisharp-server,x335/omnisharp-server | OmniSharp/Bootstrapper.cs | OmniSharp/Bootstrapper.cs | using MonoDevelop.Projects;
using Nancy.Json;
using Nancy.TinyIoc;
using Nancy.Bootstrapper;
using OmniSharp.ProjectManipulation.AddReference;
using OmniSharp.Solution;
namespace OmniSharp
{
public class Bootstrapper : Nancy.DefaultNancyBootstrapper
{
private readonly ISolution _solution;
pub... | using Nancy.Json;
using Nancy.TinyIoc;
using Nancy.Bootstrapper;
using OmniSharp.ProjectManipulation.AddReference;
using OmniSharp.Solution;
namespace OmniSharp
{
public class Bootstrapper : Nancy.DefaultNancyBootstrapper
{
private readonly ISolution _solution;
public Bootstrapper(ISolution s... | mit | C# |
1b581d42746d27637ef49cc3af830383a47855bc | add and remove operations for groups | radu-matei/websocket-manager,radu-matei/websocket-manager,radu-matei/websocket-manager | src/WebSocketManager/WebSocketConnectionManager.cs | src/WebSocketManager/WebSocketConnectionManager.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
namespace WebSocketManager
{
public class WebSocketConnectionManager
{
private ConcurrentDictionary<string, WebSock... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Net.WebSockets;
using System.Threading;
using System.Threading.Tasks;
namespace WebSocketManager
{
public class WebSocketConnectionManager
{
private ConcurrentDictionary<string, WebSock... | mit | C# |
7e9a1f7649f66bc598811b630457ebed418e40e0 | Update GetUpdateVersion.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/GetUpdateVersion.cs | Real_Game/Assets/Scripts/GetUpdateVersion.cs | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class GetUpdateVersion : MonoBehaviour {
public WWW update;
public Button updateButton;
public Text updateButtonText;
public string updateURL;
public float version;
public string gotVersionText;
public float gotVersion;
// Use this fo... | using UnityEngine;
using UnityEngine.UI;
using System.Collections;
public class WebFileLoader : MonoBehaviour {
public WWW update;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
IEnumerator GetURL (string url) {
www = new WWW (url);
yield retu... | mit | C# |
1b116dd04e6393b523ba4e20896ed2c44d7fd948 | Adjust testcase sizing to match editor | smoogipoo/osu,DrabWeb/osu,smoogipooo/osu,ppy/osu,NeoAdonis/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,EVAST9919/osu,naoey/osu,smoogipoo/osu,UselessToucan/osu,naoey/osu,Frontear/osuKyzer,smoogipoo/osu,Nabile-Rahmani/osu,johnneijzen/osu,ppy/osu,UselessToucan/osu,peppy/osu-new,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,Usel... | osu.Game.Tests/Visual/TestCaseBeatDivisorControl.cs | osu.Game.Tests/Visual/TestCaseBeatDivisorControl.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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Screens.Compose;
using... | // 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.Allocation;
using osu.Framework.Graphics;
using osu.Game.Screens.Edit.Screens.Compose;
using... | mit | C# |
7ea3312534a792de7192ad031283bf8fb17c4e37 | Add display attributes. Fix #98 (#990) | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs | BTCPayServer/Models/InvoicingModels/CreateInvoiceModel.cs | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Validation;
using System.ComponentModel;
namespace BTCPayServer.Models.InvoicingModels
{
public class CreateInv... | using Microsoft.AspNetCore.Mvc.Rendering;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using BTCPayServer.Validation;
namespace BTCPayServer.Models.InvoicingModels
{
public class CreateInvoiceModel
{
publi... | mit | C# |
86e7b7bdb311f5739ceb4429c13d21452e2c612a | fix monero crash (#1884) | btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver,btcpayserver/btcpayserver | BTCPayServer/Views/Shared/Monero/MoneroSyncSummary.cshtml | BTCPayServer/Views/Shared/Monero/MoneroSyncSummary.cshtml | @using BTCPayServer.Services.Altcoins.Monero.Services
@inject MoneroRPCProvider MoneroRpcProvider
@inject SignInManager<ApplicationUser> SignInManager;
@if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && MoneroRpcProvider.Summaries.Any())
{
@foreach (var summary in MoneroRpcProvider.Summarie... | @using BTCPayServer.Services.Altcoins.Monero.Services
@inject MoneroRPCProvider MoneroRpcProvider
@inject SignInManager<ApplicationUser> SignInManager;
@if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && MoneroRpcProvider.Summaries.Any())
{
@foreach (var summary in MoneroRpcProvider.Summarie... | mit | C# |
2e549863f8c28cc3180e3bbd3acebb37d1950e20 | Update Forum.aspx.cs | YAFNET/YAF.SampleWebApplication,YAFNET/YAF.SampleWebApplication,YAFNET/YAF.SampleWebApplication | YAF.SampleWebApplication/Forum/Forum.aspx.cs | YAF.SampleWebApplication/Forum/Forum.aspx.cs | /* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2020 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* di... | /* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2020 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* di... | apache-2.0 | C# |
68c3f3560f0fb6005f7805fa7ad52e770f04f7ee | Update IQueryCommand.cs | Flepper/flepper,Flepper/flepper | Flepper.QueryBuilder/Commands/Interfaces/IQueryCommand.cs | Flepper.QueryBuilder/Commands/Interfaces/IQueryCommand.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace Flepper.QueryBuilder
{
/// <summary>
/// Query Command Interface
/// </summary>
public interface IQueryCommand
{
/// <summary>
/// Build a query
/// </summary>
/// <returns></returns>
... | using System;
using System.Collections.Generic;
using System.Text;
namespace Flepper.QueryBuilder
{
/// <summary>
/// Query Command Interface
/// </summary>
public interface IQueryCommand
{
/// <summary>
/// Build a query
/// </summary>
/// <returns></returns>
... | mit | C# |
8d9f091c1d27b6b7841f8804def5e153566b289c | Fix return type of FarmingActionHelper methods | erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner,erooijak/oogstplanner | Zk/Helpers/FarmingActionHelper.cs | Zk/Helpers/FarmingActionHelper.cs | using Zk.Models;
namespace Zk.Helpers
{
public static class FarmingActionHelper
{
public static ActionType GetRelatedActionType(FarmingAction action, int cropGrowingTime)
{
return action.Action == ActionType.Harvesting ? ActionType.Sowing : ActionType.Harvesting;
}
... | using Zk.Models;
namespace Zk.Helpers
{
public static class FarmingActionHelper
{
public static void GetRelatedActionType(FarmingAction action, int cropGrowingTime)
{
return action.Action == ActionType.Harvesting ? ActionType.Sowing : ActionType.Harvesting;
}
... | mit | C# |
95096cbf5ea87d5f8c70a4b8d247abafd803037a | Use better screen load logic | peppy/osu,ppy/osu,smoogipooo/osu,peppy/osu,peppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu-new,smoogipoo/osu,NeoAdonis/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,UselessToucan/osu,UselessToucan/osu | osu.Game.Tests/Visual/Multiplayer/TestSceneLoungeSubScreen.cs | osu.Game.Tests/Visual/Multiplayer/TestSceneLoungeSubScreen.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.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Framework.Testing;
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 System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Screens;
using osu.Framework.Testing;
using os... | mit | C# |
b5d5e910326ac2c303b78a6550eb6a190be227da | Fix issue where elevator could try to go up or go down twice | jmeas/simple-tower | Assets/Scripts/Elevator.cs | Assets/Scripts/Elevator.cs | public class Elevator : UnityEngine.MonoBehaviour {
CinematicMode cinematicMode;
UnityEngine.GameObject player;
// The time it takes the elevator to move up or down, in seconds
float transitionDuration = 1.5f;
// This is the difference in the elevator and player's y position
float playerHeightDiff = 0.063... | public class Elevator : UnityEngine.MonoBehaviour {
CinematicMode cinematicMode;
UnityEngine.GameObject player;
// The time it takes the elevator to move up or down, in seconds
float transitionDuration = 1.5f;
// This is the difference in the elevator and player's y position
float playerHeightDiff = 0.063... | mit | C# |
55eea88ace6e844dd61545e51a632c91b85250de | Add twitter image link & download methods to TwitterUtils | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | Core/Utils/TwitterUtils.cs | Core/Utils/TwitterUtils.cs | using CefSharp;
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using TweetDuck.Core.Other;
namespace TweetDuck.Core.Utils{
static class TwitterUtils{
public const string TweetDeckURL = "https://tweetdeck.twitter.com";
public static readonly Color BackgroundColor = Color.FromAr... | using System.Drawing;
using CefSharp;
namespace TweetDuck.Core.Utils{
static class TwitterUtils{
public const string TweetDeckURL = "https://tweetdeck.twitter.com";
public static readonly Color BackgroundColor = Color.FromArgb(28, 99, 153);
public const string BackgroundColorFix = "let e=... | mit | C# |
1fc0d4f7f4437c9727a9f0b0027b60e8ad92d7fb | make esthetic change | lvermeulen/Equalizer | test/Equalizer.Nanophone.Tests/RoundRobinAddressRouterShould.cs | test/Equalizer.Nanophone.Tests/RoundRobinAddressRouterShould.cs | using System;
using System.Collections.Generic;
using Nanophone.Core;
using Xunit;
namespace Equalizer.Nanophone.Tests
{
public class RoundRobinAddressRouterShould
{
[Fact]
public void WrapAround()
{
var oneDotOne = new RegistryInformation("1", 1234, "some version");
... | using System;
using System.Collections.Generic;
using Nanophone.Core;
using Xunit;
namespace Equalizer.Nanophone.Tests
{
public class RoundRobinAddressRouterShould
{
[Fact]
public void WrapAround()
{
var oneDotOne = new RegistryInformation("1", 1234, "some version");
... | mit | C# |
cba86d81e4d56d6688463d29bb817bf5ca69762f | Use proxy methods in maze-runner | bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity,bugsnag/bugsnag-unity | features/fixtures/Main.cs | features/fixtures/Main.cs | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using BugsnagUnity;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Main : MonoBehaviour {
#if UNITY_EDITOR
public static void CreateScene() {
var scene = UnityEditor.SceneManagement.EditorSceneManager.NewScene(UnityEditor.Sc... | using UnityEngine;
using System.Collections;
using System.Collections.Generic;
#if UNITY_EDITOR
using UnityEditor;
#endif
public class Main : MonoBehaviour {
#if UNITY_EDITOR
public static void CreateScene() {
var scene = UnityEditor.SceneManagement.EditorSceneManager.NewScene(UnityEditor.SceneManagement.NewSce... | mit | C# |
6f8fb02c7dd3a1f85e046b8917f7271a657938b8 | test a simple dependency | timiles/DependencyMap,timiles/DependencyMap,timiles/DependencyMap | DependencyMap.Tests/Analysis/ServiceDependenciesAnalyserTests.cs | DependencyMap.Tests/Analysis/ServiceDependenciesAnalyserTests.cs | using System;
using DependencyMap.Analysis;
using DependencyMap.Models;
using FluentAssertions;
using NuGet;
using NUnit.Framework;
namespace DependencyMap.Tests.Analysis
{
[TestFixture]
public class ServiceDependenciesAnalyserTests
{
[Test]
public void NullList_ShouldThrowException()
... | using System;
using DependencyMap.Analysis;
using NUnit.Framework;
namespace DependencyMap.Tests.Analysis
{
[TestFixture]
public class ServiceDependenciesAnalyserTests
{
[Test]
public void NullList_ShouldThrowException()
{
Assert.Throws<ArgumentNullException>(() => new S... | mit | C# |
f272c117a621569ed3981483c2d6eef3577145eb | Add null value | 4-of-3/cvgs,4-of-3/cvgs | CVGS/Views/Library/Index.cshtml | CVGS/Views/Library/Index.cshtml | @model IEnumerable<CVGS.Models.ORDERITEM>
@{
ViewBag.Title = "Games Library";
}
<h2>@ViewBag.Title</h2>
@if (Model.Count() > 0)
{
<table class="table">
<tr>
<th>
@Html.ActionLink(Html.DisplayNameFor(model => model.GAME.Title).ToString(), "Index", new { search = ViewBag.se... | @model IEnumerable<CVGS.Models.ORDERITEM>
@{
ViewBag.Title = "Games Library";
}
<h2>@ViewBag.Title</h2>
@if (Model.Count() > 0)
{
<table class="table">
<tr>
<th>
@Html.ActionLink(Html.DisplayNameFor(model => model.GAME.Title).ToString(), "Index", new { search = ViewBag.se... | mit | C# |
45e96ce98b7cb7941ab87c67ba172f1871efdeec | check that object is in a cor lib assembly | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/Cloning/CloneContextAwareReferenceImporter.cs | src/AsmResolver.DotNet/Cloning/CloneContextAwareReferenceImporter.cs | namespace AsmResolver.DotNet.Cloning
{
/// <summary>
/// Provides an extension to the normal <see cref="ReferenceImporter"/> class, that takes cloned members into account.
/// </summary>
public class CloneContextAwareReferenceImporter : ReferenceImporter
{
private readonly MemberCloneContext... | namespace AsmResolver.DotNet.Cloning
{
/// <summary>
/// Provides an extension to the normal <see cref="ReferenceImporter"/> class, that takes cloned members into account.
/// </summary>
public class CloneContextAwareReferenceImporter : ReferenceImporter
{
private readonly MemberCloneContext... | mit | C# |
b1ef56082328a3926517f7cd6ff0b8f922616fb1 | replace duplicate short name (#23) | esskar/Serialize.Linq | src/Serialize.Linq/Nodes/ConditionalExpressionNode.cs | src/Serialize.Linq/Nodes/ConditionalExpressionNode.cs | using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Serialize.Linq.Interfaces;
namespace Serialize.Linq.Nodes
{
#region DataContract
#if !SERIALIZE_LINQ_OPTIMIZE_SIZE
[DataContract]
#else
[DataContract(Name = "IF")]
#endif
#if !SILVERLIGHT
[Serializable]
#endif
... | using System;
using System.Linq.Expressions;
using System.Runtime.Serialization;
using Serialize.Linq.Interfaces;
namespace Serialize.Linq.Nodes
{
#region DataContract
#if !SERIALIZE_LINQ_OPTIMIZE_SIZE
[DataContract]
#else
[DataContract(Name = "IF")]
#endif
#if !SILVERLIGHT
[Serializable]
#endif
... | mit | C# |
fca544faf6e89b934ef7db71659968c459d0b5ed | Fix serialization type in NotFiniteNumberException (#18833) | mmitche/coreclr,wtgodbe/coreclr,poizan42/coreclr,mmitche/coreclr,krk/coreclr,wtgodbe/coreclr,cshung/coreclr,mmitche/coreclr,krk/coreclr,mmitche/coreclr,krk/coreclr,poizan42/coreclr,cshung/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,cshung/coreclr,wtgodbe/coreclr,mmitche/coreclr,... | src/System.Private.CoreLib/shared/System/NotFiniteNumberException.cs | src/System.Private.CoreLib/shared/System/NotFiniteNumberException.cs | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
namespace System
{
[Serializable]
[System.Runtime.CompilerServices.Type... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Runtime.Serialization;
namespace System
{
[Serializable]
[System.Runtime.CompilerServices.Type... | mit | C# |
af1675f0e7a0de26edea4f321a44058099454891 | Bump version | xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents,xamarin/XamarinComponents | Android/SurfaceDuo/build.cake | Android/SurfaceDuo/build.cake | var TARGET = Argument ("t", Argument ("target", "ci"));
var AAR_VERSION = "0.0.3";
var NUGET_VERSION = "0.0.3.3";
Task ("externals")
.Does (() =>
{
EnsureDirectoryExists ("./externals");
// Update .csproj nuget versions
XmlPoke("./source/SurfaceDuo/SurfaceDuo.csproj", "/Project/PropertyGroup/PackageVersion", NU... | var TARGET = Argument ("t", Argument ("target", "ci"));
var AAR_VERSION = "0.0.3";
var NUGET_VERSION = "0.0.3.2";
Task ("externals")
.Does (() =>
{
EnsureDirectoryExists ("./externals");
// Update .csproj nuget versions
XmlPoke("./source/SurfaceDuo/SurfaceDuo.csproj", "/Project/PropertyGroup/PackageVersion", NU... | mit | C# |
55486faa43c363852bb1d04ed24d6405a10e9ccd | Fix type | SuperJMN/Avalonia,wieslawsoltes/Perspex,SuperJMN/Avalonia,wieslawsoltes/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,Perspex/Perspex,jkoritzinsky/Perspex,jkoritzinsky/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,wieslawsoltes/Perspex,AvaloniaUI/Avalonia,grokys/Perspex,jkoritzinsky/Avalonia,w... | tests/Avalonia.Controls.UnitTests/UserControlTests.cs | tests/Avalonia.Controls.UnitTests/UserControlTests.cs | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Linq;
using Avalonia.Controls.Presenters;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Templates;
using Avalonia.Styling;
usin... | // Copyright (c) The Avalonia Project. All rights reserved.
// Licensed under the MIT license. See licence.md file in the project root for full license information.
using System.Linq;
using Avalonia.Controls.Presenters;
using Avalonia.Controls.Primitives;
using Avalonia.Controls.Templates;
using Avalonia.Styling;
usin... | mit | C# |
8cb64761fa4ffc55847a22e01c30177e43f473e6 | Update close project message | leotsarev/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,joinrpg/joinrpg-net,joinrpg/joinrpg-net,leotsarev/joinrpg-net,leotsarev/joinrpg-net,kirillkos/joinrpg-net,joinrpg/joinrpg-net,kirillkos/joinrpg-net | Joinrpg/Views/Game/Close.cshtml | Joinrpg/Views/Game/Close.cshtml | @using JoinRpg.Web.App_Code
@model JoinRpg.Web.Models.CloseProjectViewModel
@{
ViewBag.Title = "Закрытие проекта " + Model.OriginalName;
}
<h2>@ViewBag.Title</h2>
<p>
Закрытый проект не будет доступен в списке игр, на него нельзя будет больше заявиться или добавить новых мастеров.
Для просмотра он остане... | @using JoinRpg.Web.App_Code
@model JoinRpg.Web.Models.CloseProjectViewModel
@{
ViewBag.Title = "Закрытие проекта " + Model.OriginalName;
}
<h2>@ViewBag.Title</h2>
<p>Закрытый проект пропадет из списков, на него нельзя будет больше заявиться или добавить новых мастеров.
В остальном вы всегда сможете найти его... | mit | C# |
f1557a1f7cb07038d3ea5fb759b48942a720c726 | Refactor `EventListLogConsumer` of Atata.IntegrationTests project | atata-framework/atata,atata-framework/atata | test/Atata.IntegrationTests/EventListLogConsumer.cs | test/Atata.IntegrationTests/EventListLogConsumer.cs | namespace Atata.IntegrationTests;
public class EventListLogConsumer : ILogConsumer
{
public List<LogEventInfo> Items { get; } = new List<LogEventInfo>();
public void Log(LogEventInfo eventInfo) =>
Items.Add(eventInfo);
}
| using System.Collections.Generic;
namespace Atata.IntegrationTests
{
public class EventListLogConsumer : ILogConsumer
{
public List<LogEventInfo> Items { get; } = new List<LogEventInfo>();
public void Log(LogEventInfo eventInfo)
{
Items.Add(eventInfo);
}
}
}
| apache-2.0 | C# |
7dc3c619a70ae4066fe143cd0a55977fc6cb1cf2 | Change Tests layout | tuyndv/AhoCorasick.Net,alexandrnikitin/AhoCorasick.Net | tests/AhoCorasick.Net.Tests/AhoCorasickTreeTests.cs | tests/AhoCorasick.Net.Tests/AhoCorasickTreeTests.cs | using System;
using Xunit;
using Xunit.Extensions;
namespace AhoCorasick.Net.Tests
{
public class AhoCorasickTreeTests
{
[Fact]
public void CanCreate()
{
var sut = new AhoCorasickTree(new[] { "ab", "ab" });
}
[Theory]
[InlineData("d", false)]
... | using System;
using Xunit;
using Xunit.Extensions;
namespace AhoCorasick.Net.Tests
{
public class AhoCorasickTreeTests
{
[Theory]
[InlineData(null, typeof(ArgumentNullException))]
[InlineData(new string[] { }, typeof(ArgumentException))]
public void InvalidKeywords(string[] ke... | mit | C# |
dd2bd5c19dd5ab57c01953cfdc029ce713e28678 | Add delay for loading multiplayer beatmap covers | peppy/osu,johnneijzen/osu,NeoAdonis/osu,EVAST9919/osu,ppy/osu,ppy/osu,peppy/osu,EVAST9919/osu,2yangk23/osu,2yangk23/osu,UselessToucan/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,peppy/osu-new,smoogipoo/osu,UselessToucan/osu,ppy/osu,NeoAdonis/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu,smoogipoo/osu | osu.Game/Beatmaps/Drawables/UpdateableBeatmapBackgroundSprite.cs | osu.Game/Beatmaps/Drawables/UpdateableBeatmapBackgroundSprite.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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Be... | // 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.Allocation;
using osu.Framework.Bindables;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
namespace osu.Game.Be... | mit | C# |
6fe2343677014e396c24360ac050785796ebd75d | insert logic for ContentElement | pako1337/Content_Man,pako1337/Content_Man | ContentDomain/Repositories/ContentElementRepository.cs | ContentDomain/Repositories/ContentElementRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ContentDomain.Factories;
using Simple.Data;
namespace ContentDomain.Repositories
{
public class ContentElementRepository
{
ContentElementFactory factory = new ContentElementFactory... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ContentDomain.Factories;
using Simple.Data;
namespace ContentDomain.Repositories
{
public class ContentElementRepository
{
ContentElementFactory factory = new ContentElementFactory... | mit | C# |
cd45191e5d5d6c1664afb98072e345bb0ab2c9e9 | adjust code | CtripHackthon/TravelOnline,CtripHackthon/TravelOnline,CtripHackthon/TravelOnline | TravelOnline/TravelService.Service/Travel/UpdateTravelDiary.cs | TravelOnline/TravelService.Service/Travel/UpdateTravelDiary.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataModel;
using TravelService.Model.ServiceModel;
using TravelService.Service.Utilities;
namespace TravelService.Service.Travel
{
class UpdateTravelDiary : IService
{
public void ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DataModel;
using TravelService.Model.ServiceModel;
using TravelService.Service.Utilities;
namespace TravelService.Service.Travel
{
class UpdateTravelDiary : IService
{
public void ... | apache-2.0 | C# |
3a98e4479c1ffc3119e16ae76b287466d2f2ca12 | Simplify some code | tom-englert/Wax | Wax.Model/Wix/WixFeatureNode.cs | Wax.Model/Wix/WixFeatureNode.cs | namespace tomenglertde.Wax.Model.Wix
{
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Xml.Linq;
using JetBrains.Annotations;
using TomsToolbox.Desktop;
public class WixFeatureNode : WixNode
{
public WixFeatur... | namespace tomenglertde.Wax.Model.Wix
{
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Xml.Linq;
using JetBrains.Annotations;
using TomsToolbox.Desktop;
public class WixFeatureNode : WixNode
{
public WixFeatur... | mit | C# |
fc2db534baf184ab4ca81b67d3ad6b866ef06d55 | Improve KademliaId's ToString. | zr40/kyru-dotnet,zr40/kyru-dotnet | Kyru/Network/KademliaId.cs | Kyru/Network/KademliaId.cs | using System;
using System.Linq;
using ProtoBuf;
namespace Kyru.Network
{
[ProtoContract]
internal sealed class KademliaId
{
private const int ArraySize = 160 / 8 / sizeof(uint);
[ProtoMember(1)]
private readonly uint[] id = new uint[ArraySize];
private KademliaId()
{
}
public ... | using System;
using ProtoBuf;
namespace Kyru.Network
{
[ProtoContract]
internal sealed class KademliaId
{
private const int ArraySize = 160 / 8 / sizeof(uint);
[ProtoMember(1)]
private readonly uint[] id = new uint[ArraySize];
public KademliaId()
{
}
publ... | bsd-3-clause | C# |
fc427fc887eb5adc0ced9d162e296ad33669cd38 | Make all internal-scoped objects visible to the testing assembly. | mattlorimor/ProbabilisticDataStructures | ProbabilisticDataStructures/Properties/AssemblyInfo.cs | ProbabilisticDataStructures/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("Pr... | 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("Pr... | apache-2.0 | C# |
ef62de61e8a0db583d1f308fb8390a98099b1b53 | Remove setters from dbcommand | Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,zanetdev/Glimpse.Proto... | src/Glimpse.Agent.AspNet/Internal/Inspectors/EF/Proxies/IDbCommand.cs | src/Glimpse.Agent.AspNet/Internal/Inspectors/EF/Proxies/IDbCommand.cs | namespace Glimpse.Agent.Internal.Inspectors.EF.Proxies
{
public interface IDbCommand
{
string CommandText { get; }
int CommandType { get; }
object Parameters { get; }
}
}
| namespace Glimpse.Agent.Internal.Inspectors.EF.Proxies
{
public interface IDbCommand
{
string CommandText { get; set; }
int CommandType { get; set; }
object Parameters { get; set; }
}
}
| mit | C# |
a3878c697ae12297084ffda1bf482b815f7a96af | Make CookieAuthenticationMiddleware public. | julianpaulozzi/katanaproject,julianpaulozzi/katanaproject,tomi85/Microsoft.Owin,evicertia/Katana,tomi85/Microsoft.Owin,abrodersen/katana,HongJunRen/katanaproject,julianpaulozzi/katanaproject,abrodersen/katana,abrodersen/katana,HongJunRen/katanaproject,PxAndy/Katana,abrodersen/katana,eocampo/KatanaProject301,evicertia/K... | src/Microsoft.Owin.Security.Cookies/CookieAuthenticationMiddleware.cs | src/Microsoft.Owin.Security.Cookies/CookieAuthenticationMiddleware.cs | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using Microsoft.Owin.Infrastructure;
using Microsoft.Owin.Logging;
using Microsoft.Owin.Security.DataHandler;
using Microsoft.Owin.Security.DataProtection;
using Microsoft... | // Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
using System;
using Microsoft.Owin.Infrastructure;
using Microsoft.Owin.Logging;
using Microsoft.Owin.Security.DataHandler;
using Microsoft.Owin.Security.DataProtection;
using Microsoft... | apache-2.0 | C# |
cfcb4b722da239b3e7190ff1950f84cb76c6c885 | Use AllowNull for appropriate parameters | amytruong/VisualStudio,AmadeusW/VisualStudio,radnor/VisualStudio,bradthurber/VisualStudio,modulexcite/VisualStudio,YOTOV-LIMITED/VisualStudio,github/VisualStudio,github/VisualStudio,mariotristan/VisualStudio,luizbon/VisualStudio,8v060htwyc/VisualStudio,github/VisualStudio,ChristopherHackett/VisualStudio,GProulx/VisualS... | src/GitHub.VisualStudio/Converters/CountToVisibilityConverter.cs | src/GitHub.VisualStudio/Converters/CountToVisibilityConverter.cs | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using NullGuard;
namespace GitHub.VisualStudio.Converters
{
/// <summary>
/// Convert a count to visibility based on the following rule:
/// * If count == 0, return Visibility.Visible
/// * If count > 0, return ... | using System;
using System.Globalization;
using System.Windows;
using System.Windows.Data;
using NullGuard;
namespace GitHub.VisualStudio.Converters
{
/// <summary>
/// Convert a count to visibility based on the following rule:
/// * If count == 0, return Visibility.Visible
/// * If count > 0, return ... | mit | C# |
702b3c1456894e22e3ba6cb3f714bb06be2a06c0 | add extra note - to separate develop from master | loqu8/GrooveApi | src/Tests/TicketTests.cs | src/Tests/TicketTests.cs | using GrooveApi;
using GrooveApi.Models;
using NUnit.Framework;
using System.Threading.Tasks;
namespace Tests
{
[TestFixture]
[Category("Tickets")]
public class TicketTests
{
private IGrooveApi api = GrooveApiFactory.Create(Settings.Token);
[Test]
public async Task CanCreateSi... | using GrooveApi;
using GrooveApi.Models;
using NUnit.Framework;
using System.Threading.Tasks;
namespace Tests
{
[TestFixture]
[Category("Tickets")]
public class TicketTests
{
private IGrooveApi api = GrooveApiFactory.Create(Settings.Token);
[Test]
public async Task CanCreateSi... | apache-2.0 | C# |
b1ef1330abf0b932e9d4ebdb03f6ed47487e2885 | Add missing assertion, | sbrockway/AutoFixture,dcastro/AutoFixture,hackle/AutoFixture,sbrockway/AutoFixture,adamchester/AutoFixture,Pvlerick/AutoFixture,adamchester/AutoFixture,zvirja/AutoFixture,sean-gilliam/AutoFixture,sergeyshushlyapin/AutoFixture,hackle/AutoFixture,dcastro/AutoFixture,sergeyshushlyapin/AutoFixture,AutoFixture/AutoFixture | Src/AutoFixtureUnitTest/Utf8EncodingGeneratorTest.cs | Src/AutoFixtureUnitTest/Utf8EncodingGeneratorTest.cs | using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
using Ploeh.AutoFixtureUnitTest.Kernel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Ploeh.AutoFixtureUnitTest
{
public class Utf8EncodingGeneratorTest
{
[Fact]
public void ... | using Ploeh.AutoFixture;
using Ploeh.AutoFixture.Kernel;
using Ploeh.AutoFixtureUnitTest.Kernel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xunit;
namespace Ploeh.AutoFixtureUnitTest
{
public class Utf8EncodingGeneratorTest
{
[Fact]
public void ... | mit | C# |
2d0fdc820440e03cbc61dedf6b629c9a72c7abc4 | Create ReplayPlayer using Score from the dummy RulesetContainer | DrabWeb/osu,naoey/osu,2yangk23/osu,ZLima12/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,peppy/osu,smoogipoo/osu,ppy/osu,smoogipoo/osu,johnneijzen/osu,smoogipooo/osu,UselessToucan/osu,DrabWeb/osu,naoey/osu,DrabWeb/osu,EVAST9919/osu,2yangk23/osu,UselessToucan/osu,ZLima12/osu,peppy/osu,peppy/osu,peppy/osu-new,naoey/osu,ppy/osu... | osu.Game.Tests/Visual/TestCaseReplay.cs | osu.Game.Tests/Visual/TestCaseReplay.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.ComponentModel;
using System.Linq;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Screens.Play;
namespace osu.Game.Tests.Visual
{
... | // 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.ComponentModel;
using System.Linq;
using osu.Game.Rulesets;
using osu.Game.Rulesets.Mods;
using osu.Game.Scoring;
using osu.Game.Screens.Play;
namespace o... | mit | C# |
4f527323088a136c85bf115dd7c43d9e6910cd63 | Update assembly info | mbenford/dreamcheeky-big-red-button-dotnet | DreamCheeky.BigRedButton/Properties/AssemblyInfo.cs | DreamCheeky.BigRedButton/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("Dr... | 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("Dr... | mit | C# |
d6a2146241c3e8b7ed723faefaaaf5d69b394745 | Simplify code | KentorIT/Log4NetExtensions | Kentor.Log4NetExtensions.BurstFilter/BurstFilter.cs | Kentor.Log4NetExtensions.BurstFilter/BurstFilter.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kentor.Log4NetExtensions
{
public class BurstFilter : log4net.Filter.FilterSkeleton
{
public BurstFilter()
{
BurstLengt... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Kentor.Log4NetExtensions
{
public class BurstFilter : log4net.Filter.FilterSkeleton
{
public BurstFilter()
{
BurstLengt... | mit | C# |
8c73092b4c7bea2eb09fb8d8d89a63a13da31ddb | fix test | pseale/monopoly-dotnet,pseale/monopoly-dotnet | src/MonopolyDotNet/MonopolyTests/Tests/BuyingProperty.cs | src/MonopolyDotNet/MonopolyTests/Tests/BuyingProperty.cs | using MonopolyTests.Builders;
using NUnit.Framework;
using System.Linq;
namespace MonopolyTests.Tests
{
[TestFixture]
public class BuyingProperty : WebTestBase
{
[Test]
public void When_buying_a_property__should_add_it_to_my_property_holdings()
{
TestHelper.StartAGame();
TestHelper.WithH... | using MonopolyTests.Builders;
using NUnit.Framework;
namespace MonopolyTests.Tests
{
[TestFixture]
public class BuyingProperty : WebTestBase
{
[Test]
public void When_buying_a_property__should_add_it_to_my_property_holdings()
{
TestHelper.StartAGame();
TestHelper.WithHardcodedDiceRolls(n... | mit | C# |
42f1defa7f36a5d36126ee03f4b0bbfae84a0da4 | Fix installation locator resolution | feliwir/openSage,feliwir/openSage | src/OpenSage.DataViewer/Framework/InstallationUtility.cs | src/OpenSage.DataViewer/Framework/InstallationUtility.cs | using System;
using System.Collections.Generic;
using System.Linq;
using OpenSage.Data;
using OpenSage.Mods.BuiltIn;
namespace OpenSage.DataViewer.Framework
{
// TODO: Some of this could be moved to the engine.
internal static class InstallationUtility
{
public static IEnumerable<GameInstallation>... | using System;
using System.Collections.Generic;
using System.Linq;
using OpenSage.Data;
using OpenSage.Mods.BuiltIn;
namespace OpenSage.DataViewer.Framework
{
// TODO: Some of this could be moved to the engine.
internal static class InstallationUtility
{
public static IEnumerable<GameInstallation>... | mit | C# |
4cd6c632759f6eb35a601ed95059ca7cdd14eafa | Update Program.cs | bchavez/Coinbase | Source/Examples/Program.cs | Source/Examples/Program.cs | using System;
using System.Threading.Tasks;
using Coinbase;
using Coinbase.Models;
using Flurl.Http;
using static Coinbase.HeaderNames;
namespace Examples
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("Hello World!");
var client = new CoinbaseClient();... | using System;
using System.Threading.Tasks;
using Coinbase;
using Coinbase.Models;
using Flurl.Http;
using static Coinbase.HeaderNames;
namespace Examples
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("Hello World!");
var client = new CoinbaseClient();... | mit | C# |
e0a081bb70e972a914b10a2363c32d0c3fa06abd | Update Program.cs | mmolhov333/SupplyDepot | TestApp/TestApp/Program.cs | TestApp/TestApp/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("GitHub rules the seven seas! Also I like cars");
}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TestApp
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("GitHub rules the seven seas!");
}
}
}
| mit | C# |
5fbd369d23c0dcf9f871df9aa6db518afce0d3ee | Add Custom Work Log field | Axosoft/AxosoftAPI.NET | AxosoftAPI.NET/Models/WorkLog.cs | AxosoftAPI.NET/Models/WorkLog.cs | using System;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace AxosoftAPI.NET.Models
{
public class WorkLog : BaseModel
{
[JsonProperty("project")]
public Project Project { get; set; }
[JsonProperty("release")]
public Release Release { get; set; }
[JsonProperty("user")]
public User U... | using System;
using Newtonsoft.Json;
namespace AxosoftAPI.NET.Models
{
public class WorkLog : BaseModel
{
[JsonProperty("project")]
public Project Project { get; set; }
[JsonProperty("release")]
public Release Release { get; set; }
[JsonProperty("user")]
public User User { get; set; }
[JsonProperty... | mit | C# |
675697a32ffd39b0682c80ea956a0a08451f7ae9 | Tweak garnishment types to have differentiation in tax garnishments, order of application | mattgwagner/CertiPay.Payroll.Common | CertiPay.Payroll.Common/GarnishmentType.cs | CertiPay.Payroll.Common/GarnishmentType.cs | using System.Collections.Generic;
using System.ComponentModel;
namespace CertiPay.Payroll.Common
{
/// <summary>
/// Wage garnishment, the most common type of garnishment, is the process of deducting money from an employee's monetary compensation (including salary), sometimes
/// as a result of a court or... | using System.Collections.Generic;
using System.ComponentModel;
namespace CertiPay.Payroll.Common
{
/// <summary>
/// A configured garnishment, or involuntary, ordered deduction from an employee's pay for things such
/// as unpaid taxes, child support, or bankruptcy
/// </summary>
public enum Garni... | mit | C# |
8e5b0da091f5836e407c8f776b4c228faa4ecdea | Change time format for log entry | grantcolley/dipstate | DevelopmentInProgress.DipState/LogEntry.cs | DevelopmentInProgress.DipState/LogEntry.cs | using System;
namespace DevelopmentInProgress.DipState
{
public class LogEntry
{
public LogEntry(string message)
{
Message = message;
Time = DateTime.Now;
}
public DateTime Time { get; private set; }
public string Message { get; private set; }
... | using System;
namespace DevelopmentInProgress.DipState
{
public class LogEntry
{
public LogEntry(string message)
{
Message = message;
Time = DateTime.Now;
}
public DateTime Time { get; private set; }
public string Message { get; private set; }
... | apache-2.0 | C# |
febf44b3b0f9077b84bee6ba1aacc5509aa1a2e2 | fix build | GeoHealth/HAppi_mobile,GeoHealth/HAppi_mobile,GeoHealth/HAppi_mobile | HAppi.ClassLibrary.UnitTests/DummyTests.cs | HAppi.ClassLibrary.UnitTests/DummyTests.cs | using NUnit.Framework;
namespace HAppi.ClassLibrary.UnitTests
{
public class DummyTests
{
[Test]
public static void TestTrue()
{
Assert.True(true);
}
[Test]
public static void TestTestMe()
{
Assert.AreEqual(1, MyClass.TestMe());
... | using NUnit.Framework;
namespace HAppi.ClassLibrary.UnitTests
{
public class DummyTests
{
[Test]
public static void TestTrue()
{
Assert.True(true);
}
[Test]
public static void TestTestMe()
{
Assert.AreEqual(1, MyClass.TestMe());
... | apache-2.0 | C# |
1e55f3c011012471038279578e358fdb8cda786a | Update Program.cs | Cth1003/JunkWeb | Junk_Web_Client/Junk_Web_Client/Program.cs | Junk_Web_Client/Junk_Web_Client/Program.cs | //JunkWeb Client by Cth103
//this following program is a test. feel free to edit it anytime.
//START CODE
//Usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.IO;
namespace Junk_Web_Cli... | //JunkWeb Client by Cth103
//this following program is a test. feel free to edit it anytime.
//START CODE
//Usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Net;
using System.Web;
using System.IO;
namespace Junk_Web_Cli... | mit | C# |
a70d9a29a51cec6d1f5059099f843a2b9bbc83b6 | Use invariant culture when parsing floats. | jcheng31/SGEnviro | SGEnviro/Utilities/Parsing.cs | SGEnviro/Utilities/Parsing.cs | using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
namespace SGEnviro.Utilities
{
public class NumberParseException : Exception
{
public NumberParseException(string message) { }
}
public class Parsing
{
public static v... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SGEnviro.Utilities
{
public class NumberParseException : Exception
{
public NumberParseException(string message) { }
}
public class Parsing
{
public static void ParseFloatOrThrowExcepti... | mit | C# |
aefcf90c5c97808a0672559b72e5fce0e58b08e0 | Update Ship.cs | dnmitev/Team-Joseph-Heller | TeamJosephHeller/Game/Ship.cs | TeamJosephHeller/Game/Ship.cs | namespace NinjaWars
{
using System;
using NinjaWars.Interfaces;
public abstract class Ship : MovingObject
{
public new const string CollisionGroupString = "ship";
protected const int InitialHealth = 5;
protected const int BulletSpeed = 1;
public Ship(MatrixCoord topLe... | namespace NinjaWars
{
using System;
using NinjaWars.Interfaces;
public abstract class Ship : MovingObject
{
public new const string CollisionGroupString = "ship";
protected const int InitialHealth = 5;
protected const int BulletSpeed = 1;
public Ship(MatrixCoord topLe... | mit | C# |
0075dd4ae45858a8b470095e4e2541e292c7c4f2 | Make option parsing output prettier | jonathanvdc/Pixie,jonathanvdc/Pixie | Examples/ParseOptions/Program.cs | Examples/ParseOptions/Program.cs | using System;
using System.Linq;
using Pixie;
using Pixie.Markup;
using Pixie.Options;
using Pixie.Terminal;
using Pixie.Transforms;
namespace ParseOptions
{
public static class Program
{
private static readonly FlagOption syntaxOnlyFlag = new FlagOption(
OptionForm.Short("fsyntax-only"),
... | using System;
using System.Linq;
using Pixie;
using Pixie.Markup;
using Pixie.Options;
using Pixie.Terminal;
namespace ParseOptions
{
public static class Program
{
private static readonly FlagOption syntaxOnlyFlag = new FlagOption(
OptionForm.Short("fsyntax-only"),
OptionForm.S... | mit | C# |
ca1e5126badab277d3b3958d49f27a09ea15dbc6 | Fix for attempting to permute singleton Points objects. | lifebeyondfife/Group.Net | Group.Net/Groups/PermutationGroup.cs | Group.Net/Groups/PermutationGroup.cs | using System;
using System.Collections.Generic;
namespace Group.Net.Groups
{
public class PermutationGroup<T> where T : IComparable<T>
{
protected readonly IList<IList<int>> Generators;
public int GeneratorCount
{
get { return Generators.Count; }
}
public PermutationGroup(IList<IList<int>> generators)... | using System;
using System.Collections.Generic;
namespace Group.Net.Groups
{
public class PermutationGroup<T> where T : IComparable<T>
{
protected readonly IList<IList<int>> Generators;
public int GeneratorCount
{
get { return Generators.Count; }
}
public PermutationGroup(IList<IList<int>> generators... | mit | C# |
a1a486eebca075a25bd976c95a7758c15f6af1b1 | remove unused DataRepo from WateringService | MCeddy/IoT-core | IoT-Core/Services/WateringService.cs | IoT-Core/Services/WateringService.cs | using IoT_Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IoT_Core.Services
{
public class WateringService: IWateringService
{
public WateringResult CalculateMilliseconds(SensorValues sensors)
{
var wateringRes... | using IoT_Core.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace IoT_Core.Services
{
public class WateringService: IWateringService
{
private IDataRepo _dataRepo;
public WateringService(IDataRepo dataRepo)
{
... | mit | C# |
7e2176c8921cee90b4d48f2a353461f59e02cc03 | add route map to switch between primary/secondary routing | Mooophy/meetu,Mooophy/meetu,Mooophy/meetu | MeetU/MeetU/App_Start/RouteConfig.cs | MeetU/MeetU/App_Start/RouteConfig.cs | using System.Web.Mvc;
using System.Web.Routing;
namespace MeetU
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "switch_to_ng_route",
... | using System.Web.Mvc;
using System.Web.Routing;
namespace MeetU
{
public class RouteConfig
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
name: "Default",
... | mit | C# |
fd751f3504eccbeca026366a95dcea6d17b92e12 | Update project description (minor) | michael-wolfenden/Polly | src/GlobalAssemblyInfo.cs | src/GlobalAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyProduct("Polly")]
[assembly: AssemblyCompany("App vNext")]
[assembly: AssemblyDescription("Polly is a library that allows developers to express resilience and transient fault handling policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a flu... | using System.Reflection;
[assembly: AssemblyProduct("Polly")]
[assembly: AssemblyCompany("App vNext")]
[assembly: AssemblyDescription("Polly is a library that allows developers to express resilience and transient fault handling policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation and Fallback in a flue... | bsd-3-clause | C# |
e3bc6f0044758d484492104e9b8a4a8e9ccdc27a | Mark the Include element as being an ISourcedElement | craigomatic/IMML | src/Imml/Scene/Include.cs | src/Imml/Scene/Include.cs | using Imml.ComponentModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Imml.Scene
{
/// <summary>
/// Directs the document to include a resource from the specified source address.
/// </summary>
public class Include : ImmlElement, ISourcedElement
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Imml.Scene
{
/// <summary>
/// Directs the document to include a resource from the specified source address.
/// </summary>
public class Include : ImmlElement
{
/// <summary>
/// Gets or... | mit | C# |
41e33a3de7d8e5182e0727bf5f723d220d7a039c | Add a startup job for faster startup | ixfalia/banshee,Dynalon/banshee-osx,directhex/banshee-hacks,Dynalon/banshee-osx,allquixotic/banshee-gst-sharp-work,babycaseny/banshee,stsundermann/banshee,stsundermann/banshee,dufoli/banshee,allquixotic/banshee-gst-sharp-work,GNOME/banshee,ixfalia/banshee,dufoli/banshee,petejohanson/banshee,GNOME/banshee,petejohanson/b... | src/Core/Banshee.Services/Banshee.ServiceStack/JobScheduler.cs | src/Core/Banshee.Services/Banshee.ServiceStack/JobScheduler.cs | //
// JobScheduler.cs
//
// Author:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | //
// JobScheduler.cs
//
// Author:
// Gabriel Burt <gburt@novell.com>
//
// Copyright (C) 2009 Novell, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, inclu... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.