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 |
|---|---|---|---|---|---|---|---|---|
54383c4e912a7b5ecb930c82b8a926a4c22c4965 | Bump to version 1.3. | mono/sdb,mono/sdb | src/AssemblyInfo.cs | src/AssemblyInfo.cs | //
// The MIT License (MIT)
//
// Copyright (c) 2013 Alex Rønne Petersen
//
// 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
// ... | //
// The MIT License (MIT)
//
// Copyright (c) 2013 Alex Rønne Petersen
//
// 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
// ... | mit | C# |
730f0d9311450f37c4c629032a2ba1ea08520877 | Set svn:eol-style. | allquixotic/opensim-autobackup,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,Michelle-Argus/ArribasimExtract,RavenB/opensim,EriHoss/OpenSim_0.8.2.0_Dev_LibLSLCC,ft-/arribasim-dev-tests,rryk/omp-server,RavenB/opensim,AlphaStaxLLC/taiga,RavenB/opensim,AlphaStaxLLC/taiga,TomDataworks/opensim,AlphaStaxLLC/taiga,N3X15/VoxelSim,ft-/a... | OpenSim/Grid/ScriptServer/FakeScene.cs | OpenSim/Grid/ScriptServer/FakeScene.cs | using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Framework;
using OpenSim.Framework.Communications;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Framework.Servers;
using OpenSim.Region.Environment;
using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Grid.ScriptSer... | using System;
using System.Collections.Generic;
using System.Text;
using OpenSim.Framework;
using OpenSim.Framework.Communications;
using OpenSim.Framework.Communications.Cache;
using OpenSim.Framework.Servers;
using OpenSim.Region.Environment;
using OpenSim.Region.Environment.Scenes;
namespace OpenSim.Grid... | bsd-3-clause | C# |
5ae203bfdb6be0daca906e66ed75d5d33e24081f | update again | planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin,planetxamarin/planetxamarin | src/Firehose.WebCore/Program.cs | src/Firehose.WebCore/Program.cs | using Firehose.Web.Infrastructure;
using Microsoft.AspNetCore.Http.Features;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.AspNetCore.Server.HttpSys;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System.Reflection;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddSingleto... | using Firehose.Web.Infrastructure;
using Microsoft.AspNetCore.Rewrite;
using Microsoft.Extensions.DependencyInjection.Extensions;
using System.Reflection;
var builder = WebApplication.CreateBuilder(args);
builder.WebHost.ConfigureKestrel(serverOptions =>
{
serverOptions.AllowSynchronousIO = true;
});
builder.Servic... | mit | C# |
9061894d18c0b9beb19d2131d34008fafcb597bf | Remove INotifyPropertyChanged from IMainWindowViewModel | Kingloo/GB-Live | src/Gui/IMainWindowViewModel.cs | src/Gui/IMainWindowViewModel.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using GBLive.GiantBomb.Interfaces;
namespace GBLive.Gui
{
public interface IMainWindowViewModel
{
bool IsLive { get; set; }
string LiveShowTitle { get; set; }
IReadOnlyCollection<... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading.Tasks;
using GBLive.GiantBomb.Interfaces;
namespace GBLive.Gui
{
public interface IMainWindowViewModel : INotifyPropertyChanged
{
bool IsLive { get; set; }
string LiveShowTitle { get; set; }
... | unlicense | C# |
4ac29927deb0183e9e27b42db32eaad661e1536d | Bump version to 8.15.0 | KevinJump/Umbraco-CMS,KevinJump/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CMS,dawoe/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,KevinJump/Umbraco-CMS,mattbrailsford/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,dawoe/Umbraco-CMS,mattbrailsford/Umbraco-CMS,umbraco/Umbraco-CMS,marcemarc/Umbraco-CMS,robertjf/Umbraco-CM... | src/SolutionInfo.cs | src/SolutionInfo.cs | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | using System.Reflection;
using System.Resources;
[assembly: AssemblyCompany("Umbraco")]
[assembly: AssemblyCopyright("Copyright © Umbraco 2021")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
// versions
// read https://stackoverflow.com/questions/64... | mit | C# |
b88183f5010ec4d9638403b9766cea6f0200dd4c | Add support on fetching Uri with local filepath (#182) | milkshakesoftware/PreMailer.Net | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | PreMailer.Net/PreMailer.Net/Downloaders/WebDownloader.cs | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | using System;
using System.IO;
using System.Net;
using System.Text;
namespace PreMailer.Net.Downloaders
{
public class WebDownloader : IWebDownloader
{
private static IWebDownloader _sharedDownloader;
public static IWebDownloader SharedDownloader
{
get
{
if (_sharedDownloader == null)
{
_sh... | mit | C# |
a0d35d10ce054f1ac3221184b755129974e0c625 | Update PixelBandGetter.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/RasterIO/PixelBandGetter.cs | src/RasterIO/PixelBandGetter.cs | // Contributors:
// James Domingo, Green Code LLC
using Landis.SpatialModeling;
using System;
namespace Landis.RasterIO
{
/// <summary>
/// Accessor for getting a particular pixel band as another data type.
/// </summary>
public class PixelBandGetter<TPixelBand, TRasterBand> : PixelBandAc... | // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/BSD-3-Cla... | apache-2.0 | C# |
5fdb3aa087c028503ad2399c1771f39b6ea20531 | Update PixelBandSetter.cs | LANDIS-II-Foundation/Landis-Spatial-Modeling-Library | src/RasterIO/PixelBandSetter.cs | src/RasterIO/PixelBandSetter.cs | // Contributors:
// James Domingo, Green Code LLC
using Landis.SpatialModeling;
using System;
namespace Landis.RasterIO
{
/// <summary>
/// Accessor for setting a particular pixel band with another data type.
/// </summary>
public class PixelBandSetter<TPixelBand, TRasterBand> : PixelBand... | // Copyright 2010 Green Code LLC
// All rights reserved.
//
// The copyright holders license this file under the New (3-clause) BSD
// License (the "License"). You may not use this file except in
// compliance with the License. A copy of the License is available at
//
// http://www.opensource.org/licenses/BSD-3-Cla... | apache-2.0 | C# |
75fd91e15035d84551ba6ccf3278dbc146ad5ab9 | Refactor Add Integers Operation to use GetValues and CloneWithValues | ajlopez/TensorSharp | Src/TensorSharp/Operations/AddIntegerIntegerOperation.cs | Src/TensorSharp/Operations/AddIntegerIntegerOperation.cs | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AddIntegerIntegerOperation : IBinaryOperation<int, int, int>
{
public Tensor<int> Evaluate(Tensor<int> tensor1, Tensor<int> tensor2)
{... | namespace TensorSharp.Operations
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
public class AddIntegerIntegerOperation : IBinaryOperation<int, int, int>
{
public Tensor<int> Evaluate(Tensor<int> tensor1, Tensor<int> tensor2)
{... | mit | C# |
4f3c54214bf2cc5422eeb7e1a0c8bf1672e77a37 | Add ZenMode property | samfun123/KtaneTwitchPlays,CaitSith2/KtaneTwitchPlays | TwitchPlaysAssembly/Src/Helpers/TwitchPlaysProperties.cs | TwitchPlaysAssembly/Src/Helpers/TwitchPlaysProperties.cs | public class TwitchPlaysProperties : PropertiesBehaviour
{
public TwitchPlaysProperties()
{
AddProperty("TimeMode", new Property(() => OtherModes.TimedModeOn, x => { OtherModes.TimedModeOn = (bool)x; }));
AddProperty("ZenMode", new Property(() => OtherModes.ZenModeOn, x => OtherModes.ZenModeOn = (bool) x));
Ad... | public class TwitchPlaysProperties : PropertiesBehaviour
{
public TwitchPlaysProperties()
{
AddProperty("TimeMode", new Property(() => OtherModes.TimedModeOn, x => { OtherModes.TimedModeOn = (bool)x; }));
AddProperty("TimeModeTimeLimit", new Property(() => TwitchPlaySettings.data.TimeModeStartingTime, SetTimeMod... | mit | C# |
28ab0923098b7f64390d36af9bc2024ba26c384b | Fix chat messages crash the server. | DaggerES/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer | Server/Message/Reader/ChatMsgReader.cs | Server/Message/Reader/ChatMsgReader.cs | using LunaCommon.Message.Data.Chat;
using LunaCommon.Message.Interface;
using LunaCommon.Message.Types;
using Server.Client;
using Server.Message.Reader.Base;
using Server.System;
using System;
namespace Server.Message.Reader
{
public class ChatMsgReader : ReaderBase
{
private static readonly ChatSyst... | using LunaCommon.Message.Data.Chat;
using LunaCommon.Message.Interface;
using LunaCommon.Message.Types;
using Server.Client;
using Server.Message.Reader.Base;
using Server.System;
using System;
namespace Server.Message.Reader
{
public class ChatMsgReader : ReaderBase
{
private static readonly ChatSyst... | mit | C# |
25e297f5bf0fcb44ba6666953548ec72d71f566c | Fix normalizing a vector results in a zero vector | ProgTrade/SharpMath | SharpMath/Geometry/VectorExtensions.cs | SharpMath/Geometry/VectorExtensions.cs | using SharpMath.Geometry.Exceptions;
namespace SharpMath.Geometry
{
public static class VectorExtensions
{
public static T Negate<T>(this Vector vector) where T : Vector, new()
{
var resultVector = new T();
if (vector.Dimension != resultVector.Dimension)
... | namespace SharpMath.Geometry
{
public static class VectorExtensions
{
public static T Negate<T>(this Vector vector) where T : Vector, new()
{
var resultVector = new T();
for (uint i = 0; i < vector.Dimension; ++i)
resultVector[i] = -vector[i];
... | mit | C# |
96453d8197be660721540348198819d551bf04ef | Remove redundant string interpolation | smoogipoo/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,smoogipoo/osu,2yangk23/osu,ppy/osu,smoogipooo/osu,NeoAdonis/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,ppy/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu-new,NeoAdonis/osu,UselessToucan/osu,ZLima12/osu,ppy/osu,EVAST9919/osu,EVAST9919/osu,ZLima12/osu... | osu.Game/Users/Drawables/DrawableFlag.cs | osu.Game/Users/Drawables/DrawableFlag.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.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespac... | // 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.Graphics.Cursor;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
namespac... | mit | C# |
6c85a461512ec8b7f2fd69542e7a59dc8782efcd | Add test | sakapon/Samples-2017 | ProxySample/TransparentHttpConsole/Program.cs | ProxySample/TransparentHttpConsole/Program.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace TransparentHttpConsole
{
class Program
{
static void Main(string[] args)
{
HttpProxyTest();
ObjectMethodsTest();
}
static void HttpProxyTest()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace TransparentHttpConsole
{
class Program
{
static void Main(string[] args)
{
var zipCloud = HttpProxy.CreateProxy<IZipCloudService>();
Console.WriteLine(zipCloud.Get("6020881"));
... | mit | C# |
1965b7c5c825f6825c7cf882f8a36afc3c366256 | Bump Version Numbers. | blackpanther989/ArchiSteamFarm,blackpanther989/ArchiSteamFarm | ArchiSteamFarm/SharedInfo.cs | ArchiSteamFarm/SharedInfo.cs | /*
_ _ _ ____ _ _____
/ \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
/ _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
/ ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |... | /*
_ _ _ ____ _ _____
/ \ _ __ ___ | |__ (_)/ ___| | |_ ___ __ _ _ __ ___ | ___|__ _ _ __ _ __ ___
/ _ \ | '__|/ __|| '_ \ | |\___ \ | __|/ _ \ / _` || '_ ` _ \ | |_ / _` || '__|| '_ ` _ \
/ ___ \ | | | (__ | | | || | ___) || |_| __/| (_| || |... | apache-2.0 | C# |
d2c7fef90fa1f6964c6095eaece730b3601213fc | Update HowToUse.cs | MudassarMumtaz/Cross-platform-AES-encryption,MudassarMumtaz/Cross-platform-AES-encryption,Pakhee/Cross-platform-AES-encryption,invalidred/Cross-platform-AES-encryption,Pakhee/Cross-platform-AES-encryption,MudassarMumtaz/Cross-platform-AES-encryption,invalidred/Cross-platform-AES-encryption,Pakhee/Cross-platform-AES-enc... | C-Sharp/HowToUse.cs | C-Sharp/HowToUse.cs | public class test {
public static void Main (String []args)
{
CryptLib _crypt = new CryptLib ();
string plainText = "This is the text to be encrypted";
String iv = CryptLib.GenerateRandomIV (16); //16 bytes = 128 bits
string key = CryptLib.getHashSha256("my secret key", 31); //32 bytes = 256 bits
St... | public class test {
public static void Main (String []args)
{
CryptLib _crypt = new CryptLib ();
string plainText = "This is the text to be encrypted";
String iv = CryptLib.GenerateRandomIV (15); //do not exceed 15
string key = CryptLib.getHashSha256("my secret key", 31); //do not exceed 31
String c... | apache-2.0 | C# |
9e3afb3882c51c078e899f23a9f3543c0dbf2f86 | install as automatic startup | kboronka/win-service-launcher | demo_service/ProjectInstaller.cs | demo_service/ProjectInstaller.cs | /* Copyright (C) 2013 Kevin Boronka
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE ... | /* Copyright (C) 2013 Kevin Boronka
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE ... | bsd-2-clause | C# |
4598432aa482c22656c62838117cea95d84c054a | Update memory handling, add work and high ram | eightlittlebits/elbgb | elbgb.gameboy/Memory/MMU.cs | elbgb.gameboy/Memory/MMU.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using elbgb.gameboy.Display;
namespace elbgb.gameboy.Memory
{
class MMU //: IMemoryMappedComponent
{
public static class Registers
{
public const ushort BOOTROMLOCK = 0xFF50;
}
private Gam... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using elbgb.gameboy.Display;
namespace elbgb.gameboy.Memory
{
class MMU : IMemoryMappedComponent
{
private GameBoy _gb;
private bool _bootRomLocked;
private byte[] _bootRom;
public MMU(GameB... | mit | C# |
1b3d37984c702b753e3dcec26a4ced7f17708c36 | Add test for Signature equality | mono/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,openmedicus/dbus-sharp,openmedicus/dbus-sharp | tests/SignatureTest.cs | tests/SignatureTest.cs | // Copyright 2009 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NUnit.Framework;
using NDesk.DBus;
namespace NDesk.DBus.Tests
{
[TestFixture]
public class SignatureTest
{
[Test]
public void Parse ()
{
string sigText = "as... | // Copyright 2009 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using NUnit.Framework;
using NDesk.DBus;
namespace NDesk.DBus.Tests
{
[TestFixture]
public class SignatureTest
{
[Test]
public void Parse ()
{
string sigText = "as... | mit | C# |
44c59af636ed1baa3eb217df97365a10746901e5 | Fix invalidation source not being passed down | EVAST9919/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,EVAST9919/osu-framework,ppy/osu-framework,peppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ZLima12/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework | osu.Framework/Layout/LayoutValue.cs | osu.Framework/Layout/LayoutValue.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
namespace osu.Framework.Layout
{
public class LayoutValue : LayoutMember
{
/// <summary>
/// Creates ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using System;
using osu.Framework.Graphics;
namespace osu.Framework.Layout
{
public class LayoutValue : LayoutMember
{
/// <summary>
/// Creates ... | mit | C# |
78552ade4579a69480460298b331c9338976c37b | Use the Count property for ICollection optimization | fsateler/MoreLINQ,ddpruitt/morelinq,ddpruitt/morelinq,smzinovyev/MoreLINQ,morelinq/MoreLINQ,morelinq/MoreLINQ,fsateler/MoreLINQ | MoreLinq/AtLeast.cs | MoreLinq/AtLeast.cs | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | #region License and Terms
// MoreLINQ - Extensions to LINQ to Objects
// Copyright (c) 2008 Jonathan Skeet. All rights reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// ... | apache-2.0 | C# |
e56048281d35a1ceafd92b62a20e3a791486a125 | Change TeamArea damage interval from 2 to 1 | bunashibu/kikan | Assets/Scripts/TeamArea.cs | Assets/Scripts/TeamArea.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions;
namespace Bunashibu.Kikan {
public class TeamArea : Photon.MonoBehaviour, IAttacker, IPhotonBehaviour {
void Awake() {
_synchronizer = GetComponent<SkillSynchronizer>();
}
void OnTriggerSt... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Assertions;
namespace Bunashibu.Kikan {
public class TeamArea : Photon.MonoBehaviour, IAttacker, IPhotonBehaviour {
void Awake() {
_synchronizer = GetComponent<SkillSynchronizer>();
}
void OnTriggerSt... | mit | C# |
9497f97c4f076daa8d09b1d155b492ced6698861 | Add layout to guidelines page. | mattrobineau/dotnetsignals,mattrobineau/dotnetsignals,mattrobineau/dotnetsignals,mattrobineau/dotnetsignals,mattrobineau/dotnetsignals | src/Stories/Views/Home/Guidelines.cshtml | src/Stories/Views/Home/Guidelines.cshtml | @{
ViewData["Title"] = "Guidelines";
Layout = "~/Views/Shared/_Layout.cshtml";
}
<section>
<h2>What is dotnet signals?</h2>
.NET Signals is a community driven link aggregator for the sharing of knowledge in the .NET community. Our focus is to give the .NET community a place to post ideas and
knowle... | <h2>What is dotnet signals?</h2>
.NET Signals is a community driven link aggregator for the sharing of knowledge in the .NET community. Our focus is to give the .NET community a place to post ideas and
knowledge as voted by the community while avoiding the clutter found in traditional sources.
<h2>Posts</h2>
<ul>
... | mit | C# |
438c3efd37181d0d66fb717e99c4d3ce90c15f65 | Remove unused methods | Ackara/Daterpillar | src/Tests.Daterpillar/Helper/TestData.cs | src/Tests.Daterpillar/Helper/TestData.cs | using System;
using System.IO;
using System.Linq;
namespace Tests.Daterpillar.Helper
{
public static class TestData
{
public static FileInfo GetFile(string filename)
{
filename = Path.GetFileName(filename);
string ext = "*" + Path.GetExtension(filename);
str... | using Gigobyte.Daterpillar;
using System;
using System.IO;
using System.Linq;
namespace Tests.Daterpillar.Helper
{
public static class TestData
{
public static FileInfo GetFile(string filename)
{
filename = Path.GetFileName(filename);
string ext = "*" + Path.GetExtensio... | mit | C# |
dd5b713ad9a824f5be91caddfdb039ac4e4ed1af | Change TransitionType to an unit enum Add [Falgs] attribute as TransitionType can have multiple values Import values from cef_transition_type_t (cef_types.h) Rename some of the values (slightly friendlier names) | Octopus-ITSM/CefSharp,Octopus-ITSM/CefSharp,illfang/CefSharp,twxstar/CefSharp,NumbersInternational/CefSharp,haozhouxu/CefSharp,Octopus-ITSM/CefSharp,twxstar/CefSharp,Haraguroicha/CefSharp,ITGlobal/CefSharp,ruisebastiao/CefSharp,rlmcneary2/CefSharp,jamespearce2006/CefSharp,yoder/CefSharp,AJDev77/CefSharp,windygu/CefShar... | CefSharp/TransitionType.cs | CefSharp/TransitionType.cs | using System;
namespace CefSharp
{
[Flags]
public enum TransitionType : uint
{
/// <summary>
/// Source is a link click or the JavaScript window.open function. This is
/// also the default value for requests like sub-resource loads that are not navigations.
/// </summary>
LinkClicked = 0,
/// <summary... | namespace CefSharp
{
public enum TransitionType
{
LinkClicked,
FormSubmitted,
BackForward,
Reload,
FormResubmitted,
Other
};
}
| bsd-3-clause | C# |
b84da2ca026c57645208b581a7f298a4295425ca | Add a couple of friend assemblies | arfbtwn/dbus-sharp,arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,Tragetaschen/dbus-sharp,openmedicus/dbus-sharp,openmedicus/dbus-sharp,mono/dbus-sharp | src/AssemblyInfo.cs | src/AssemblyInfo.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System.Reflection;
using System.Runtime.CompilerServices;
//[assembly: AssemblyVersion("0.0.0.*")]
[assembly: AssemblyTitle ("NDesk.DBus")]
[assembly: AssemblyDescription ("D-Bus IPC ... | mit | C# |
01acacd3ac13a92c2dd68092eb6dee1767437239 | Format source | danielmundt/csremote | source/Remoting.Server/FormMain.cs | source/Remoting.Server/FormMain.cs | #region Header
// Copyright (C) 2012 Daniel Schubert
//
// 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,... | #region Header
// Copyright (C) 2012 Daniel Schubert
//
// 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# |
02283380c4b6ee648a741d695a35fa4cc5d6acf4 | Use manual migration | ppy/osu,ZLima12/osu,ppy/osu,UselessToucan/osu,ZLima12/osu,EVAST9919/osu,peppy/osu,2yangk23/osu,NeoAdonis/osu,peppy/osu,smoogipooo/osu,smoogipoo/osu,peppy/osu-new,johnneijzen/osu,UselessToucan/osu,UselessToucan/osu,smoogipoo/osu,johnneijzen/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,smoogipoo/osu,NeoAdonis/osu,peppy/osu,EVA... | osu.Game/Migrations/20190525060824_SkinSettings.cs | osu.Game/Migrations/20190525060824_SkinSettings.cs | using Microsoft.EntityFrameworkCore.Migrations;
namespace osu.Game.Migrations
{
public partial class SkinSettings : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(@"create table Settings_dg_tmp
(
ID INTEGER ... | using Microsoft.EntityFrameworkCore.Migrations;
namespace osu.Game.Migrations
{
public partial class SkinSettings : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "SkinInfoID",
table... | mit | C# |
6f3c8e9f8bf1f6190777ab513dadd20b0d5c30c0 | Add explicit usage via attribute | EVAST9919/osu,DrabWeb/osu,johnneijzen/osu,naoey/osu,ZLima12/osu,DrabWeb/osu,naoey/osu,smoogipoo/osu,EVAST9919/osu,ppy/osu,ZLima12/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,naoey/osu,peppy/osu-new,peppy/osu,UselessToucan/osu,smoogipooo/osu,ppy/osu,ppy/osu,NeoAdonis/osu,2yangk23/osu,2yangk23/osu,UselessTo... | osu.Game/Online/API/Requests/GetUpdatesResponse.cs | osu.Game/Online/API/Requests/GetUpdatesResponse.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.Collections.Generic;
using Newtonsoft.Json;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
public class GetUpdatesResponse
{... | // 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.Collections.Generic;
using osu.Game.Online.Chat;
namespace osu.Game.Online.API.Requests
{
public class GetUpdatesResponse
{
public List<Ch... | mit | C# |
68cda055e90a9b504e1ea04e6002520c7ef6b07b | Make LogLevel publicly available | jdno/AIChallengeFramework | IO/Logger.cs | IO/Logger.cs | //
// Copyright 2014 jdno
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | //
// Copyright 2014 jdno
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or... | apache-2.0 | C# |
c303346bc33fc1f789c93cef7255a719045c3c6d | Halt reloading after subprocess crash if it happens too often | chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck | windows/TweetImpl.CefSharp/Handlers/CefRequestHandler.cs | windows/TweetImpl.CefSharp/Handlers/CefRequestHandler.cs | using System.Diagnostics;
using CefSharp;
using CefSharp.Handler;
using TweetImpl.CefSharp.Adapters;
using TweetLib.Browser.CEF.Logic;
namespace TweetImpl.CefSharp.Handlers {
sealed class CefRequestHandler : RequestHandler {
public RequestHandlerLogic<IRequest> Logic { get; }
private readonly AutoReloader? autoR... | using CefSharp;
using CefSharp.Handler;
using TweetImpl.CefSharp.Adapters;
using TweetLib.Browser.CEF.Logic;
namespace TweetImpl.CefSharp.Handlers {
sealed class CefRequestHandler : RequestHandler {
public RequestHandlerLogic<IRequest> Logic { get; }
private readonly bool autoReload;
public CefRequestHandler(... | mit | C# |
2a93bc84998395347341901a6df9fc0df5a265f5 | Make mainObject an instance field | earalov/Skylines-ModTools | Debugger/ModToolsMod.cs | Debugger/ModToolsMod.cs | using System;
using ColossalFramework;
using ColossalFramework.Plugins;
using ICities;
using ModTools.Utils;
using UnityEngine;
namespace ModTools
{
public sealed class ModToolsMod : IUserMod
{
public const string ModToolsName = "ModTools";
public static GameObject MainWindowObject;
... | using System;
using ColossalFramework;
using ColossalFramework.Plugins;
using ICities;
using ModTools.Utils;
using UnityEngine;
namespace ModTools
{
public sealed class ModToolsMod : IUserMod
{
public const string ModToolsName = "ModTools";
public static GameObject MainWindowObject;
... | mit | C# |
1ca06b2e483f2fd57dd74f5f110cd8c609a17073 | Add handler for AppDomain.UnhandledException | iridinite/shiftdrive | Client/Program.cs | Client/Program.cs | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
namespace ShiftDrive {
#if WINDOWS || LINUX
public static class Program {
[STAThread]
public static void Main() {
// handler for logging crashes
AppDomain.CurrentDomain.UnhandledException += Program_Un... | /*
** Project ShiftDrive
** (C) Mika Molenkamp, 2016.
*/
using System;
namespace ShiftDrive {
#if WINDOWS || LINUX
public static class Program {
[STAThread]
public static void Main() {
#if !DEBUG
try {
#endif
using (var game = new SDGame())
game.Run();
#if ... | bsd-3-clause | C# |
c9f7ce93282bffc136c2cd567735b1f13984dcd4 | Update assembly version. | Dixin/EntityFramework.Functions | Tools/CommonAssemblyInfo.cs | Tools/CommonAssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("EntityFramework.Functions library implements Entity Framework code first support for stored procedures (with single result type, multiple result types, output parameter), table-valued functions (returning entity type, compl... | using System.Reflection;
using System.Runtime.InteropServices;
[assembly: AssemblyDescription("EntityFramework.Functions library implements Entity Framework code first support for stored procedures (with single result type, multiple result types, output parameter), table-valued functions (returning entity type, compl... | mit | C# |
7b497f31590aefe9c78fc0253da50fcd161a879e | Make BindingPathUtilities static | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.Exports/Helpers/BindingPathUtilities.cs | src/GitHub.Exports/Helpers/BindingPathUtilities.cs | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using GitHub.Logging;
using Serilog;
namespace GitHub.Helpers
{
public static class BindingPathUtilities
{
static readonly ILogger log = LogManager.ForContext(typeof(BindingPathUtilities));
... | using System;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Collections.Generic;
using GitHub.Logging;
using Serilog;
namespace GitHub.Helpers
{
public class BindingPathUtilities
{
static readonly ILogger log = LogManager.ForContext<BindingPathUtilities>();
public ... | mit | C# |
b226a5b8f8bbcc61a21425c261042fd1814c7982 | Change to use ScriptLinkCore.Objects namespace | scottolsonjr/scriptlink-core | Helpers.cs | Helpers.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ScriptLinkCore.Objects;
namespace ScriptLinkCore
{
public partial class ScriptLink
{
/// <summary>
/// Used set required fields
/// </summary>
/// <param nam... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NTST.ScriptLinkService.Objects;
namespace ScriptLinkCore
{
public partial class ScriptLink
{
/// <summary>
/// Used set required fields
/// </summary>
/// <p... | mit | C# |
b9b23f4b74cad0e8e624f5743285439138dae36b | update version | ezaurum/dapper | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
// 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("Dapper Repository... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Resources;
// 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("Dapper Repository... | mit | C# |
343efa6f5b24e5698ea37afd96298dbe41fda7b9 | test for ValueList | peachpiecompiler/peachpie,peachpiecompiler/peachpie,iolevel/peachpie-concept,iolevel/peachpie-concept,peachpiecompiler/peachpie,iolevel/peachpie-concept | src/Tests/Peachpie.Runtime.Tests/UtilitiesTests.cs | src/Tests/Peachpie.Runtime.Tests/UtilitiesTests.cs | using System;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pchp.Core;
using Pchp.Core.Collections;
using Pchp.Core.Text;
namespace Peachpie.Runtime.Tests
{
[TestClass]
public class UtilitiesTests
{
[TestMethod]
public void PathUtilsTest()
{
... | using System;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Pchp.Core;
using Pchp.Core.Text;
namespace Peachpie.Runtime.Tests
{
[TestClass]
public class UtilitiesTests
{
[TestMethod]
public void PathUtilsTest()
{
Assert.AreEqual("php", Pchp... | apache-2.0 | C# |
120f3b339fe3def0496d1f56c32a539e8cde9ad6 | Use BenchmarkRunner | martincostello/api,martincostello/api,martincostello/api | tests/API.Benchmarks/Program.cs | tests/API.Benchmarks/Program.cs | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Api.Benchmarks
{
using System;
using System.Threading.Tasks;
using BenchmarkDotNet.Running;
/// <summary>
... | // Copyright (c) Martin Costello, 2016. All rights reserved.
// Licensed under the MIT license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.Api.Benchmarks
{
using System;
using System.Threading.Tasks;
using BenchmarkDotNet.Running;
/// <summary>
... | mit | C# |
f96f9e770ac23a4df2ba40d859b012c9ac177c64 | Upgrade assembly metadata | Zeugma440/atldotnet | ATL/Properties/AssemblyInfo.cs | ATL/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
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: Assemb... | using System.Reflection;
using System.Runtime.CompilerServices;
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: Assemb... | mit | C# |
55c300718bf51d6eade596651df75aa670352ef8 | Fix description | GeorgeHahn/SOVND | SOVND.Server/Channel.cs | SOVND.Server/Channel.cs | using System.Collections.Generic;
using System.Linq;
namespace SOVND.Server
{
public class Channel
{
public string Name { get; set; }
public string Description { get; set; }
public string Image { get; set; }
// TODO Moderators
public Dictionary<string, Song> SongsByI... | using System.Collections.Generic;
using System.Linq;
namespace SOVND.Server
{
public class Channel
{
public string Name { get; set; }
public string Description { get; set; }
public string Image { get; set; }
// TODO Moderators
public Dictionary<string, Song> SongsByI... | epl-1.0 | C# |
c863b1d7331c9680a9e4dc5208382897074099fe | Add TODOs to the monitor tool | tmds/Tmds.DBus | Monitor.cs | Monitor.cs | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using NDesk.DBus;
using org.freedesktop.DBus;
public class ManagedDBusTest
{
public static void Main (string[] args)
{
//TODO: allow sele... | // Copyright 2006 Alp Toker <alp@atoker.com>
// This software is made available under the MIT License
// See COPYING for details
using System;
using System.Collections.Generic;
using NDesk.DBus;
using org.freedesktop.DBus;
public class ManagedDBusTest
{
public static void Main ()
{
Connection conn = new Connectio... | mit | C# |
1ce8199d687e069076317d82b1cd8835a7580459 | Hide HelenaCtrl when hit | bunashibu/kikan | Assets/Scripts/Skill/Helena/HelenaCtrl.cs | Assets/Scripts/Skill/Helena/HelenaCtrl.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UniRx;
namespace Bunashibu.Kikan {
[RequireComponent(typeof(SkillSynchronizer))]
public class HelenaCtrl : Skill {
void Awake() {
_synchronizer = GetComponent<SkillSynchronizer>();
_hitRistrictor = n... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UniRx;
namespace Bunashibu.Kikan {
[RequireComponent(typeof(SkillSynchronizer))]
public class HelenaCtrl : Skill {
void Awake() {
_synchronizer = GetComponent<SkillSynchronizer>();
_hitRistrictor = n... | mit | C# |
9dc29b5c89645c9af44ffb233abfc2aacd676143 | Remove AddContentButton & RemoveContentButton methods from IDetailView and add event ContentsButtonClicked | sakthivelnagarajan/monotouch-samples,a9upam/monotouch-samples,W3SS/monotouch-samples,haithemaraissia/monotouch-samples,YOTOV-LIMITED/monotouch-samples,labdogg1003/monotouch-samples,albertoms/monotouch-samples,davidrynn/monotouch-samples,haithemaraissia/monotouch-samples,YOTOV-LIMITED/monotouch-samples,davidrynn/monotou... | CoreAnimation/Screens/iPad/IDetailView.cs | CoreAnimation/Screens/iPad/IDetailView.cs | using System;
using MonoTouch.UIKit;
namespace Example_CoreAnimation.Screens.iPad
{
public interface IDetailView
{
event EventHandler ContentsButtonClicked;
}
}
| using System;
using MonoTouch.UIKit;
namespace Example_CoreAnimation.Screens.iPad
{
public interface IDetailView
{
void AddContentsButton (UIBarButtonItem button);
void RemoveContentsButton ();
}
}
| mit | C# |
e74122be78d1f932f5c044cf39658aa3cbaf01cd | Fix - WIP | Red-Folder/WebCrawl-Functions | WebCrawlProcess/run.csx | WebCrawlProcess/run.csx | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
log.Info($"Started");
try
{
var crawlRequest = JsonConvert.DeserializeObject<Cra... | #r "Newtonsoft.Json"
using System;
using Red_Folder.WebCrawl;
using Red_Folder.WebCrawl.Data;
using Red_Folder.Logging;
using Newtonsoft.Json;
public static void Run(string request, out object outputDocument, TraceWriter log)
{
log.Info($"Started");
try
{
var crawlRequest = JsonConvert.DeserializeObject<Cra... | mit | C# |
ac7f8baf33be900e24ec0960faca1ce29494376e | Send single sample of processor performance counter to the InfluxDB.Net. | poxet/influxdb-collector,poxet/Influx-Capacitor | InfluxDB.Net.Collector.Console/Program.cs | InfluxDB.Net.Collector.Console/Program.cs | using System;
using System.Diagnostics;
using InfluxDB.Net.Models;
namespace InfluxDB.Net.Collector.Console
{
static class Program
{
private static InfluxDb _client;
static void Main(string[] args)
{
if (args.Length != 3)
{
//url: http://12... | using System;
namespace InfluxDB.Net.Collector.Console
{
static class Program
{
private static InfluxDb _client;
static void Main(string[] args)
{
if (args.Length != 3)
{
//url: http://128.199.43.107:8086
//username: root
... | mit | C# |
bde0a82a85a8e9844e3296a6332c8768581a1f51 | remove assertions that doesn't agree with Mono's ordering impl of Hashtable | mono/ServiceStack.Text,NServiceKit/NServiceKit.Text,gerryhigh/ServiceStack.Text,NServiceKit/NServiceKit.Text,mono/ServiceStack.Text,gerryhigh/ServiceStack.Text | tests/ServiceStack.Text.Tests/SpecialTypesTests.cs | tests/ServiceStack.Text.Tests/SpecialTypesTests.cs | using System;
using System.Collections;
using NUnit.Framework;
namespace ServiceStack.Text.Tests
{
[TestFixture]
public class SpecialTypesTests
: TestBase
{
[Test]
public void Can_Serialize_Version()
{
Serialize(new Version());
Serialize(Environment.Version);
}
public class JsonE... | using System;
using System.Collections;
using NUnit.Framework;
namespace ServiceStack.Text.Tests
{
[TestFixture]
public class SpecialTypesTests
: TestBase
{
[Test]
public void Can_Serialize_Version()
{
Serialize(new Version());
Serialize(Environment.Version);
}
public class JsonE... | bsd-3-clause | C# |
6506708d87e492811204b7f7bba8a1edaf1023f1 | fix migratorcontroller | GeertBellekens/Enterprise-Architect-Toolpack,GeertBellekens/Enterprise-Architect-Toolpack,GeertBellekens/Enterprise-Architect-Toolpack | MagicdrawMigrator/MDMigratorController.cs | MagicdrawMigrator/MDMigratorController.cs | using System.Collections.Generic;
using System.Linq;
using System;
using EAAddinFramework.Utilities;
using TSF_EA = TSF.UmlToolingFramework.Wrappers.EA;
using UML = TSF.UmlToolingFramework.UML;
using System.Windows.Forms;
namespace MagicdrawMigrator
{
/// <summary>
/// Description of MDMigratorController.
/// </su... | using System.Collections.Generic;
using System.Linq;
using System;
using EAAddinFramework.Utilities;
using TSF_EA = TSF.UmlToolingFramework.Wrappers.EA;
using UML = TSF.UmlToolingFramework.UML;
using System.Windows.Forms;
namespace MagicdrawMigrator
{
/// <summary>
/// Description of MDMigratorController.
/// </su... | bsd-2-clause | C# |
216b1508577bdb46115197150160f1ee1de41c7f | Add comment about PKCS#1/same as MSAL | AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet,AzureAD/azure-activedirectory-library-for-dotnet,AzureAD/microsoft-authentication-library-for-dotnet | src/ADAL.PCL.CoreCLR/CryptographyHelper.cs | src/ADAL.PCL.CoreCLR/CryptographyHelper.cs | //----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | //----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation.
// All rights reserved.
//
// This code is licensed under the MIT License.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentat... | mit | C# |
34454c45252870be04d6e646b68488ea3ce1a6d0 | Change Lib.cs to use async/await | cartermp/dnx-apps | libs/lib1/Lib.cs | libs/lib1/Lib.cs | using System;
#if NET40
using System.Net;
#else
// Generic collections are just a part of
using System.Net.Http;
//using System.Threading.Tasks;
#endif
using System.Text.RegularExpressions;
namespace Lib
{
public class Foo
{
#if NET40
private readonly WebClient _client = new WebClient();
#else
... | using System;
#if NET40
using System.Net;
#else
// Generic collections are just a part of
using System.Net.Http;
#endif
using System.Text.RegularExpressions;
namespace Lib
{
public class Foo
{
#if NET40
private readonly WebClient _client = new WebClient();
#else
private readonly HttpClient _c... | mit | C# |
c70e5b62cc3785cf0cca3db9055a3bf637f4618c | Bump version to 0.1 | Lochnair/MCServer-World-Converter | MCServer-World-Converter/Properties/AssemblyInfo.cs | MCServer-World-Converter/Properties/AssemblyInfo.cs | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Nils Andreas Svee
*
* 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
* t... | /*
* The MIT License (MIT)
*
* Copyright (c) 2015 Nils Andreas Svee
*
* 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
* t... | mit | C# |
ae1126013b026d2c7bb17bb4165a12f6ff93ac0c | Improve link. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Areas/Guild/Views/Warns/Index.cshtml | MitternachtWeb/Areas/Guild/Views/Warns/Index.cshtml | @model IEnumerable<Warn>
<h4>Warns</h4>
<hr />
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th></th>
<th>
@Html.DisplayNameFor(model => model.Username)
</th>
<th>
@Html.DisplayNameFor(model => model.Reason)
</th>
<th>
@Html.DisplayNameFor(model => mod... | @model IEnumerable<Warn>
<h4>Warns</h4>
<hr />
<div class="table-responsive">
<table class="table">
<thead>
<tr>
<th></th>
<th>
@Html.DisplayNameFor(model => model.Username)
</th>
<th>
@Html.DisplayNameFor(model => model.Reason)
</th>
<th>
@Html.DisplayNameFor(model => mod... | mit | C# |
f923b9dbc2304a37f6f6cdb9afe16e38b6cb3ba0 | Remove unecessary return marshalling | Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/NativeMethods.cs | src/Tgstation.Server.Host/NativeMethods.cs | using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Tgstation.Server.Host
{
/// <summary>
/// Native methods used by the code
/// </summary>
static class NativeMethods
{
/// <summary>
/// See https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getwindowthreadp... | using System;
using System.Runtime.InteropServices;
using System.Text;
namespace Tgstation.Server.Host
{
/// <summary>
/// Native methods used by the code
/// </summary>
static class NativeMethods
{
/// <summary>
/// See https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getwindowthreadp... | agpl-3.0 | C# |
c011c3cb333a70f9185fb5dab6514ff310cb2434 | Update Program.cs | natintosh/Numerical-Methods | NumericalMethods/GuassSeidel/GuassSeidel/Program.cs | NumericalMethods/GuassSeidel/GuassSeidel/Program.cs | using System;
namespace GuassSeidel
{
class LinearAlgebraicEquation: NumericalMethods
{
public static void Main()
{
Double[,] linearEquation = new Double[,]{
{ 25, 5, 1, 106.8 },
{ 64, 8, 1, 177.2 },
{ 144, 12, 1, 292.2 } };
Double[][] matrix = new Double[][]{
... | using System;
namespace GuassSeidel
{
class LinearAlgebraicEquation: NumericalMethods
{
public static void Main()
{
Double[,] linearEquation = new Double[,]{
{ 25, 5, 1, 106.8 },
{ 64, 8, 1, 177.2 },
{ 144, 12, 1, 292.2 } }
;
Double[][] matrix = new Double[][]{
... | mit | C# |
5eb248b8b26822a88cfd69b4ed471d2072543562 | increment patch version, | jwChung/Experimentalism,jwChung/Experimentalism | build/CommonAssemblyInfo.cs | build/CommonAssemblyInfo.cs | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices;
[assembly: AssemblyCompany("Jin-Wook Chung")]
[assembly: AssemblyCopyright("Copyright (c) 2014, Jin-Wook Chung")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
[assembly: Co... | mit | C# |
6c7e913f03abaa02c4a7122c05bbc073413f691f | Remove Rigidbody from Tower | emazzotta/unity-tower-defense | Assets/Scripts/GameController.cs | Assets/Scripts/GameController.cs | using UnityEngine;
using System.Collections;
public class GameController : MonoBehaviour {
public GameObject towerBase;
public GameObject gameField;
private GameObject[,] towerBases;
private int gameFieldWidth = 0;
private int gameFieldHeight = 0;
void Start () {
this.gameFieldWidth = (int)(gameField.trans... | using UnityEngine;
using System.Collections;
public class GameController : MonoBehaviour {
public GameObject towerBase;
public GameObject gameField;
private GameObject[,] towerBases;
private int gameFieldWidth = 0;
private int gameFieldHeight = 0;
void Start () {
this.gameFieldWidth = (int)(gameField.trans... | mit | C# |
ac42e2d6fe8c1b9a8080fe13cd055e6607dd1faa | add beter comment | ilovepi/Compiler,ilovepi/Compiler | compiler/frontend/Parser.cs | compiler/frontend/Parser.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using compiler.frontend;
namespace compiler.frontend
{
class Parser
{
public Token t;
public Lexer s;
string filename;
public void getExpected(Token expected)
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using compiler.frontend;
namespace compiler.frontend
{
class Parser
{
public Token t;
public Lexer s;
string filename;
public void getExpected(Token expected)
... | mit | C# |
fc5536f70cab90ea6d4dec805e8ac937668d53c3 | Convert Pull to NDesk.Options. | hazzik/git-tfs,steveandpeggyb/Public,modulexcite/git-tfs,adbre/git-tfs,hazzik/git-tfs,hazzik/git-tfs,spraints/git-tfs,andyrooger/git-tfs,steveandpeggyb/Public,TheoAndersen/git-tfs,git-tfs/git-tfs,timotei/git-tfs,allansson/git-tfs,modulexcite/git-tfs,allansson/git-tfs,codemerlin/git-tfs,allansson/git-tfs,jeremy-sylvis-t... | GitTfs/Commands/Pull.cs | GitTfs/Commands/Pull.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using NDesk.Options;
using Sep.Git.Tfs.Core;
using StructureMap;
namespace Sep.Git.Tfs.Commands
{
[Pluggable("pull")]
[Description("pull [options]")]
[RequiresValidGitRepository]
public class Pull : GitTfsCommand
{
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using NDesk.Options;
using CommandLine.OptParse;
using Sep.Git.Tfs.Core;
using StructureMap;
namespace Sep.Git.Tfs.Commands
{
[Pluggable("pull")]
[Description("pull [options]")]
[RequiresValidGitRepository]
public class Pull ... | apache-2.0 | C# |
e55f427817773caff2a0eb05abe68f9c8e6c93db | Update problem004.cs | mvdiener/project_euler,mvdiener/project_euler | CSharp/problem004.cs | CSharp/problem004.cs | //A palindromic number reads the same both ways.The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
//Find the largest palindrome made from the product of two 3-digit numbers.
using System;
using System.Linq;
namespace Problem004
{
class MainClass
{
public static void M... | //A palindromic number reads the same both ways.The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
//Find the largest palindrome made from the product of two 3-digit numbers.
using System;
using System.Linq;
namespace Problem004
{
class MainClass
{
public static void M... | mit | C# |
70d8fe2b0e2f2442f20d4558f21686ed26e85ee4 | Build and publish Rock.Logging nuget package | RockFramework/Rock.Logging | Rock.Logging/Properties/AssemblyInfo.cs | Rock.Logging/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("Ro... | 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("Ro... | mit | C# |
415c2d99c1eea99e975cb640d082af8de57fa5f5 | Align with online sample | Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode,Ky7m/DemoCode | CSharp7/CSharp7/7.1/2.DefaultExpressions.cs | CSharp7/CSharp7/7.1/2.DefaultExpressions.cs | using System.Linq;
using static System.Console;
namespace CSharp7
{
public sealed class DefaultExpressions
{
public DefaultExpressions()
{
int? DoSomeWorkAndGetResult(int a = default, string s = default)
{
if (s == default && s is default)
... | using System.Linq;
using static System.Console;
namespace CSharp7
{
public sealed class DefaultExpressions
{
public DefaultExpressions()
{
int? DoSomeWorkAndGetResult(int a = default, string s = default)
{
if (s == default || s is default)
... | mit | C# |
060c74c3cc73dcb56f557242c871480b4d1f2bdc | use trygetvalue instead of checking Contains | Foglio1024/Tera-custom-cooldowns,Foglio1024/Tera-custom-cooldowns | TCC.Core/Data/Databases/DatabaseBase.cs | TCC.Core/Data/Databases/DatabaseBase.cs | using System.IO;
using FoglioUtils;
namespace TCC.Data.Databases
{
public abstract class DatabaseBase
{
protected string Language;
protected abstract string FolderName { get; }
protected abstract string Extension { get; }
public string RelativePath => $"{FolderName}/{FolderNam... | using System.IO;
using FoglioUtils;
namespace TCC.Data.Databases
{
public abstract class DatabaseBase
{
protected string Language;
protected abstract string FolderName { get; }
protected abstract string Extension { get; }
public string RelativePath => $"{FolderName}/{FolderNam... | mit | C# |
a343d1977e19fbcb76e0065cdb5f63492f6f7473 | Duplicate loop count arg check in NestedLoops | fsateler/MoreLINQ,smzinovyev/MoreLINQ,Agbar/MoreLINQ,Agbar/MoreLINQ,fsateler/MoreLINQ,morelinq/MoreLINQ,morelinq/MoreLINQ,ddpruitt/morelinq,ddpruitt/morelinq | MoreLinq/NestedLoops.cs | MoreLinq/NestedLoops.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace MoreLinq
{
public static partial class MoreEnumerable
{
// This extension methods were developed (primarily) to support the
// implementation of the Permutations() extension methods. However,
// it is... | using System;
using System.Collections.Generic;
using System.Linq;
namespace MoreLinq
{
public static partial class MoreEnumerable
{
// This extension methods were developed (primarily) to support the
// implementation of the Permutations() extension methods. However,
// it is... | apache-2.0 | C# |
8921cdc9e16b4c5dc64d16079d5f17bc85f4c7a3 | Reimplement WindowsGameWindow.SetIconFromStream using reflection | Tom94/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,Tom94/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,DrabWeb/osu-framework,DrabWeb/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,DrabWeb/osu-fr... | osu.Framework/Platform/Windows/WindowsGameWindow.cs | osu.Framework/Platform/Windows/WindowsGameWindow.cs | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using osuTK.Input;
using System.Linq;
using System.Drawing;
usin... | // Copyright (c) 2007-2018 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu-framework/master/LICENCE
using System;
using System.IO;
using System.Runtime.InteropServices;
using osuTK.Input;
namespace osu.Framework.Platform.Windows
{
internal class Windows... | mit | C# |
a1b63652e44c5bcf462cf08b29129415aeb1d4dd | allow comment out UserConnections | AlejandroCano/framework,avifatal/framework,signumsoftware/framework,signumsoftware/framework,avifatal/framework,AlejandroCano/framework | Signum.Engine/Connection/UserConnections.cs | Signum.Engine/Connection/UserConnections.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Signum.Engine;
using System.Data.SqlClient;
using System.Diagnostics;
using Signum.Engine.Maps;
using Signum.Utilities;
using Signum.Engine.Properties;
namespace Signum.Engine
{
public static... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Signum.Engine;
using System.Data.SqlClient;
using System.Diagnostics;
using Signum.Engine.Maps;
using Signum.Utilities;
using Signum.Engine.Properties;
namespace Signum.Engine
{
public static... | mit | C# |
1bd44529dd31302a62a55d424135c316233d5384 | add full-stop to mod description for consistency | ppy/osu,2yangk23/osu,johnneijzen/osu,smoogipoo/osu,smoogipoo/osu,johnneijzen/osu,peppy/osu,ppy/osu,NeoAdonis/osu,UselessToucan/osu,smoogipooo/osu,NeoAdonis/osu,smoogipoo/osu,ppy/osu,2yangk23/osu,NeoAdonis/osu,EVAST9919/osu,EVAST9919/osu,peppy/osu,UselessToucan/osu,peppy/osu-new,peppy/osu,UselessToucan/osu | osu.Game/Rulesets/Mods/ModDifficultyAdjust.cs | osu.Game/Rulesets/Mods/ModDifficultyAdjust.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using System;
namespace osu.Game.Rulesets.Mods
{
public abstract class ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Game.Beatmaps;
using osu.Framework.Bindables;
using osu.Framework.Graphics.Sprites;
using System;
namespace osu.Game.Rulesets.Mods
{
public abstract class ... | mit | C# |
45348ae4071f7d519f4e4d7ca881d3ce64897461 | Fix quoting for Unity log file | nuke-build/nuke,nuke-build/nuke,nuke-build/nuke,nuke-build/nuke | source/Nuke.Common/Tools/Unity/UnityBaseSettings.cs | source/Nuke.Common/Tools/Unity/UnityBaseSettings.cs | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common.Tooling;
using Nuke.Common.Utilities;
namespace Nuke.Common.Tools.Unity
{
public partial class UnityBaseSettings
{
... | // Copyright 2021 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common.Tooling;
namespace Nuke.Common.Tools.Unity
{
public partial class UnityBaseSettings
{
public override Action<Output... | mit | C# |
31f6f99f314300008b5c9cb1173da8b30f2bafe2 | Modify unit of work extension to provide a way to supply app's own unit of work type | volak/Aggregates.NET,volak/Aggregates.NET | src/Aggregates.NET.NServiceBus/ContextExtensions.cs | src/Aggregates.NET.NServiceBus/ContextExtensions.cs | using Aggregates.Contracts;
using Aggregates.Messages;
using NServiceBus;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates
{
public static class ContextExtensions
{
public static IRepository<T> For<T>(this IMessageHandlerContext cont... | using Aggregates.Contracts;
using Aggregates.Messages;
using NServiceBus;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Aggregates
{
public static class ContextExtensions
{
public static IRepository<T> For<T>(this IMessageHandlerContext cont... | mit | C# |
b7c0e517fc9d7b4076f757d41925da2f2cd7eda3 | Add MemberCloneResult contains member | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.DotNet/Cloning/MemberCloneResult.cs | src/AsmResolver.DotNet/Cloning/MemberCloneResult.cs | using System;
using System.Collections.Generic;
namespace AsmResolver.DotNet.Cloning
{
/// <summary>
/// Provides information about the result of a metadata cloning procedure.
/// </summary>
public class MemberCloneResult
{
private readonly IDictionary<IMemberDescriptor, IMemberDescriptor> ... | using System;
using System.Collections.Generic;
namespace AsmResolver.DotNet.Cloning
{
/// <summary>
/// Provides information about the result of a metadata cloning procedure.
/// </summary>
public class MemberCloneResult
{
private readonly IDictionary<IMemberDescriptor, IMemberDescriptor> ... | mit | C# |
8a14fed787692597a1141aa334f52758e12450fa | Replace Windows directory separator \ with URI path separator / | jochenvangasse/Klondike,jochenvangasse/Klondike,jochenvangasse/Klondike,fhchina/Klondike,fhchina/Klondike,themotleyfool/Klondike,Stift/Klondike,fhchina/Klondike,Stift/Klondike,davidvmckay/Klondike,Stift/Klondike,davidvmckay/Klondike,themotleyfool/Klondike,davidvmckay/Klondike,themotleyfool/Klondike | src/Klondike.SelfHost/SelfHostVirtualPathUtility.cs | src/Klondike.SelfHost/SelfHostVirtualPathUtility.cs | using System;
using System.IO;
using System.Net;
using Autofac;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using NuGet.Lucene.Web;
using NuGet.Lucene.Web.Formatters;
using Owin;
namespace Klondike.SelfHost
{
public class SelfHostVirtualPathUtility : IVirtualPathUtilit... | using System;
using System.IO;
using System.Net;
using Autofac;
using Microsoft.Owin;
using Microsoft.Owin.FileSystems;
using Microsoft.Owin.StaticFiles;
using NuGet.Lucene.Web;
using NuGet.Lucene.Web.Formatters;
using Owin;
namespace Klondike.SelfHost
{
public class SelfHostVirtualPathUtility : IVirtualPathUtilit... | apache-2.0 | C# |
8c16df83b21db42d0d7babcf2f80291960e43bb3 | Handle exiting if bot is destroyed by consuming resources. | MarjieVolk/Backfire | Assets/Nanobot.cs | Assets/Nanobot.cs | using UnityEngine;
using System.Collections;
public class Nanobot : MonoBehaviour, TimestepManager.TimestepListener {
BulletGridGenerator currentLevel;
public NanobotSchematic schematic;
public int price;
public string id;
// Use this for initialization
void Start() {
currentLevel = FindOb... | using UnityEngine;
using System.Collections;
public class Nanobot : MonoBehaviour, TimestepManager.TimestepListener {
BulletGridGenerator currentLevel;
public NanobotSchematic schematic;
public int price;
public string id;
// Use this for initialization
void Start() {
currentLevel = FindOb... | mit | C# |
acbd73e0c808664cf7c39788e559ee199ceb3da1 | Add support for XamMac assembly as well | mono/guiunit | src/framework/GuiUnit/MonoMacMainLoopIntegration.cs | src/framework/GuiUnit/MonoMacMainLoopIntegration.cs | using System;
using System.Linq;
namespace GuiUnit
{
public class MonoMacMainLoopIntegration : IMainLoopIntegration
{
Type Application {
get; set;
}
object SharedApplication {
get; set;
}
public MonoMacMainLoopIntegration ()
{
Application =
Type.GetType ("AppKit.NSApplication, Xamarin.Mac"... | using System;
using System.Linq;
namespace GuiUnit
{
public class MonoMacMainLoopIntegration : IMainLoopIntegration
{
Type Application {
get; set;
}
object SharedApplication {
get; set;
}
public MonoMacMainLoopIntegration ()
{
Application = Type.GetType ("MonoMac.AppKit.NSApplication, MonoMac"... | mit | C# |
e5656f35e1d5b60f6651f81cf624614dabf4eaf3 | Refactor `PlansPage` | atata-framework/atata-sample-app-tests | test/AtataSampleApp.UITests.Components/PlansPage.cs | test/AtataSampleApp.UITests.Components/PlansPage.cs | using Atata;
namespace AtataSampleApp.UITests;
using _ = PlansPage;
[Url("plans")]
[VerifyTitle]
[VerifyH1]
[VerifyContent("Please choose your payment plan")]
public class PlansPage : AppPage<_>
{
public ControlList<PlanItem, _> PlanItems { get; private set; }
[ControlDefinition("div", ContainingClass = "p... | using Atata;
namespace AtataSampleApp.UITests;
using _ = PlansPage;
[Url("plans")]
[VerifyTitle]
[VerifyH1]
[VerifyContent("Please choose your payment plan")]
public class PlansPage : AppPage<_>
{
public ControlList<PlanItem, _> PlanItems { get; private set; }
[ControlDefinition("div", ContainingClass = "p... | apache-2.0 | C# |
ba72e0d75a5aab80b5e00fb622623d63cec3f4ea | update customer in controller | QuantumHive/HiLaarIsch,QuantumHive/HiLaarIsch | HiLaarIsch.WebApp/Controllers/CustomersController.cs | HiLaarIsch.WebApp/Controllers/CustomersController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HiLaarIsch.Contract.Commands;
using HiLaarIsch.Contract.DTOs;
using HiLaarIsch.Contract.Queries;
using QuantumHive.Core;
namespace HiLaarIsch.Controllers
{
[Authorize]
[RoutePrefix("customers")]
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using HiLaarIsch.Contract.Commands;
using HiLaarIsch.Contract.DTOs;
using HiLaarIsch.Contract.Queries;
using QuantumHive.Core;
namespace HiLaarIsch.Controllers
{
[Authorize]
[RoutePrefix("customers")]
... | mit | C# |
93b4e77ca0e23f38b92f7fd3519eb4049ff5fd26 | correct keypath value | dgarage/NBXplorer,dgarage/NBXplorer | NBXplorer.Client/NBXplorerNetworkProvider.Althash.cs | NBXplorer.Client/NBXplorerNetworkProvider.Althash.cs | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBXplorer
{
public partial class NBXplorerNetworkProvider
{
private void InitAlthash(ChainName networkType)
{
Add(new NBXplorerNetwork(NBitcoin.Altcoins.Althash.Instance, networkType)
{
MinRPCVersion = 16... | using NBitcoin;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBXplorer
{
public partial class NBXplorerNetworkProvider
{
private void InitAlthash(ChainName networkType)
{
Add(new NBXplorerNetwork(NBitcoin.Altcoins.Althash.Instance, networkType)
{
MinRPCVersion = 16... | mit | C# |
7fd00f9142ec4951374ab188dd2069e5816948bd | Fix RadioButtonCellView.Toggled event | TheBrainTech/xwt,hamekoz/xwt,lytico/xwt,cra0zy/xwt,hwthomas/xwt,antmicro/xwt,mono/xwt | Xwt.XamMac/Xwt.Mac.CellViews/RadioButtonTableCell.cs | Xwt.XamMac/Xwt.Mac.CellViews/RadioButtonTableCell.cs | //
// RadioButtonTableCell.cs
//
// Author:
// Vsevolod Kukol <sevoku@microsoft.com>
//
// Copyright (c) 2016 Microsoft Corporation
//
// 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 Softwar... | //
// RadioButtonTableCell.cs
//
// Author:
// Vsevolod Kukol <sevoku@microsoft.com>
//
// Copyright (c) 2016 Microsoft Corporation
//
// 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 Softwar... | mit | C# |
346778a112d401fb780e729b917fd2a728300918 | Change format on default logger formatter. | jirkapenzes/SimpleLogger,Maxwolf/SimpleLogger,Maxwolf/Lumberjack | SimpleLogger/Logging/Formatters/DefaultLoggerFormatter.cs | SimpleLogger/Logging/Formatters/DefaultLoggerFormatter.cs | namespace SimpleLogger.Logging.Formatters
{
internal class DefaultLoggerFormatter : ILoggerFormatter
{
public string ApplyFormat(LogMessage logMessage)
{
return string.Format("{0:dd.MM.yyyy HH:mm}: {1} [line: {2} {3} -> {4}()]: {5}",
logMessage.DateTime, l... | namespace SimpleLogger.Logging.Formatters
{
internal class DefaultLoggerFormatter : ILoggerFormatter
{
public string ApplyFormat(LogMessage logMessage)
{
return string.Format("{0:dd.MM.yyyy HH:mm}: {1} ln: {2} [{3} -> {4}()]: {5}",
logMessage.DateTime, lo... | mit | C# |
515414c6973e4053a643aea6804c26e7a61c2362 | Update ChildNode.cs | wieslawsoltes/Draw2D,wieslawsoltes/Draw2D,wieslawsoltes/Draw2D | src/Draw2D.Skia/Bounds/ChildNode.cs | src/Draw2D.Skia/Bounds/ChildNode.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 Draw2D.ViewModels;
using SkiaSharp;
namespace Draw2D.Bounds
{
public readonly struct ChildNode : IDisposable
{
public readonly... | // 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 Draw2D.ViewModels;
using Draw2D.ViewModels.Containers;
using Draw2D.ViewModels.Shapes;
using SkiaSharp;
name... | mit | C# |
ddacdb92a64391636fa7acd9c4359e441321c40a | Fix 8.1 app | onovotny/MiFare | src/MiFare.Shared.UAP/CardReader.cs | src/MiFare.Shared.UAP/CardReader.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Enumeration;
using Windows.Devices.SmartCards;
#if WINDOWS_UAP
using Windows.Foundation.Metadata;
#endif
namespace MiFare
{
public static class CardReader
{
public... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Enumeration;
using Windows.Devices.SmartCards;
#if WINDOWS_UAP
using Windows.Foundation.Metadata;
#endif
namespace MiFare
{
public static class CardReader
{
public... | mit | C# |
4222500e0fdf4e4c15afb218bb7c06e724dc43e5 | increase the timeout | AutoMapper/AutoMapper,AutoMapper/AutoMapper | src/IntegrationTests/LocalDbContext.cs | src/IntegrationTests/LocalDbContext.cs | using Microsoft.EntityFrameworkCore;
namespace AutoMapper.IntegrationTests;
public abstract class LocalDbContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) => optionsBuilder.UseSqlServer(
@$"Data Source=(localdb)\mssqllocaldb;Integrated Security=True;Multi... | using Microsoft.EntityFrameworkCore;
namespace AutoMapper.IntegrationTests;
public abstract class LocalDbContext : DbContext
{
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder) => optionsBuilder.UseSqlServer(
@$"Data Source=(localdb)\mssqllocaldb;Integrated Security=True;Multi... | mit | C# |
bf67c6bfeaace152644b0b2e5dcdb3812645a789 | Revise expected resource name after fixing default namespace | NServiceBusSqlPersistence/NServiceBus.SqlPersistence | src/ScriptBuilder/ResourceReader.cs | src/ScriptBuilder/ResourceReader.cs | using System.IO;
using System.Reflection;
using NServiceBus.Persistence.Sql.ScriptBuilder;
static class ResourceReader
{
static Assembly assembly = typeof(ResourceReader).GetTypeInfo().Assembly;
public static string ReadResource(BuildSqlDialect sqlDialect, string prefix)
{
var text = $"NServiceBu... | using System.IO;
using System.Reflection;
using NServiceBus.Persistence.Sql.ScriptBuilder;
static class ResourceReader
{
static Assembly assembly = typeof(ResourceReader).GetTypeInfo().Assembly;
public static string ReadResource(BuildSqlDialect sqlDialect, string prefix)
{
var text = $"NServiceBu... | mit | C# |
5c01d9eb091cb64f6a4c8eab2514c34b2b7ae94e | Add .map ext to SetupMiddleware #286 | FanrayMedia/Fanray,FanrayMedia/Fanray,FanrayMedia/Fanray | src/Fan.Web/Infrastructure/SetupMiddleware.cs | src/Fan.Web/Infrastructure/SetupMiddleware.cs | using Fan.Settings;
using Microsoft.AspNetCore.Http;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Fan.Web.Infrastructure
{
/// <summary>
/// Middleware to setup the site.
/// </summary>
public class SetupMiddleware
{
private readonly RequestDelegate _next;
... | using Fan.Settings;
using Microsoft.AspNetCore.Http;
using System;
using System.Linq;
using System.Threading.Tasks;
namespace Fan.Web.Infrastructure
{
/// <summary>
/// Middleware to setup the site.
/// </summary>
public class SetupMiddleware
{
private readonly RequestDelegate _next;
... | apache-2.0 | C# |
e83f6afdcf6d67a75efb12e2d178ae8fae989a58 | Add language declaration to layout | billboga/fav-rocks | src/FavRocks.Site/Views/Shared/_Layout.cshtml | src/FavRocks.Site/Views/Shared/_Layout.cshtml | <!DOCTYPE html>
<html lang="en-us">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"]–FAV Rocks</title>
<link rel="shortcut icon" href="~/favicon.ico" />
<environment names="Development">
<link rel="stylesheet... | <!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"]–FAV Rocks</title>
<link rel="shortcut icon" href="~/favicon.ico" />
<environment names="Development">
<link rel="stylesheet" href="~/css... | mit | C# |
260194537dd87f5da2d3be64afa083b404c34f62 | Fix build | janssenr/MyParcelApi.Net | src/MyParcelApi.Tests/DeliveryOptionsTests.cs | src/MyParcelApi.Tests/DeliveryOptionsTests.cs | using System;
using System.Configuration;
using MyParcelApi.Net;
using MyParcelApi.Net.Models;
using NUnit.Framework;
namespace MyParcelApi.Tests
{
[TestFixture]
public class DeliveryOptionsTests
{
private MyParcelApiClient _client;
[SetUp]
public void SetUp()
... | using System;
using System.Configuration;
using MyParcelApi.Net;
using MyParcelApi.Net.Models;
using NUnit.Framework;
namespace MyParcelApi.Tests
{
[TestFixture]
public class DeliveryOptionsTests
{
private MyParcelApiClient _client;
[SetUp]
public void SetUp()
... | mit | C# |
f33c71b0824f8a329442f7272acce95a2c3f3963 | Set port 7400 and use default WebHost builder | barnardos-au/Neo4jManager | src/Neo4jManager/Neo4jManager.Host/Program.cs | src/Neo4jManager/Neo4jManager.Host/Program.cs | using System.IO;
using System.Net;
using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
namespace Neo4jManager.Host
{
public class Program
{
public static void Main(string[] args)
{
var host = WebHost.CreateDefaultBuilder(arg... | using System.IO;
using Autofac.Extensions.DependencyInjection;
using Microsoft.AspNetCore.Hosting;
namespace Neo4jManager.Host
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.ConfigureS... | mit | C# |
3ba0d0ff07eceafdd954ee3642917900ca5d8b5e | Add search link. Closes #37 | sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery,sixteencolors/Pablo.Gallery | src/Pablo.Gallery/Views/Shared/_Layout.cshtml | src/Pablo.Gallery/Views/Shared/_Layout.cshtml | @using System.Web.Configuration
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewBag.Title - @WebConfigurationManager.AppSettings["ApplicationNameLong"]</title>
@Styles.Render("~/Content/css")
</head>
<body>
@{
var controll... | @using System.Web.Configuration
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewBag.Title - @WebConfigurationManager.AppSettings["ApplicationNameLong"]</title>
@Styles.Render("~/Content/css")
</head>
<body>
@{
var controll... | mit | C# |
6a82406caf76ec1033b4f72303fe4e1f9e8dacd8 | Update ProfilerHelper | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Helpers/ProfilerHelper.cs | src/WeihanLi.Common/Helpers/ProfilerHelper.cs | using System.Diagnostics;
namespace WeihanLi.Common.Helpers;
public sealed class ProfilerStopper : IDisposable
{
private readonly IProfiler _profiler;
private readonly Action<TimeSpan> _profileAction;
public ProfilerStopper(IProfiler profiler, Action<TimeSpan> profileAction)
{
_profiler = pr... | using System.Diagnostics;
namespace WeihanLi.Common.Helpers;
public sealed class ProfilerStopper : IDisposable
{
private readonly IProfiler _profiler;
private readonly Action<TimeSpan> _profileAction;
public ProfilerStopper(IProfiler profiler, Action<TimeSpan> profileAction)
{
_profiler = pr... | mit | C# |
8afac251209cf0940d5338993bbc26394a5098ce | Add params modifier on override | github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql,github/codeql | csharp/extractor/Semmle.Util/LoggerUtils.cs | csharp/extractor/Semmle.Util/LoggerUtils.cs | using System;
using System.IO;
using System.Diagnostics;
namespace Semmle.Util
{
/// <summary>
/// Utility stream writer that prefixes the current PID to some writes.
/// Useful to disambiguate logs belonging to different extractor processes
/// that end up in the same place (csharp.log). Does a best-e... | using System;
using System.IO;
using System.Diagnostics;
namespace Semmle.Util
{
/// <summary>
/// Utility stream writer that prefixes the current PID to some writes.
/// Useful to disambiguate logs belonging to different extractor processes
/// that end up in the same place (csharp.log). Does a best-e... | mit | C# |
2c1e9b4d0fa5a0b49a7a9b97b07292f2f1fb4117 | Fix some details of the event object | haithemaraissia/XamarinStripe,xamarin/XamarinStripe | XamarinStripe/StripeEvent.cs | XamarinStripe/StripeEvent.cs | /*
* Copyright 2012 Xamarin, Inc.
*
* 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 2012 Xamarin, Inc.
*
* 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# |
28be1e96f493480b00de219a8b75d79c4a1a565d | Make JSON SQL builders public | henkmollema/Dommel | src/Dommel.Json/IJsonSqlBuilder.cs | src/Dommel.Json/IJsonSqlBuilder.cs | namespace Dommel.Json
{
/// <summary>
/// Extends the <see cref="DommelMapper.ISqlBuilder"/> with support for
/// creating JSON value expressions.
/// </summary>
public interface IJsonSqlBuilder : DommelMapper.ISqlBuilder
{
/// <summary>
/// Creates a JSON value expression for t... | namespace Dommel.Json
{
/// <summary>
/// Extends the <see cref="DommelMapper.ISqlBuilder"/> with support for
/// creating JSON value expressions.
/// </summary>
public interface IJsonSqlBuilder : DommelMapper.ISqlBuilder
{
/// <summary>
/// Creates a JSON value expression for ... | mit | C# |
40e29673e39796f20a773d670726317cadc8d48b | allow users to leave a closed room | mogulTest1/Project13171106,mzdv/JabbR,mogultest2/Project92109,mogultest2/Project13171008,mogulTest1/Project13161127,mogulTest1/Project13161127,M-Zuber/JabbR,mogulTest1/ProjectJabbr01,mogultest2/Project13231008,M-Zuber/JabbR,timgranstrom/JabbR,mogulTest1/Project91105,e10/JabbR,MogulTestOrg1008/Project13221008,mogulTest1... | JabbR/Commands/LeaveCommand.cs | JabbR/Commands/LeaveCommand.cs | using System.Web;
using JabbR.Models;
namespace JabbR.Commands
{
[Command("leave", "")]
public class LeaveCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser, string[] args)
{
ChatRoom room = null;
... | using System.Web;
using JabbR.Models;
namespace JabbR.Commands
{
[Command("leave", "")]
public class LeaveCommand : UserCommand
{
public override void Execute(CommandContext context, CallerContext callerContext, ChatUser callingUser, string[] args)
{
ChatRoom room = null;
... | mit | C# |
3f2c1338d565848a811ae640ed5e5542cde8ea0e | remove unused using statements | peasy/Samples,peasy/Peasy.NET,ahanusa/Peasy.NET,peasy/Samples,peasy/Samples,ahanusa/facile.net | Orders.com.BLL/OrderService.cs | Orders.com.BLL/OrderService.cs | using Facile.Core;
using Orders.com.Core.DataProxy;
using Orders.com.Core.Domain;
using Orders.com.Core.QueryData;
using System;
using System.Collections.Generic;
namespace Orders.com.BLL
{
public class OrderService : OrdersDotComServiceBase<Order>
{
private InventoryItemService _inventoryService;
... | using Facile.Core;
using Orders.com.BLL.Rules;
using Orders.com.Core.DataProxy;
using Orders.com.Core.Domain;
using Orders.com.Core.Extensions;
using Orders.com.Core.QueryData;
using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
usin... | mit | C# |
087fb87572a9a2a6da13e4cf9e9962225230c45d | Update version | Solybum/Libraries | ByteArray/ByteArray/Properties/AssemblyInfo.cs | ByteArray/ByteArray/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("ByteArray")]
[assembly: AssemblyDescriptio... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ByteArray")]
[assembly: AssemblyDescriptio... | mit | C# |
24d3b0b342fe49901ce3664691d39b1bdb5e4f89 | remove unused function from utils.cs | smurfpandey/sendgrid-csharp-net40,dubrovkinmaxim/sendgrid-csharp,brcaswell/sendgrid-csharp,sumeshthomas/sendgrid-csharp,pandeysoni/sendgrid-csharp,sumeshthomas/sendgrid-csharp,kenlefeb/sendgrid-csharp,dubrovkinmaxim/sendgrid-csharp,smurfpandey/sendgrid-csharp-net40,sendgrid/sendgrid-csharp,FriskyLingo/sendgrid-csharp,s... | SendGrid/SendGridMail/Utils.cs | SendGrid/SendGridMail/Utils.cs | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Runtime.Serialization.Json;
using System.Text;
namespace SendGridMail
{
public class Utils
{
public static string Serialize<T>(... | using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Pipes;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Runtime.Serialization.Json;
using System.Text;
namespace SendGridMail
{
public class Utils
{
public static string Serialize<T>(... | mit | C# |
a47de530585cc60209761caa6f96d4288323e14e | copy documentation from solr wiki | chang892886597/SolrNet,erandr/SolrNet,vyzvam/SolrNet,mausch/SolrNet,yonglehou/SolrNet,Laoujin/SolrNet,erandr/SolrNet,doss78/SolrNet,18098924759/SolrNet,doss78/SolrNet,vladen/SolrNet,vyzvam/SolrNet,vmanral/SolrNet,yonglehou/SolrNet,vyzvam/SolrNet,yonglehou/SolrNet,MetSystem/SolrNet,tombeany/SolrNet,SolrNet/SolrNet,18098... | SolrNet/SolrFacetFieldQuery.cs | SolrNet/SolrFacetFieldQuery.cs | using System.Collections.Generic;
namespace SolrNet {
public class SolrFacetFieldQuery : ISolrFacetQuery {
private readonly string field;
public SolrFacetFieldQuery(string field) {
this.field = field;
}
/// <summary>
/// Limits the terms on which to facet to those starting with the given st... | using System.Collections.Generic;
namespace SolrNet {
public class SolrFacetFieldQuery : ISolrFacetQuery {
private readonly string field;
public SolrFacetFieldQuery(string field) {
this.field = field;
}
public string Prefix { get; set; }
public bool? Sort { get; set; }
public int? Limit ... | apache-2.0 | C# |
a950f2034eceaff0d2ffd48046e45e52324c9994 | Set OptimizeJoins default value to false. | jogibear9988/linq2db,genusP/linq2db,jogibear9988/linq2db,lvaleriu/linq2db,linq2db/linq2db,sdanyliv/linq2db,MaceWindu/linq2db,lvaleriu/linq2db,linq2db/linq2db,ronnyek/linq2db,sdanyliv/linq2db,genusP/linq2db,MaceWindu/linq2db,LinqToDB4iSeries/linq2db,enginekit/linq2db,LinqToDB4iSeries/linq2db | Source/Common/Configuration.cs | Source/Common/Configuration.cs | using System;
namespace LinqToDB.Common
{
public static class Configuration
{
public static bool IsStructIsScalarType = true;
public static bool AvoidSpecificDataProviderAPI;
public static class Linq
{
public static bool PreloadGroups;
public static bool IgnoreEmptyUpdate;
public stati... | using System;
namespace LinqToDB.Common
{
public static class Configuration
{
public static bool IsStructIsScalarType = true;
public static bool AvoidSpecificDataProviderAPI;
public static class Linq
{
public static bool PreloadGroups;
public static bool IgnoreEmptyUpdate;
public stati... | mit | C# |
e1cf91bee7c92d1bdc58e21ed9e06bdf0ea9f636 | Add renderable Point | Weingartner/SolidworksAddinFramework | SolidworksAddinFramework/OpenGl/IRenderable.cs | SolidworksAddinFramework/OpenGl/IRenderable.cs | using System;
using System.Numerics;
using OpenTK.Graphics.OpenGL;
using SolidWorks.Interop.sldworks;
using MGL = SolidworksAddinFramework.OpenGl.ModernOpenGl;
using OpenTK.Graphics.OpenGL;
namespace SolidworksAddinFramework.OpenGl
{
public interface IRenderable
{
void Render(DateTime time);
vo... | using System;
using System.Numerics;
using SolidWorks.Interop.sldworks;
namespace SolidworksAddinFramework.OpenGl
{
public interface IRenderable
{
void Render(DateTime time);
void ApplyTransform(Matrix4x4 transform);
}
} | mit | C# |
a37de93ccbcc0f6a4421bfa85a16ababa2b02ca2 | Enable all tests again. | CosmosOS/Cosmos,zarlo/Cosmos,fanoI/Cosmos,trivalik/Cosmos,jp2masa/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,zarlo/Cosmos,CosmosOS/Cosmos,fanoI/Cosmos,jp2masa/Cosmos,CosmosOS/Cosmos,tgiphil/Cosmos,tgiphil/Cosmos,jp2masa/Cosmos,fanoI/Cosmos,trivalik/Cosmos,trivalik/Cosmos,zarlo/Cosmos,tgiphil/Cosmos | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | Tests/Cosmos.TestRunner.Core/TestKernelSets.cs | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
yield return typeof(VGACompilerCrash.Kernel);
//yield return typeof(Cosmos.Compiler.Tests.Enc... | using System;
using System.Collections.Generic;
namespace Cosmos.TestRunner.Core
{
public static class TestKernelSets
{
public static IEnumerable<Type> GetStableKernelTypes()
{
//yield return typeof(VGACompilerCrash.Kernel);
////yield return typeof(Cosmos.Compiler.Tests... | bsd-3-clause | C# |
9cebf31541c54789aac436d2990659569bb458b6 | Use a flag to indicate if the shader stage has been successfully compiled. | izrik/ChamberLib,izrik/ChamberLib,izrik/ChamberLib | ChamberLib.OpenTK/ShaderStage.cs | ChamberLib.OpenTK/ShaderStage.cs | using System;
using OpenTK.Graphics.OpenGL;
using System.Diagnostics;
using ChamberLib.Content;
using _OpenTK = global::OpenTK;
namespace ChamberLib.OpenTK
{
public class ShaderStage : IShaderStage
{
public ShaderStage(ShaderContent content)
: this(content.Source, content.Type, content.Nam... | using System;
using OpenTK.Graphics.OpenGL;
using System.Diagnostics;
using ChamberLib.Content;
namespace ChamberLib.OpenTK
{
public class ShaderStage : IShaderStage
{
public ShaderStage(ShaderContent content)
: this(content.Source, content.Type, content.Name)
{
}
p... | lgpl-2.1 | C# |
e3fb60d250538abe4ab4cfb785d5c9d76e89ffc9 | fix gc alloc | Elringus/SpriteGlow,Elringus/SpriteGlow | Assets/SpriteGlow/SpriteGlowMaterial.cs | Assets/SpriteGlow/SpriteGlowMaterial.cs | using System.Collections.Generic;
using UnityEngine;
namespace SpriteGlow
{
public class SpriteGlowMaterial : Material
{
public Texture SpriteTexture { get { return mainTexture; } }
public bool DrawOutside { get { return IsKeywordEnabled(OUTSIDE_MATERIAL_KEYWORD); } }
public bool Insta... | using System.Collections.Generic;
using UnityEngine;
namespace SpriteGlow
{
public class SpriteGlowMaterial : Material
{
public Texture SpriteTexture { get { return mainTexture; } }
public bool DrawOutside { get { return IsKeywordEnabled(OUTSIDE_MATERIAL_KEYWORD); } }
public bool Insta... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.