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 |
|---|---|---|---|---|---|---|---|---|
bbd003fc9db6b0fb3f79eb8935811915b4804387 | remove quotes from string tokens | b3b00/csly,b3b00/sly | cpg/lexer/Token.cs | cpg/lexer/Token.cs | using System;
namespace lexer
{
public class Token<T>
{
private static T defTok;
public static T DefaultToken
{
get { return defTok; }
set { defTok = value; }
}
public Token(T token, string value, TokenPosition position)
{
T... | using System;
namespace lexer
{
public class Token<T>
{
private static T defTok;
public static T DefaultToken
{
get { return defTok; }
set { defTok = value; }
}
public Token(T token, string value, TokenPosition position)
{
... | mit | C# |
b0a45d73220214e51eea883a1fa1b4dd5b86c0dd | Change constants file. Fixed path to MonkeyHelper. | VitalyaKvas/MonkeyHelper | MonkeyTests/MonkeyHelper/Code/Constants.tstest.cs | MonkeyTests/MonkeyHelper/Code/Constants.tstest.cs | using Telerik.TestingFramework.Controls.KendoUI;
using Telerik.WebAii.Controls.Html;
using Telerik.WebAii.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using ArtOfTest.Common.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.Controls.HtmlControls;
u... | using Telerik.TestingFramework.Controls.KendoUI;
using Telerik.WebAii.Controls.Html;
using Telerik.WebAii.Controls.Xaml;
using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using ArtOfTest.Common.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.Controls.HtmlControls;
u... | mit | C# |
4fd96461567cdf584f38ff9d904d0bdf77c0849f | comment correction | UnityCommunity/UnityLibrary | Assets/Scripts/Camera/PlayerMovement.cs | Assets/Scripts/Camera/PlayerMovement.cs | using UnityEngine;
using System.Collections.Generic;
using System.Collections;
//Script for moving a gameObject smoothly
//Usage: Attach the character controller component to the gameobject that you want to move
namespace UnityLibary
{
public class PlayerMovement : MonoBehaviour
{
// place the gameob... | using UnityEngine;
using System.Collections.Generic;
using System.Collections;
//Script for moving a gameObject smoothly
namespace UnityLibary
{
public class PlayerMovement : MonoBehaviour
{
//attach the gameobject that you want to move
public CharacterController controller;
public f... | mit | C# |
1f226cbeae1919dcc10e8ee522e03ebb9f116fa3 | Make lights not appear in menu | BialJam/NieWiemAndrzejuNaprawdeNieWiem | Bialjam/Assets/Gra/LightManager.cs | Bialjam/Assets/Gra/LightManager.cs | using UnityEngine;
using System.Collections;
public class LightManager {
Material LightOnMaterial;
Material LightOffMaterial;
public bool IsOn = true;
// Use this for initialization
public void UpdateLights() {
bool lightOn = IsOn;
if (!Application.loadedLevelName.StartsWith ("Level"))
lightOn = false;
... | using UnityEngine;
using System.Collections;
public class LightManager {
Material LightOnMaterial;
Material LightOffMaterial;
public bool IsOn = true;
// Use this for initialization
public void UpdateLights() {
GameObject[] allLights = GameObject.FindGameObjectsWithTag ("Light");
foreach (GameObject i in al... | cc0-1.0 | C# |
90f34a4bc06ba02bd2a13e035b540656cc8e2e00 | Use property instead of field for CompositeDisposable | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Behaviors/CommandOnDoubleClickBehavior.cs | WalletWasabi.Gui/Behaviors/CommandOnDoubleClickBehavior.cs | using Avalonia.Controls;
using System.Reactive.Disposables;
namespace WalletWasabi.Gui.Behaviors
{
public class CommandOnDoubleClickBehavior : CommandBasedBehavior<Control>
{
private CompositeDisposable Disposables { get; set; }
protected override void OnAttached()
{
Disposables = new CompositeDisposable(... | using Avalonia.Controls;
using System.Reactive.Disposables;
namespace WalletWasabi.Gui.Behaviors
{
public class CommandOnDoubleClickBehavior : CommandBasedBehavior<Control>
{
private CompositeDisposable _disposables;
protected override void OnAttached()
{
_disposables = ne... | mit | C# |
8807fdf3182211bb9b9a3aace28235b56fa66c59 | Improve code readability | mplacona/TwilioMVCSample | TwilioMVCSample/Controllers/HomeController.cs | TwilioMVCSample/Controllers/HomeController.cs | using System.Web.Mvc;
using Twilio;
using Twilio.TwiML.Mvc;
namespace TwilioMVCSample.Controllers
{
public class HomeController : TwilioController
{
// GET: Home
public ActionResult Index()
{
const string accountSid = "mySID";
const string authToken = "myAuth";
... | using System.Web.Mvc;
using Twilio;
using Twilio.TwiML.Mvc;
namespace TwilioMVCSample.Controllers
{
public class HomeController : TwilioController
{
// GET: Home
public ActionResult Index()
{
string AccountSid = "mySID";
string AuthToken = "myAuth";
... | mit | C# |
efb0b4186df5859daf9af6b683e4318f796c78ef | Update AssemblyInfo.cs | stephanstapel/ZUGFeRD-csharp,stephanstapel/ZUGFeRD-csharp | ZUGFeRDToExcelTest/Properties/AssemblyInfo.cs | ZUGFeRDToExcelTest/Properties/AssemblyInfo.cs | /*
* 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 (the
* "License"); you ... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: Assem... | apache-2.0 | C# |
777690a0111f95fb91197e5c7b42e7436b6aa9b0 | FIX Arguments test | lightlikeD/DSACharacterSheet,lightlike/DSACharacterSheet | Drachenhorn.UnitTest/Organisation/TestArguments.cs | Drachenhorn.UnitTest/Organisation/TestArguments.cs | using System;
using Drachenhorn.Organisation.Arguments;
using Drachenhorn.Xml.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Drachenhorn.UnitTest.Organisation
{
[TestClass]
public class TestArguments
{
[TestMethod]
public void TestArgs()
{
string[] ... | using System;
using Drachenhorn.Organisation.Arguments;
using Drachenhorn.Xml.Data;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Drachenhorn.UnitTest.Organisation
{
[TestClass]
public class TestArguments
{
[TestMethod]
public void TestArgs()
{
string[] ... | mit | C# |
3ba88d935e0f4e5536e3da19b8cc48d90dfcb5fe | Add test | sakapon/KLibrary.Linq | KLibrary4/UnitTest/Linq/GroupingTest.cs | KLibrary4/UnitTest/Linq/GroupingTest.cs | using System;
using System.Collections.Generic;
using System.Linq;
using KLibrary.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest.Linq
{
[TestClass]
public class GroupingTest
{
[TestMethod]
public void GroupBySequentially_1()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using KLibrary.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace UnitTest.Linq
{
[TestClass]
public class GroupingTest
{
[TestMethod]
public void GroupBySequentially_1()
{
... | mit | C# |
cd51733ae03a3453b2cb8c5af6fce20f776cbc50 | Change printLn to print all values followed by a newline | Rohansi/Mond,Rohansi/Mond,SirTony/Mond,Rohansi/Mond,SirTony/Mond,SirTony/Mond | Mond/Libraries/Console/ConsoleOutput.cs | Mond/Libraries/Console/ConsoleOutput.cs | using Mond.Binding;
namespace Mond.Libraries.Console
{
[MondClass("")]
internal class ConsoleOutputClass
{
private ConsoleOutputLibrary _consoleOutput;
public static MondValue Create(ConsoleOutputLibrary consoleOutput)
{
MondValue prototype;
MondClassBinder... | using Mond.Binding;
namespace Mond.Libraries.Console
{
[MondClass("")]
internal class ConsoleOutputClass
{
private ConsoleOutputLibrary _consoleOutput;
public static MondValue Create(ConsoleOutputLibrary consoleOutput)
{
MondValue prototype;
MondClassBinder... | mit | C# |
2c07fa7094b784e384ab75bb7cc5828c31a69340 | Add seed option to CompilationStage | Barleytree/NitoriWare,NitorInc/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare | Assets/Scripts/Stage/CompilationStage.cs | Assets/Scripts/Stage/CompilationStage.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
public class CompilationStage : Stage
{
[SerializeField]
protected int microgamesPerRound = 20, microgamesPerSpeedChange = 4;
[SerializeField]
private MicrogameCollection.Restriction restriction = MicrogameCollection.Rest... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.IO;
public class CompilationStage : Stage
{
[SerializeField]
protected int microgamesPerRound = 20, microgamesPerSpeedChange = 4;
[SerializeField]
private MicrogameCollection.Restriction restriction = MicrogameCollection.R... | mit | C# |
1e39bbb26a11c18a5fbaceda7f011b339bdccb7a | Add a exception if the tileset file size is not multiple of the tile size | Aurioch/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended,rafaelalmeidatk/MonoGame.Extended,LithiumToast/MonoGame.Extended,cra0zy/MonoGame.Extended,HyperionMT/MonoGame.Extended | Source/MonoGame.Extended/Maps/Tiled/TiledTileSet.cs | Source/MonoGame.Extended/Maps/Tiled/TiledTileSet.cs | using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.Extended.TextureAtlases;
namespace MonoGame.Extended.Maps.Tiled
{
public class TiledTileset
{
public TiledTileset(Texture2D texture, int firstId, int tileWidth, int tileHeight, int spacing = 2, int margin = 2)
... | using System.Collections.Generic;
using Microsoft.Xna.Framework.Graphics;
using MonoGame.Extended.TextureAtlases;
namespace MonoGame.Extended.Maps.Tiled
{
public class TiledTileset
{
public TiledTileset(Texture2D texture, int firstId, int tileWidth, int tileHeight, int spacing = 2, int margin = 2)
... | mit | C# |
fb217ce04ad2f04204bc8b6e6fd37d5f3debf8b4 | fix CameraFollowPlayer script | virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016,whoa-algebraic/game-off-2016,whoa-algebraic/game-off-2016,virtuoushub/game-off-2016 | Assets/Scripts/CameraFollowPlayer.cs | Assets/Scripts/CameraFollowPlayer.cs | using UnityEngine;
using System.Collections;
public class CameraFollowPlayer : MonoBehaviour {
public Transform PlayerCharacter;
public float horizontalEdgeBuffer;
public float verticalEdgeBuffer;
private int mapTileHorizontalUnits = 4;
private int mapTileVerticalUnits = 2;
private float uni... | using UnityEngine;
using System.Collections;
public class CameraFollowPlayer : MonoBehaviour {
public Transform PlayerCharacter;
public float horizontalEdgeBuffer;
public float verticalEdgeBuffer;
private int mapTileHorizontalUnits = 4;
private int mapTileVerticalUnits = 2;
private float uni... | mit | C# |
8189b3203f1cd69da569d5579fadea4d63266a7b | Add ToString() method | jorik041/dnlib,yck1509/dnlib,ilkerhalil/dnlib,modulexcite/dnlib,0xd4d/dnlib,picrap/dnlib,ZixiangBoy/dnlib,Arthur2e5/dnlib,kiootic/dnlib | src/DotNet/RecursionCounter.cs | src/DotNet/RecursionCounter.cs | using System;
namespace dot10.DotNet {
struct RecursionCounter {
/// <summary>
/// Max recursion count. If this is reached, we won't continue, and will use a default value.
/// </summary>
const int MAX_RECURSION_COUNT = 100;
int counter;
/// <summary>
/// Increments <see cref="counter"/> if it's not t... | using System;
namespace dot10.DotNet {
struct RecursionCounter {
/// <summary>
/// Max recursion count. If this is reached, we won't continue, and will use a default value.
/// </summary>
const int MAX_RECURSION_COUNT = 100;
int counter;
/// <summary>
/// Increments <see cref="counter"/> if it's not t... | mit | C# |
34098d74abcc4168d4395cde78a37081ac0280c6 | Fix namespaces for serializer | FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Serializer,FreecraftCore/FreecraftCore.Payload.Serializer | src/Serializers/KnownTypes/IntSerializerStrategy.cs | src/Serializers/KnownTypes/IntSerializerStrategy.cs | using System;
namespace FreecraftCore.Payload.Serializer
{
/// <summary>
/// Description of IntTypeSerializerStrategy.
/// </summary>
public class IntSerializerStrategy : SharedBufferTypeSerializer<int>
{
/// <summary>
/// Perform the steps necessary to serialize the int.
/// </summary>
... | using System;
namespace FreecraftCore.Payload.Serializer.Serializers.KnownTypes
{
/// <summary>
/// Description of IntTypeSerializerStrategy.
/// </summary>
public class IntSerializerStrategy : SharedBufferTypeSerializer<int>
{
/// <summary>
/// Perform the steps necessary to serialize the int.
... | agpl-3.0 | C# |
d46da2c669a78120198a936a18b58e51a6513bad | Allow Queue prefixes | meebey/ServiceStack,ZocDoc/ServiceStack,NServiceKit/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,timba/NServiceKit,MindTouch/NServiceKit,nataren/NServiceKit,NServiceKit/NServiceKit,nataren/NServiceKit,timba/NServiceKit,nataren/NServiceKit,MindTouch/NServiceKit,ZocDoc/ServiceStack,timba/NServiceKit,MindTouch/... | src/ServiceStack.Interfaces/Messaging/QueueNames.cs | src/ServiceStack.Interfaces/Messaging/QueueNames.cs | using System;
using System.Text;
namespace ServiceStack.Messaging
{
/// <summary>
/// Util static generic class to create unique queue names for types
/// </summary>
/// <typeparam name="T"></typeparam>
public static class QueueNames<T>
{
static QueueNames()
{
var utf8 = new UTF8Encoding(fals... | using System;
using System.Text;
namespace ServiceStack.Messaging
{
/// <summary>
/// Util static generic class to create unique queue names for types
/// </summary>
/// <typeparam name="T"></typeparam>
public static class QueueNames<T>
{
static QueueNames()
{
var utf8 = new UTF8Encoding(fals... | bsd-3-clause | C# |
31cb44c3770ca2ec3d553464d3128975528d6ef9 | Change struct items model | 23S163PR/system-programming | Novak.Andriy/RegEditor/RegEditor/TreeItem.cs | Novak.Andriy/RegEditor/RegEditor/TreeItem.cs | using System.Collections.ObjectModel;
using Microsoft.Win32;
namespace RegEditor
{
class TreeItem
{
public string Title { get; set;}
public RegistryKey Key { get; set; }
public ObservableCollection<TreeItem> Items { get; set; }
public TreeItem(RegistryKey key, string title)
{
Key = key;
Title = ti... | using System.Collections.ObjectModel;
namespace RegEditor
{
class TreeItem
{
public string Title { get; set; }
public ObservableCollection<TreeItem> Items { get; set; }
public TreeItem()
{
Items = new ObservableCollection<TreeItem>();
}
}
}
| cc0-1.0 | C# |
b567be788a05337efdee5e73be36f7d072495e4e | Fix to spawner so it spawns at specified rate. | MelvynMay/JobBasedPhysics | Assets/Scripts/RandomSpawner.cs | Assets/Scripts/RandomSpawner.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RandomSpawner : MonoBehaviour
{
public Vector2 m_SpawnRangeX = new Vector2(-10.0f, 10.0f);
public Vector2 m_SpawnRangeY = new Vector2(-10.0f, 10.0f);
public int m_MaxSpawn = 1000;
public int m_SpawnPerFrame = 1... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class RandomSpawner : MonoBehaviour
{
public Vector2 m_SpawnRangeX = new Vector2(-10.0f, 10.0f);
public Vector2 m_SpawnRangeY = new Vector2(-10.0f, 10.0f);
public int m_MaxSpawn = 1000;
public int m_SpawnPerFrame = 1... | unlicense | C# |
212e53e1f4365257564de7abf9225e54dbfc146b | Add CharacterSetDefinition.ToString() method | sillsdev/libpalaso,gmartin7/libpalaso,gmartin7/libpalaso,gmartin7/libpalaso,sillsdev/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,sillsdev/libpalaso,ermshiperete/libpalaso,ermshiperete/libpalaso,gmartin7/libpalaso | SIL.WritingSystems/CharacterSetDefinition.cs | SIL.WritingSystems/CharacterSetDefinition.cs | using System;
using System.Collections.Specialized;
using System.Linq;
using SIL.Extensions;
using SIL.ObjectModel;
namespace SIL.WritingSystems
{
public class CharacterSetDefinition : DefinitionBase<CharacterSetDefinition>
{
private static readonly string[] _sequenceTypes = {"footnotes", "crossrefs", "verseSegme... | using System.Collections.Specialized;
using System.Linq;
using SIL.Extensions;
using SIL.ObjectModel;
namespace SIL.WritingSystems
{
public class CharacterSetDefinition : DefinitionBase<CharacterSetDefinition>
{
private static readonly string[] _sequenceTypes = {"footnotes", "crossrefs", "verseSegments" };
priv... | mit | C# |
fee5ae05bc552a9d21578285def7b75418df5718 | Add more atmos helpers (#1661) | space-wizards/space-station-14-content,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14,space-wizards/space-station-14-content,space-wizards/space-station-14-content,space-wizards/space-station-14 | Content.Server/Atmos/AtmosHelpers.cs | Content.Server/Atmos/AtmosHelpers.cs | #nullable enable
using System.Diagnostics.CodeAnalysis;
using Content.Server.GameObjects.EntitySystems;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Map;
namespace Content.Server.Atmos
{
public static class AtmosHelpers
{
public static TileAtmosphere? GetTileAtmosphere(this GridCoordin... | using Content.Server.GameObjects.EntitySystems;
using Robust.Shared.GameObjects.Systems;
using Robust.Shared.Map;
#nullable enable
namespace Content.Server.Atmos
{
public static class AtmosHelpers
{
public static TileAtmosphere? GetTileAtmosphere(this GridCoordinates coordinates)
{
... | mit | C# |
34dc452221cc5d8fd42d0c6d1a84c0bcf0a0b7f8 | Set the version to a trepidatious 0.5 | Xerosigma/halclient | HALClient/Properties/AssemblyInfo.cs | HALClient/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("HA... | 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("HA... | apache-2.0 | C# |
87e0de6b2ec8900fad88a0dd92511f2733aefdf8 | make sure that all solids in PlanarSlice have correct orientation (outer is CCW), and instead of just appending, boolean-union them together, to magically handle the vast set of problem meshes that have intersecting shells. | gradientspace/gsSlicer | slicing/PlanarSlice.cs | slicing/PlanarSlice.cs | using System;
using System.Collections.Generic;
using g3;
namespace gs
{
public class PlanarSlice
{
public double Z = 0;
public List<GeneralPolygon2d> Solids = new List<GeneralPolygon2d>();
// [TODO] sheets ?
public PlanarSlice()
{
}
public void Add(GeneralPolygon2d poly) {
if (poly.Ou... | using System;
using System.Collections.Generic;
using g3;
namespace gs
{
public class PlanarSlice
{
public double Z = 0;
public List<GeneralPolygon2d> Solids = new List<GeneralPolygon2d>();
// [TODO] sheets ?
public PlanarSlice()
{
}
public void Add(GeneralPolygon2d poly) {
Solids.Add(poly);
... | mit | C# |
0fa241cc98098e6e7f77ce8022a1f89fae50c3ee | add powershell category filter to author file | planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell,planetpowershell/planetpowershell | src/Firehose.Web/Authors/JeremyMurrah.cs | src/Firehose.Web/Authors/JeremyMurrah.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JeremyMurrah : IAmACommunityMember
{
public string FirstName => "Jeremy";
public string La... | using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using Firehose.Web.Infrastructure;
namespace Firehose.Web.Authors
{
public class JeremyMurrah : IAmACommunityMember
{
public string FirstName => "Jeremy";
public string La... | mit | C# |
23d3792d48de904f4b3de2dd5a021e590a97ad2f | add Format("G") | signumsoftware/framework,AlejandroCano/framework,signumsoftware/framework,AlejandroCano/framework | Signum.Entities/Basics/OperationLog.cs | Signum.Entities/Basics/OperationLog.cs | using System;
using Signum.Utilities;
using System.Linq.Expressions;
namespace Signum.Entities.Basics
{
#pragma warning disable CS8618 // Non-nullable field is uninitialized.
[Serializable, EntityKind(EntityKind.System, EntityData.Transactional), TicksColumn(false), InTypeScript(Undefined = false)]
pub... | using System;
using Signum.Utilities;
using System.Linq.Expressions;
namespace Signum.Entities.Basics
{
#pragma warning disable CS8618 // Non-nullable field is uninitialized.
[Serializable, EntityKind(EntityKind.System, EntityData.Transactional), TicksColumn(false), InTypeScript(Undefined = false)]
pub... | mit | C# |
153bea432238a437db29a0b27858aacf11583696 | Set the MarshalByRefObject to be ComVisible and (dotnet/coreclr#22930) | ericstj/corefx,ViktorHofer/corefx,shimingsg/corefx,ptoonen/corefx,ViktorHofer/corefx,BrennanConroy/corefx,ericstj/corefx,ViktorHofer/corefx,shimingsg/corefx,ptoonen/corefx,wtgodbe/corefx,ptoonen/corefx,wtgodbe/corefx,wtgodbe/corefx,BrennanConroy/corefx,wtgodbe/corefx,ericstj/corefx,wtgodbe/corefx,ViktorHofer/corefx,Vik... | src/Common/src/CoreLib/System/MarshalByRefObject.cs | src/Common/src/CoreLib/System/MarshalByRefObject.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.InteropServices;
namespace System
{
[ClassInterface(ClassInterfaceType.AutoDispatch)]
... | // Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
namespace System
{
public abstract class MarshalByRefObject
{
protected MarshalByRefObject()
... | mit | C# |
dbe369b26d79c52be59a06422e267bf64a1a46f4 | change how client receive tcp packets | vik-borisov/TelegramClient,ShanalTeam/TeleTurk | TLSharp.Core/Network/TcpTransport.cs | TLSharp.Core/Network/TcpTransport.cs | using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace TLSharp.Core.Network
{
public class TcpTransport : IDisposable
{
private const string defaultConnectionAddress = "91.108.56.165";
private const int defaultConnectionPort = 443;
private readonly... | using System;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace TLSharp.Core.Network
{
public class TcpTransport : IDisposable
{
private const string defaultConnectionAddress = "91.108.56.165";
private const int defaultConnectionPort = 443;
private readonly... | mit | C# |
3cf6f37359d1088262423130fe6d591e168c787e | Add IDictionary<Tkey, TValue>.AddRange | orbitalgames/collections-extensions | IDictionaryExtensions.cs | IDictionaryExtensions.cs | /*
The MIT License (MIT)
Copyright (c) 2016 Orbital Games, LLC.
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,... | /*
The MIT License (MIT)
Copyright (c) 2016 Orbital Games, LLC.
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# |
0b4bf5ee259a4722b57cb36371ab5b082f20ff98 | Fix namespace for the ToAsyncEnumerable extension method | tyrotoxin/AsyncEnumerable | IEnumerableExtensions.cs | IEnumerableExtensions.cs | using System.Collections.Async;
using System.Linq;
namespace System.Collections
{
/// <summary>
/// Converts generic IEnumerable to IAsyncEnumerable
/// </summary>
public static class IEnumerableExtensions
{
/// <summary>
/// Converts IEnumerable to IAsyncEnumerable
/// </... | using System.Collections.Async;
using System.Collections.Generic;
using System.Linq;
namespace System.Collections
{
/// <summary>
/// Converts generic IEnumerable to IAsyncEnumerable
/// </summary>
public static class IEnumerableExtensions
{
/// <summary>
/// Converts generic IEnum... | mit | C# |
e9939bc00e85ac8cbfc1569976f9112f4040ea2e | Return cloned system identies from the cache | tgstation/tgstation-server,Cyberboss/tgstation-server,Cyberboss/tgstation-server,tgstation/tgstation-server-tools,tgstation/tgstation-server | src/Tgstation.Server.Host/Security/IdentityCache.cs | src/Tgstation.Server.Host/Security/IdentityCache.cs | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security
{
/// <inheritdoc />
sealed class IdentityCache : IIdentityCache, IDisposable
{
/// <summary>
/// The <see cref="ILogger"/> for the... | using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using Tgstation.Server.Host.Models;
namespace Tgstation.Server.Host.Security
{
/// <inheritdoc />
sealed class IdentityCache : IIdentityCache, IDisposable
{
/// <summary>
/// The <see cref="ILogger"/> for the... | agpl-3.0 | C# |
9ae7005681cd81308397716507cb594f66ff6484 | Use UserVisibilityHint to detect ViewPager change instead of MenuVisibility, this fixes an Exception. | jbatonnet/shared | Android/Layout/TabFragment.cs | Android/Layout/TabFragment.cs | using System;
using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Database;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Support.Design.Widget;
using Android.Support.V4.Widget;
using Android.Support.V4... | using System;
using System.Collections.Generic;
using System.Linq;
using Android.App;
using Android.Content;
using Android.Content.PM;
using Android.Database;
using Android.Graphics;
using Android.OS;
using Android.Runtime;
using Android.Support.Design.Widget;
using Android.Support.V4.Widget;
using Android.Support.V4... | mit | C# |
66b5b307be9aab4e575765e826282b019c290da4 | Format FontFamily | SixLabors/Fonts | src/SixLabors.Fonts/FontFamily.cs | src/SixLabors.Fonts/FontFamily.cs | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.Linq;
namespace SixLabors.Fonts
{
/// <summary>
/// Defines a group of type faces having a similar basic design and certain variations in styles. This ... | // Copyright (c) Six Labors and contributors.
// Licensed under the Apache License, Version 2.0.
using System;
using System.Collections.Generic;
using System.Linq;
namespace SixLabors.Fonts
{
/// <summary>
/// Defines a group of type faces having a similar basic design and certain variations in styles. This ... | apache-2.0 | C# |
986fc93181a682954fd768e4e2e8fd9a3eaa0a71 | Update XML comments to use correct interface name (#29627) | Jiayili1/corefx,shimingsg/corefx,Jiayili1/corefx,ViktorHofer/corefx,BrennanConroy/corefx,ericstj/corefx,ptoonen/corefx,ericstj/corefx,ptoonen/corefx,shimingsg/corefx,wtgodbe/corefx,BrennanConroy/corefx,Jiayili1/corefx,mmitche/corefx,wtgodbe/corefx,ptoonen/corefx,ptoonen/corefx,ViktorHofer/corefx,mmitche/corefx,wtgodbe/... | src/System.Configuration.ConfigurationManager/src/System/Configuration/IConfigurationSectionHandler.cs | src/System.Configuration.ConfigurationManager/src/System/Configuration/IConfigurationSectionHandler.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.Xml;
namespace System.Configuration
{
/// <summary>
/// The IConfigurationSectionHandler i... | // 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.Xml;
namespace System.Configuration
{
/// <summary>
/// The IConfigSectionHandler interfac... | mit | C# |
849937110e3c0600be34084c383ff4771f4a490e | Remove useless test from Sandbox | JohanLarsson/Gu.Roslyn.Asserts | Gu.Roslyn.Asserts.Tests/Sandbox.cs | Gu.Roslyn.Asserts.Tests/Sandbox.cs | // ReSharper disable UnusedVariable
// ReSharper disable RedundantNameQualifier
namespace Gu.Roslyn.Asserts.Tests
{
using System;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
[Explicit("Sandbox")]
publi... | // ReSharper disable UnusedVariable
// ReSharper disable RedundantNameQualifier
namespace Gu.Roslyn.Asserts.Tests
{
using System;
using System.Reflection;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.CodeAnalysis.CSharp.Syntax;
using NUnit.Framework;
[E... | mit | C# |
9bfcf2bf7ab4189b2c7c5b352a45e0d6cd487703 | Update CrewCheck.cs | Magion/WernherChecker,linuxgurugamer/WernherChecker,Kerbas-ad-astra/WernherChecker | Source/CrewCheck.cs | Source/CrewCheck.cs | using System;
using System.Collections.Generic;
using UnityEngine;
using PreFlightTests;
namespace WernherChecker
{
class CrewCheck : IPreFlightTest
{
static PreFlightCheck checks;
public static void OnButtonInput(ref POINTER_INFO ptr)
{
if (ptr.evt == POINTER_INFO.INPUT_EV... | using System;
using System.Collections.Generic;
using UnityEngine;
using PreFlightTests;
namespace WernherChecker
{
class CrewCheck : IPreFlightTest
{
static PreFlightCheck checks;
public static void OnButtonInput(ref POINTER_INFO ptr)
{
if (ptr.evt == POINTER_INFO.INPUT_EV... | mit | C# |
938e27e26e5b0359f5e4f829a4cc799e63ea111f | Bump to 0.5.1 | nickbabcock/Pdoxcl2Sharp | SharedAssemblyVersion.cs | SharedAssemblyVersion.cs | using System.Reflection;
[assembly: AssemblyTitle("Pdoxcl2Sharp")]
[assembly: AssemblyDescription("A Paradox Interactive general file parser.")]
[assembly: AssemblyCompany("NBSoftSolutions")]
[assembly: AssemblyProduct("Pdoxcl2Sharp")]
[assembly: AssemblyCopyright("Copyright (C) Nick Babcock")]
[assembly: AssemblyVer... | using System.Reflection;
[assembly: AssemblyTitle("Pdoxcl2Sharp")]
[assembly: AssemblyDescription("A Paradox Interactive general file parser.")]
[assembly: AssemblyCompany("NBSoftSolutions")]
[assembly: AssemblyProduct("Pdoxcl2Sharp")]
[assembly: AssemblyCopyright("Copyright (C) Nick Babcock")]
[assembly: AssemblyVer... | mit | C# |
53f3e8bc6bf547b730be86b1abf2e11b59fcb8cf | Add convenience properties to ModifierType. | Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver,Washi1337/AsmResolver | src/AsmResolver.Symbols.Pdb/Leaves/ModifierType.cs | src/AsmResolver.Symbols.Pdb/Leaves/ModifierType.cs | namespace AsmResolver.Symbols.Pdb.Leaves;
/// <summary>
/// Represents a type that is annotated with extra modifiers.
/// </summary>
public class ModifierType : CodeViewType
{
private readonly LazyVariable<CodeViewType> _baseType;
/// <summary>
/// Initializes a new empty modifier type.
/// </summary>... | namespace AsmResolver.Symbols.Pdb.Leaves;
/// <summary>
/// Represents a type that is annotated with extra modifiers.
/// </summary>
public class ModifierType : CodeViewType
{
private readonly LazyVariable<CodeViewType> _baseType;
/// <summary>
/// Initializes a new empty modifier type.
/// </summary>... | mit | C# |
7ba0f1c56ae7799036a56c11ef62dc410f993e8b | Use null propagation when invoking ValueWrittenToOutputRegister to prevent possible race condition. | ryanjfitz/SimpSim.NET | SimpSim.NET/Registers.cs | SimpSim.NET/Registers.cs | namespace SimpSim.NET
{
public class Registers
{
public delegate void ValueWrittenToOutputRegisterHandler(char output);
public event ValueWrittenToOutputRegisterHandler ValueWrittenToOutputRegister;
private readonly byte[] _array;
public Registers()
{
_arra... | namespace SimpSim.NET
{
public class Registers
{
public delegate void ValueWrittenToOutputRegisterHandler(char output);
public event ValueWrittenToOutputRegisterHandler ValueWrittenToOutputRegister;
private readonly byte[] _array;
public Registers()
{
_arra... | mit | C# |
778c469e5a4569ee0d6ac1a1c0d3803ad0ef711d | Load Bootstrap, jQuery and Iconic from CDN by default | duracellko/planningpoker4azure,duracellko/planningpoker4azure,duracellko/planningpoker4azure | src/Duracellko.PlanningPoker.Web/Pages/Home.cshtml | src/Duracellko.PlanningPoker.Web/Pages/Home.cshtml | @page
@model Duracellko.PlanningPoker.Web.Model.HomeModel
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Scrum Planning Poker</title>
<base href="/" />
<link href="//cdnjs.cloudflare.com/aja... | @page
@model Duracellko.PlanningPoker.Web.Model.HomeModel
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Scrum Planning Poker</title>
<base href="/" />
<link href="css/bootstrap.min.css" rel... | mit | C# |
3e3b9af7db39df61246acbeda3b893a21c1176aa | comment in NunitAssertEngine | AnthonySteele/MvcRouteTester,AlexisArce/MvcRouteTester | src/MvcRouteTester/Assertions/NunitAssertEngine.cs | src/MvcRouteTester/Assertions/NunitAssertEngine.cs | using NUnit.Framework;
namespace MvcRouteTester.Assertions
{
public class NunitAssertEngine : IAssertEngine
{
public void Fail(string message)
{
Assert.Fail(message);
}
/// <summary>
/// This could be a wrapper over "Fail" and reduce the size of the IAssertEngine interface
/// But then we would l... | using NUnit.Framework;
namespace MvcRouteTester.Assertions
{
public class NunitAssertEngine : IAssertEngine
{
public void Fail(string message)
{
Assert.Fail(message);
}
public void StringsEqualIgnoringCase(string s1, string s2, string message)
{
if (string.IsNullOrEmpty(s1) && string.IsNullOrEmpt... | apache-2.0 | C# |
af3c5cccd8bea81aca86472b439c2c262ddd7a35 | Fix newlines. | chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium,chromium/vs-chromium | src/ServerNativeInterop/AsciiStringSearchNative.cs | src/ServerNativeInterop/AsciiStringSearchNative.cs | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Runtime.InteropServices;
using VsChromium.Core.Win32.Memory;
namespace VsChromium.Server.NativeInterop {
public cl... | // Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
using System;
using System.Runtime.InteropServices;
using VsChromium.Core.Win32.Memory;
namespace VsChromium.Server.NativeInterop {
public class Ascii... | bsd-3-clause | C# |
4344212945acd9417827d69237d4622b12139359 | make HFTSoundPlayer not fail if no netplayer | greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d,greggman/hft-unity3d | Assets/HappyFunTimes/Scripts/HFTSoundPlayer.cs | Assets/HappyFunTimes/Scripts/HFTSoundPlayer.cs | using HappyFunTimes;
using HFTSounds;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent (typeof (HFTGamepad))]
public class HFTSoundPlayer : MonoBehaviour
{
private class MessageLoadSounds : MessageCmdData
{
public MessageLoadSounds(Sounds _sounds)
... | using HappyFunTimes;
using HFTSounds;
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[RequireComponent (typeof (HFTGamepad))]
public class HFTSoundPlayer : MonoBehaviour {
private class MessageLoadSounds : MessageCmdData {
public MessageLoadSounds(Sounds _sounds) {
... | bsd-3-clause | C# |
d3d5bfe2c3de559c16c643de7c3ebe65f5be62f1 | Update LevelGrading.cs | afroraydude/First_Unity_Game,afroraydude/First_Unity_Game,afroraydude/First_Unity_Game | Real_Game/Assets/Scripts/LevelGrading.cs | Real_Game/Assets/Scripts/LevelGrading.cs | using UnityEngine;
using System.Collections;
public class LevelGrading : MonoBehaviour {
public GameManager manager;
public float finalScore; // This is the final score you recieve
public string finalScoreLetter; //
public float[] timeGrading = new float[4]; ... | using UnityEngine;
using System.Collections;
public class LevelGrading : MonoBehaviour {
public float finalScore; // This is the final score you recieve
public string finalScoreLetter; //
public float[] timeGrading = new float[5]; // 5 for the 5 grades (A, B, C D, F)
public int[] death... | mit | C# |
3f4ae0b822dbfcd4d86689dbdf0d5e63b5fe30b0 | Add Trim string property extension | stadub/Net.Utils | Utils/Helpers/Strings.cs | Utils/Helpers/Strings.cs | using System;
namespace Utils
{
public static class Strings
{
public static Tuple<string, string> SplitString(this string str, char separator)
{
var index = str.IndexOf(separator);
var str2 = str.Length > index?str.Substring(index + 1):string.Empty;
var str1... | using System;
namespace Utils
{
public static class Strings
{
public static Tuple<string, string> SplitString(this string str, char separator)
{
var index = str.IndexOf(separator);
var str2 = str.Length > index?str.Substring(index + 1):string.Empty;
var str1... | bsd-3-clause | C# |
40e9941132c0f2be2b085fe29acf9f0b3d0c1bb3 | Refactor Selector | SnpM/Lockstep-Framework,yanyiyun/LockstepFramework,erebuswolf/LockstepFramework | Core/Game/Player/Utility/Selector.cs | Core/Game/Player/Utility/Selector.cs | using UnityEngine;
using System;
namespace Lockstep {
public static class Selector {
public static event Action onChange;
public static event Action<LSAgent> onAdd;
public static event Action<LSAgent> onRemove;
public static event Action onClear;
private static LSAgent _mainAgent;... | using UnityEngine;
using System;
namespace Lockstep {
public static class Selector {
public static event Action onChange;
public static event Action onAdd;
public static event Action onRemove;
private static LSAgent _mainAgent;
static Selector () {
onAdd += Change;
... | mit | C# |
f903c64970e64c12ed110ab13f563269dd2c7438 | Read method of kondoScheduler in JoindedOrganization/MyScheduler fixed. | ni4ka7a/GoDrive,ni4ka7a/GoDrive | Source/Web/GoDrive.Web/Views/JoinedOrganization/MyScheduler.cshtml | Source/Web/GoDrive.Web/Views/JoinedOrganization/MyScheduler.cshtml | @using Kendo.Mvc.UI
<h2 class="white-text">My Schedule</h2>
@(Html.Kendo().Scheduler<GoDrive.Web.ViewModels.JoinedOrganization.DriveEventViewModel>()
.Name("scheduler")
.Date(new DateTime(2013, 6, 13))
.StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
.Height(600)
.Views(views =>
{
vie... | @using Kendo.Mvc.UI
<h2 class="white-text">My Schedule</h2>
@(Html.Kendo().Scheduler<GoDrive.Web.ViewModels.JoinedOrganization.DriveEventViewModel>()
.Name("scheduler")
.Date(new DateTime(2013, 6, 13))
.StartTime(new DateTime(2013, 6, 13, 7, 00, 00))
.Height(600)
.Views(views =>
{
vie... | mit | C# |
9893f23d7d216d41931cd40cb05326488669cb4d | Revert TopshelfExitCode back to enum | Topshelf/Topshelf | src/Topshelf/TopshelfExitCode.cs | src/Topshelf/TopshelfExitCode.cs | // Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | // Copyright 2007-2012 Chris Patterson, Dru Sellers, Travis Smith, et. al.
//
// 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... | apache-2.0 | C# |
b49ff2953aec91b3e25a7373053c1db947f8e00c | Update page title | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/WebSite/Views/Home/NewPost.cshtml | src/WebSite/Views/Home/NewPost.cshtml | @model Core.ViewModels.PublicationViewModel
@{
ViewData["Title"] = "Добавить публикацию";
}
<div class="container">
<div class="row post">
<div class="col-md-12">
<h1>Добавить ссылку</h1>
<form>
<div class="form-group">
<label for="link">Сс... | @model Core.ViewModels.PublicationViewModel
<div class="container">
<div class="row post">
<div class="col-md-12">
<h1>Добавить ссылку</h1>
<form>
<div class="form-group">
<label for="link">Ссылка</label>
<input type="url" c... | mit | C# |
d575203ae883770d5b53a505b76f737b88cfeaa8 | Allow configure max number of urls per sitemap for SitemapGenerator | ernado-x/X.Web.Sitemap | src/X.Web.Sitemap/SitemapGenerator.cs | src/X.Web.Sitemap/SitemapGenerator.cs | using System.Collections.Generic;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
namespace X.Web.Sitemap;
public class SitemapGenerator : ISitemapGenerator
{
private readonly ISerializedXmlSaver<Sitemap> _serializedXmlSaver;
[PublicAPI]
public int MaxNumberOfUrlsPerSitemap { get; set; ... | using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace X.Web.Sitemap;
public class SitemapGenerator : ISitemapGenerator
{
private readonly ISerializedXmlSaver<Sitemap> _serializedXmlSaver;
public SitemapGenerator()
{
_serializedXmlSaver = new SerializedXmlSaver<S... | mit | C# |
eb08eb436aebe7695cdcaf47368c79837624af5c | update unit test project assembly info | tsongknows/WeChatBot.Net | WeChatBot.Net.Tests/Properties/AssemblyInfo.cs | WeChatBot.Net.Tests/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("WeChatBot.Net.Tests")]
[assembly: Assembl... | 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("We... | mit | C# |
6efc5cc5e25f97095cd11e9524a93a96711b8f87 | Add test showing problem with "continue with". | JornWildt/ZimmerBot | ZimmerBot.Core.Tests/BotTests/ContinueTests.cs | ZimmerBot.Core.Tests/BotTests/ContinueTests.cs | using NUnit.Framework;
namespace ZimmerBot.Core.Tests.BotTests
{
[TestFixture]
public class ContinueTests : TestHelper
{
[Test]
public void CanContinueWithEmptyTarget()
{
BuildBot(@"
> Hello
: Hi
! continue
> *
! weight 0.5
: What can I help you with?
");
AssertDialog... | using NUnit.Framework;
namespace ZimmerBot.Core.Tests.BotTests
{
[TestFixture]
public class ContinueTests : TestHelper
{
[Test]
public void CanContinueWithEmptyTarget()
{
BuildBot(@"
> Hello
: Hi
! continue
> *
! weight 0.5
: What can I help you with?
");
AssertDialog... | mit | C# |
b58afa3eb693c29d74d5aac93f7160f5f35dc639 | Remove unnecessary mentioning in xmldoc | ppy/osu,ppy/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,NeoAdonis/osu,johnneijzen/osu,2yangk23/osu,peppy/osu,UselessToucan/osu,UselessToucan/osu,smoogipooo/osu,johnneijzen/osu,NeoAdonis/osu,peppy/osu,peppy/osu-new,EVAST9919/osu,EVAST9919/osu,smoogipoo/osu,smoogipoo/osu,smoogipoo/osu,ppy/osu,NeoAdonis/osu | osu.Game/Skinning/LegacySkinConfiguration.cs | osu.Game/Skinning/LegacySkinConfiguration.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Skinning
{
public class LegacySkinConfiguration : DefaultSkinConfiguration
{
public const decimal LATEST_VERSION = 2.7m;
/// ... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
namespace osu.Game.Skinning
{
public class LegacySkinConfiguration : DefaultSkinConfiguration
{
public const decimal LATEST_VERSION = 2.7m;
/// ... | mit | C# |
d9d706631a593a962bc5fd10b9113c4cf6985e36 | Add comments. | tmeschter/roslyn,panopticoncentral/roslyn,nguerrera/roslyn,agocke/roslyn,xasx/roslyn,tmat/roslyn,KevinRansom/roslyn,DustinCampbell/roslyn,jasonmalinowski/roslyn,KirillOsenkov/roslyn,swaroop-sridhar/roslyn,diryboy/roslyn,sharwell/roslyn,heejaechang/roslyn,aelij/roslyn,stephentoub/roslyn,abock/roslyn,mgoertz-msft/roslyn,... | src/Features/Core/Portable/GenerateEqualsAndGetHashCodeFromMembers/IGenerateEqualsAndGetHashCodeService.cs | src/Features/Core/Portable/GenerateEqualsAndGetHashCodeFromMembers/IGenerateEqualsAndGetHashCodeService.cs | // Copyright (c) Microsoft. 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.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microso... | // Copyright (c) Microsoft. 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.Immutable;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.Host;
namespace Microso... | mit | C# |
2c48d7e1a08e15a1500eb7fa4e078e6ba57b1b76 | Remove component deserialize. | EliotVU/Unreal-Library | Core/UnComponent.cs | Core/UnComponent.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UELib.Core
{
using UELib;
public class UComponent : UObject
{
//protected override void Deserialize()
//{
// _Buffer.ReadInt32();
// _Buffer.ReadNameIndex();
// base.Deserialize();
//}
}
}
| using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace UELib.Core
{
using UELib;
public class UComponent : UObject
{
protected override void Deserialize()
{
_Buffer.ReadInt32();
_Buffer.ReadNameIndex();
base.Deserialize();
}
}
}
| mit | C# |
b2280df6ec8d7e89d0b519b1de829198c8ef5bfe | optimize HashCodeGenerator | pdonald/latvian | Latvian/Helpers/HashCodeGenerator.cs | Latvian/Helpers/HashCodeGenerator.cs | // Copyright 2014 Pēteris Ņikiforovs
//
// 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 ... | // Copyright 2014 Pēteris Ņikiforovs
//
// 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 ... | apache-2.0 | C# |
3b672b16c5c6a0b7253a4b5ed72f79fcd8cac683 | Set suitable default settings, in accordance with the prophecy | Damien-The-Unbeliever/KSPLaunchNumbering | LaunchNumbering/LNSettings.cs | LaunchNumbering/LNSettings.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LaunchNumbering
{
public class LNSettings : GameParameters.CustomParameterNode
{
public override GameParameters.GameMode GameMode => GameParameters.GameMode.ANY;
public override bool HasPresets => false;
public o... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace LaunchNumbering
{
public class LNSettings : GameParameters.CustomParameterNode
{
public override GameParameters.GameMode GameMode => GameParameters.GameMode.ANY;
public override bool HasPresets => false;
public o... | mit | C# |
d06945559ccec583ad762ccae56c32105aea8f67 | Update Copyright | titan68/Websitepanel,ExpertServices/Websitepanel,simonegli8/Websitepanel,vfedosevich/Websitepanel,berkut1/Websitepanel,simonegli8/Websitepanel,titan68/Websitepanel,humanbeen/Websitepanel,berkut1/Websitepanel,trevski/Websitepanel,trevski/Websitepanel,trevski/Websitepanel,ExpertServices/Websitepanel,simonegli8/Websitepan... | WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/MailDomainsAddPointer.ascx.designer.cs | WebsitePanel/Sources/WebsitePanel.WebPortal/DesktopModules/WebsitePanel/MailDomainsAddPointer.ascx.designer.cs | // Copyright (c) 2012, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice, this
// ... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3074
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>... | bsd-3-clause | C# |
a32bb2b41a9745622183322bf4c01a3a7a221507 | Update XGroupsTests.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D | tests/Core2D.UnitTests/Collections/XGroupsTests.cs | tests/Core2D.UnitTests/Collections/XGroupsTests.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 Core2D.Collections;
using Xunit;
namespace Core2D.UnitTests
{
public class XGroupsTests
{
[Fact]
[Trait("Core2D", "Collections")]
... | // 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 Core2D.Collections;
using Xunit;
namespace Core2D.UnitTests
{
public class XGroupsTests
{
[Fact]
[Trait("Core2D", "Collections")]
... | mit | C# |
1058fb9d86703587f6e6e42ee0d0d4c4081f8529 | test 3-2 | emksaz/testgit2,emksaz/testgit2,emksaz/testgit2 | testgit23/testgit23/Views/Home/Index.cshtml | testgit23/testgit23/Views/Home/Index.cshtml | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | @{
ViewBag.Title = "Home Page";
}
<div class="jumbotron">
<h1>ASP.NET</h1>
<p class="lead">ASP.NET is a free web framework for building great Web sites and Web applications using HTML, CSS and JavaScript.</p>
<p><a href="http://asp.net" class="btn btn-primary btn-lg">Learn more »</a></p>
</div>
... | apache-2.0 | C# |
8a2b69c1a508608ccd4b5d4245319767e4173b91 | Change WinSCard library name to WinSCard.dll | Archie-Yang/PcscDotNet | src/PcscDotNet/WinSCard.cs | src/PcscDotNet/WinSCard.cs | using System;
using System.Runtime.InteropServices;
namespace PcscDotNet
{
public class WinSCard : IPcscProvider
{
public const string DllName = "WinSCard.dll";
[DllImport(DllName)]
public unsafe static extern SCardError SCardEstablishContext(SCardScope dwScope, void* pvReserved1, void... | using System;
using System.Runtime.InteropServices;
namespace PcscDotNet
{
public class WinSCard : IPcscProvider
{
public const string DllName = "WinSCard";
[DllImport(DllName)]
public unsafe static extern SCardError SCardEstablishContext(SCardScope dwScope, void* pvReserved1, void* pv... | mit | C# |
7b251299630f7791ab10c1d93efc7b61875616f3 | Move interface ITabPage2 out of Eto. | l8s/Eto,PowerOfCode/Eto,PowerOfCode/Eto,PowerOfCode/Eto,bbqchickenrobot/Eto-1,bbqchickenrobot/Eto-1,l8s/Eto,bbqchickenrobot/Eto-1,l8s/Eto | Source/Eto/Forms/Controls/TabPage.cs | Source/Eto/Forms/Controls/TabPage.cs | using System;
using System.Collections;
using Eto.Drawing;
using System.Collections.ObjectModel;
namespace Eto.Forms
{
public interface ITabPage : IContainer
{
string Text { get; set; }
Image Image { get; set; }
}
public class TabPage : Container, IImageListItem
{
ITabPage handler;
public TabPage () ... | using System;
using System.Collections;
using Eto.Drawing;
using System.Collections.ObjectModel;
namespace Eto.Forms
{
public interface ITabPage : IContainer
{
string Text { get; set; }
Image Image { get; set; }
}
/// <summary>
/// Enhanced tab pages that support
/// additional functionality
/// </summary... | bsd-3-clause | C# |
874fdf56eec9e9a76c8f924cc21db7e9c5c85f79 | Update Palindrome.cs | michaeljwebb/Algorithm-Practice | Other/Palindrome.cs | Other/Palindrome.cs | //Check to see if given string is a palindrome. Return true or false. Ignore letter casing.
using System;
using System.Collections.Generic;
public class Palindrome
{
public static bool Palindrome(string word)
{
string result = "";
bool flag = false;
string lowerWord = word.ToLower();
for(i... | //Check to see if given string is a palindrome. Return true or false. Ignore letter casing.
using System;
using System.Collections.Generic;
public class Palindrome
{
public static bool Palindrome(string word)
{
string result = "";
bool flag = false;
string lowerWord = word.ToLower();
for(int i = l... | mit | C# |
a06135a365155cfb3206d7977a041777ef36dc15 | Replace deprecated Equals API by AreEqual | prifio/Assignment2,vors/Assignment2 | Assignment2Application/UnitTestProject1/UnitTest1.cs | Assignment2Application/UnitTestProject1/UnitTest1.cs | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Assignment2Application;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
FibonacciGenerator _gen = new FibonacciGenerator();
[TestMethod]
public void FibonacciGeneratorBasic()
{
... | using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Assignment2Application;
namespace UnitTestProject1
{
[TestClass]
public class UnitTest1
{
FibonacciGenerator _gen = new FibonacciGenerator();
[TestMethod]
public void FibonacciGeneratorBasic()
{
... | mit | C# |
454ae591825284efbccbeebf27709b6252312c92 | Improve code | sakapon/Blaze | Blaze2/Blaze/Randomization/Lab/NormalDistribution.cs | Blaze2/Blaze/Randomization/Lab/NormalDistribution.cs | using System;
using System.Collections.Generic;
namespace Blaze.Randomization.Lab
{
public static class NormalDistribution
{
static readonly Random random = new Random();
static readonly IEnumerator<double> doublesEnumerator = NextDoubles().GetEnumerator();
// 0 < x < 1
... | using System;
using System.Collections.Generic;
namespace Blaze.Randomization.Lab
{
public static class NormalDistribution
{
static readonly Random random = new Random();
// 0 < x < 1
static double NextDoubleExceptZero()
{
while (true)
{
... | mit | C# |
d9d25a0279130034c9d191cef977daf28b632d32 | Fix problem in integration base (repeated construction of singleton) | csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay,csf-dev/CSF.Screenplay | CSF.Screenplay/Integration/ScreenplayIntegration.cs | CSF.Screenplay/Integration/ScreenplayIntegration.cs | using System;
using CSF.Screenplay.Scenarios;
namespace CSF.Screenplay.Integration
{
public abstract class ScreenplayIntegration : IScreenplayIntegration
{
static ScreenplayEnvironment environment;
public void EnsureServicesAreRegistered()
{
environment.ConfigureServiceRegistryIfRequired(GetSer... | using System;
using CSF.Screenplay.Scenarios;
namespace CSF.Screenplay.Integration
{
public abstract class ScreenplayIntegration : IScreenplayIntegration
{
static ScreenplayEnvironment environment;
public void EnsureServicesAreRegistered()
{
environment.ConfigureServiceRegistryIfRequired(GetSer... | mit | C# |
6a8335797621a58cbb68c60dc0acbe77d6162bc7 | fix test names | Fody/NullGuard | Tests/Helpers/TestCaseHelper.cs | Tests/Helpers/TestCaseHelper.cs | using System.Collections.Generic;
using NUnit.Framework;
public static class TestCaseHelper
{
public static IEnumerable<TestCaseData> ClassWithExplicitInterfaceTypes => GetWovenTypes("ClassWithExplicitInterface");
public static IEnumerable<TestCaseData> SampleClassTypes => GetWovenTypes("SimpleClass");
p... | using System.Collections.Generic;
using NUnit.Framework;
public static class TestCaseHelper
{
public static IEnumerable<TestCaseData> ClassWithExplicitInterfaceTypes => GetWovenTypes("ClassWithExplicitInterface");
public static IEnumerable<TestCaseData> SampleClassTypes => GetWovenTypes("SimpleClass");
p... | mit | C# |
1216f7bc07e36b31bd3fc29d425ad5580d4f0041 | convert TestMayDueDateDoesWrapYear | jgraber/ForgetTheMilk,jgraber/ForgetTheMilk,jgraber/ForgetTheMilk | ForgetTheMilk/ConsoleVerification/CreateTaskTests.cs | ForgetTheMilk/ConsoleVerification/CreateTaskTests.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class CreateTaskTests : AssertionHelper
{
[Test]
public void TestDescriptionAndNoDueDate()
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ForgetTheMilk.Controllers;
using NUnit.Framework;
namespace ConsoleVerification
{
public class CreateTaskTests : AssertionHelper
{
[Test]
public void TestDescriptionAndNoDueDate()
{
... | apache-2.0 | C# |
daf4c7dfdc23f8fe4b2a40da4c2eaf6d2b19806b | Throw better exception when animation is not found | SteamDatabase/ValveResourceFormat | GUI/Types/Renderer/Animation/AnimationGroupLoader.cs | GUI/Types/Renderer/Animation/AnimationGroupLoader.cs | using System;
using System.Collections.Generic;
using System.IO;
using GUI.Utils;
using ValveResourceFormat;
using ValveResourceFormat.Blocks;
using ValveResourceFormat.ResourceTypes;
using ValveResourceFormat.ResourceTypes.NTROSerialization;
namespace GUI.Types.Renderer.Animation
{
internal class AnimationGroupL... | using System;
using System.Collections.Generic;
using GUI.Utils;
using ValveResourceFormat;
using ValveResourceFormat.Blocks;
using ValveResourceFormat.ResourceTypes;
using ValveResourceFormat.ResourceTypes.NTROSerialization;
namespace GUI.Types.Renderer.Animation
{
internal class AnimationGroupLoader
{
... | mit | C# |
0b3a8e049280b9d916e641202f2a3d0f63f23009 | Use Regex in namespace pattern | engdata/ConfuserEx,Desolath/ConfuserEx3,Desolath/Confuserex,yeaicc/ConfuserEx | Confuser.Core/Project/Patterns/NamespaceFunction.cs | Confuser.Core/Project/Patterns/NamespaceFunction.cs | using System;
using System.Text.RegularExpressions;
using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that compare the namespace of definition.
/// </summary>
public class NamespaceFunction : PatternFunction {
internal const string FnName = "namespace";
/// <inhe... | using System;
using dnlib.DotNet;
namespace Confuser.Core.Project.Patterns {
/// <summary>
/// A function that compare the namespace of definition.
/// </summary>
public class NamespaceFunction : PatternFunction {
internal const string FnName = "namespace";
/// <inheritdoc />
public override string Nam... | mit | C# |
42b599dc664a5f588e833f8591282fc4ed861943 | Fix global tool issues around exit code, command line parameters and path with spaces (#10461) | TravisEz13/PowerShell,daxian-dbw/PowerShell,TravisEz13/PowerShell,PaulHigin/PowerShell,PaulHigin/PowerShell,daxian-dbw/PowerShell,JamesWTruher/PowerShell-1,PaulHigin/PowerShell,TravisEz13/PowerShell,TravisEz13/PowerShell,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,JamesWTruher/PowerShell-1,PaulHigin/PowerShell,... | src/Microsoft.PowerShell.GlobalTool.Shim/GlobalToolShim.cs | src/Microsoft.PowerShell.GlobalTool.Shim/GlobalToolShim.cs | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Microsoft.PowerShell.GlobalTool.Shim
{
/// <summary>
/// Shim layer to chose the appropriate runtime for PowerShell DotNet Global tool.... | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.IO;
using System.Runtime.InteropServices;
namespace Microsoft.PowerShell.GlobalTool.Shim
{
/// <summary>
/// Shim layer to chose the appropriate runtime for PowerShell DotNet Global tool.... | mit | C# |
9b7bcdf7e15cb59380b08a137982177764e750dc | Remove too-modern C# usage (only available in 15.6 Preview) | feliwir/openSage,feliwir/openSage | src/OpenSage.LowLevel/Graphics3D/ColorRgbaF.cs | src/OpenSage.LowLevel/Graphics3D/ColorRgbaF.cs | using System.Runtime.InteropServices;
namespace OpenSage.LowLevel.Graphics3D
{
[StructLayout(LayoutKind.Sequential)]
public struct ColorRgbaF
{
public static readonly ColorRgbaF Transparent = new ColorRgbaF();
public static readonly ColorRgbaF White = new ColorRgbaF(1.0f, 1.0f, 1.0f, 1.0f)... | using System.Runtime.InteropServices;
namespace OpenSage.LowLevel.Graphics3D
{
[StructLayout(LayoutKind.Sequential)]
public struct ColorRgbaF
{
public static readonly ColorRgbaF Transparent = new ColorRgbaF();
public static readonly ColorRgbaF White = new ColorRgbaF(1.0f, 1.0f, 1.0f, 1.0f)... | mit | C# |
4b4d190b30f1f82d6a2646725da58e5b020c5af8 | Add back endpoint | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Backend/Program.cs | WalletWasabi.Backend/Program.cs | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Backend
{
public static class Program
{
#pragma warning disable IDE1006 // Naming Styles
public static async Task Main(string[] args)
#pragma warni... | using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
using System;
using System.Threading.Tasks;
using WalletWasabi.Logging;
namespace WalletWasabi.Backend
{
public static class Program
{
#pragma warning disable IDE1006 // Naming Styles
public static async Task Main(string[] args)
#pragma warni... | mit | C# |
3f88f173d15e90d835644a6ef7e86970e29c13ed | add function to create neoclassical buildings | tkaretsos/ProceduralBuildings,AlexanderMazaletskiy/ProceduralBuildings | Scripts/TestMesh.cs | Scripts/TestMesh.cs | using UnityEngine;
public class TestMesh : MonoBehaviour
{
public GameObject empty;
public Material material;
private Mesh mesh;
private GameObject meshobj;
private MeshFilter mf;
private MeshRenderer mr;
// void Awake ()
// {
//
// }
// Use this for initialization
void Start ()
{
CreateNeoclassica... | using UnityEngine;
using System.Collections;
public class TestMesh : MonoBehaviour
{
public GameObject empty;
public Material material;
private Mesh mesh;
private GameObject meshobj;
private MeshFilter mf;
private MeshRenderer mr;
// void Awake ()
// {
//
// }
// Use this for initialization
void Start... | mit | C# |
930e028ab797698e6c8d8cd2b3cbbb627f08093f | clean code | WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common,WeihanLi/WeihanLi.Common | src/WeihanLi.Common/Json/IPAddressConverter.cs | src/WeihanLi.Common/Json/IPAddressConverter.cs | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Net;
namespace WeihanLi.Common.Json
{
// https://stackoverflow.com/questions/18668617/json-net-error-getting-value-from-scopeid-on-system-net-ipaddress
/// <summary>
/// IPAddress JsonConverter
/// </summary>
// ReSharpe... | using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Net;
namespace WeihanLi.Common.Json
{
// https://stackoverflow.com/questions/18668617/json-net-error-getting-value-from-scopeid-on-system-net-ipaddress
/// <summary>
/// IPAddress JsonConverter
/// </summary>
// ReSharpe... | mit | C# |
5373745fd3cbd3b79e311677c6f91c50a058456e | Refactor method circularBuffer.IsEmpty. | getsentry/raven-csharp,xpicio/raven-csharp,getsentry/raven-csharp,xpicio/raven-csharp,getsentry/raven-csharp | src/app/SharpRaven/Utilities/CircularBuffer.cs | src/app/SharpRaven/Utilities/CircularBuffer.cs | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace SharpRaven.Utilities {
public class CircularBuffer<T>
{
private readonly int size;
private ConcurrentQueue<T> queue;
public CircularBuffer(int size = 100)
{
... | using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
namespace SharpRaven.Utilities {
public class CircularBuffer<T>
{
private readonly int size;
private ConcurrentQueue<T> queue;
public CircularBuffer(int size = 100)
{
... | bsd-3-clause | C# |
33ba514d907ef8d64eb9e64be4eccb4f195e82f1 | Add an alternate view. | ucdavis/CRP,ucdavis/CRP,ucdavis/CRP | CRP.Core/Abstractions/IEmailService.cs | CRP.Core/Abstractions/IEmailService.cs | using System.Net;
using System.Net.Mail;
using Microsoft.Azure;
namespace CRP.Core.Abstractions
{
public interface IEmailService
{
void SendEmail(MailMessage mailMessage);
}
public class EmailService : IEmailService
{
private static readonly string UserName = CloudCon... | using System.Net;
using System.Net.Mail;
using Microsoft.Azure;
namespace CRP.Core.Abstractions
{
public interface IEmailService
{
void SendEmail(MailMessage mailMessage);
}
public class EmailService : IEmailService
{
private static readonly string UserName = CloudCon... | mit | C# |
0b2ac54a9fe94798ac610305731146d29abc2352 | hide the object at start until it will be used by a ArucoObjectController. | enormand/aruco-unity,enormand/aruco-unity | src/aruco_unity_package/Assets/ArucoUnity/Scripts/Utility/ArucoObject.cs | src/aruco_unity_package/Assets/ArucoUnity/Scripts/Utility/ArucoObject.cs | using ArucoUnity.Plugin;
using UnityEngine;
namespace ArucoUnity
{
/// \addtogroup aruco_unity_package
/// \{
namespace Utility
{
public abstract class ArucoObject : MonoBehaviour
{
// Editor fields
[SerializeField]
private ArucoObjectController arucoObjectController;
[Serial... | using ArucoUnity.Plugin;
using UnityEngine;
namespace ArucoUnity
{
/// \addtogroup aruco_unity_package
/// \{
namespace Utility
{
public abstract class ArucoObject : MonoBehaviour
{
// Editor fields
[SerializeField]
private ArucoObjectController arucoObjectController;
[Serial... | bsd-3-clause | C# |
53f3827e012d92bee0b08b25dbee3fbb9a57c6a6 | fix istanza Costanti in Up | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSoccorso/GestioneIntervento/UpDateStatoRichiesta/UpDateStatoRichiestaValidator.cs | src/backend/SO115App.Models/Servizi/CQRS/Commands/GestioneSoccorso/GestioneIntervento/UpDateStatoRichiesta/UpDateStatoRichiestaValidator.cs | //-----------------------------------------------------------------------
// <copyright file="UpDateInterventoValidator.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General P... | //-----------------------------------------------------------------------
// <copyright file="UpDateInterventoValidator.cs" company="CNVVF">
// Copyright (C) 2017 - CNVVF
//
// This file is part of SOVVF.
// SOVVF is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General P... | agpl-3.0 | C# |
0403d5021ac13deb330f47d1e1d0a50ec25a4dd3 | Remove spurious AuthenicatorUriFormat | mlorbetske/templating,seancpeters/templating,seancpeters/templating,mlorbetske/templating,seancpeters/templating,seancpeters/templating | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/TwoFactorAuthentication.cshtml.cs | template_feed/Microsoft.DotNet.Web.ProjectTemplates.2.0/content/RazorPagesWeb-CSharp/Pages/Account/Manage/TwoFactorAuthentication.cshtml.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using Company.WebApplication1.Data;
namespace Company.WebApplication1.Page... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using Company.WebApplication1.Data;
namespace Company.WebApplication1.Page... | mit | C# |
7282b8ed6ec88f10f33006c68988b816be152529 | work in progress | smartmobili/CocoaBuilder,smartmobili/CocoaBuilder,smartmobili/CocoaBuilder,smartmobili/CocoaBuilder,smartmobili/CocoaBuilder | XibParser/AppKit/INSMenuView.cs | XibParser/AppKit/INSMenuView.cs | /*
* XibParser.
* Copyright (C) 2013 Smartmobili SARL
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Smartmobili.Cocoa
{
public interface INSMenuView
{
NSMenu Menu { set; }
int HighlightedItemIndex { get; set; }
void DetachSubmenu();
void Update();
void ... | lgpl-2.1 | C# |
fc88e45056235bc14edd219deb6fd5d784df8fe9 | use close for donet4.0 | Pliner/EasyGelf | Source/EasyGelf.Core/Transports/Udp/UdpTransport.cs | Source/EasyGelf.Core/Transports/Udp/UdpTransport.cs | using System;
using System.Net.Sockets;
using EasyGelf.Core.Encoders;
namespace EasyGelf.Core.Transports.Udp
{
public sealed class UdpTransport : ITransport, IDisposable
{
private readonly UdpTransportConfiguration configuration;
private readonly ITransportEncoder encoder;
private read... | using System;
using System.Net.Sockets;
using EasyGelf.Core.Encoders;
namespace EasyGelf.Core.Transports.Udp
{
public sealed class UdpTransport : ITransport, IDisposable
{
private readonly UdpTransportConfiguration configuration;
private readonly ITransportEncoder encoder;
private read... | mit | C# |
8d08686469e98c88d2d4594c32a91dfd5c0f3892 | Access dos not support such join syntax. | ronnyek/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db,LinqToDB4iSeries/linq2db,MaceWindu/linq2db,linq2db/linq2db | Tests/Linq/UserTests/Issue1556Tests.cs | Tests/Linq/UserTests/Issue1556Tests.cs | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1556Tests : TestBase
{
[Test]
public void Issue1556Test(
[DataSources(ProviderName.Sybase, ProviderName.OracleNative, ProviderName.Access)] string context)
{
using (var ... | using System;
using System.Linq;
using LinqToDB;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue1556Tests : TestBase
{
[Test]
public void Issue1556Test([DataSources(ProviderName.Sybase, ProviderName.OracleNative)] string context)
{
using (var db = GetDataContext(conte... | mit | C# |
7d0d737baf5f301436730a4c7c3b204bd0a521ba | remove old results, otherwise, the file will be overwritten and remaining old content might stay untouched | Ky7m/BenchmarkDotNet,adamsitnik/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,Ky7m/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,Ky7m/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,PerfDotNet/BenchmarkDotNet,ig-sinicyn/BenchmarkDotNet,Ky7m/BenchmarkDotNet,Teknikaali/BenchmarkDotNet,Teknikaali/Benchmark... | src/BenchmarkDotNet.Core/Exporters/ExporterBase.cs | src/BenchmarkDotNet.Core/Exporters/ExporterBase.cs | using System.Collections.Generic;
using System.IO;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
namespace BenchmarkDotNet.Exporters
{
public abstract class ExporterBase : IExporter
{
protected virtual string FileExtension => "txt";
protected virtual string FileNameSuffix => st... | using System.Collections.Generic;
using System.IO;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
namespace BenchmarkDotNet.Exporters
{
public abstract class ExporterBase : IExporter
{
protected virtual string FileExtension => "txt";
protected virtual string FileNameSuffix => st... | mit | C# |
4d0b6a5661e00c737c46dc251c7ace9db5dea6aa | Make AssemblyResolverPackage an AsyncPackage. | github/VisualStudio,github/VisualStudio,github/VisualStudio | src/GitHub.VisualStudio/AssemblyResolverPackage.cs | src/GitHub.VisualStudio/AssemblyResolverPackage.cs | using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
namespace GitHub.VisualStudio
{
// Allow assemblies in the extension directory to be resolved by their full or partial name.
// This is required for GitHub.VisualStudio.imagemanifest, XAML and when using unsigned assemblie... | using System;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.Shell;
using GitHub.Logging;
using Serilog;
namespace GitHub.VisualStudio
{
// Allow assemblies in the extension directory to be resolved by their full or partial name.
// This is required for GitHub.VisualStudio.imagemanifest, X... | mit | C# |
46cf22243d9f85dab2ddaf9e6a29bcd197ab4e55 | Rename NavigateBack to GoBack | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Fluent/ViewModels/RoutableViewModel.cs | WalletWasabi.Fluent/ViewModels/RoutableViewModel.cs | using System;
using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels
{
public abstract class RoutableViewModel : ViewModelBase, IRoutableViewModel
{
private NavigationStateViewModel _navigationState;
private NavigationTarget _navigationTarget;
protected RoutableViewModel... | using System;
using ReactiveUI;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Fluent.ViewModels
{
public abstract class RoutableViewModel : ViewModelBase, IRoutableViewModel
{
private NavigationStateViewModel _navigationState;
private NavigationTarget _navigationTarget;
protected RoutableViewModel... | mit | C# |
8548a24d584d81099f06e31faa061ba5ff50d05d | Add TrialPeriodDays property to PlanUpdateOptions | stripe/stripe-dotnet,richardlawley/stripe.net | src/Stripe.net/Services/Plans/PlanUpdateOptions.cs | src/Stripe.net/Services/Plans/PlanUpdateOptions.cs | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class PlanUpdateOptions : BaseOptions
{
[JsonProperty("active")]
public bool? Active { get; set; }
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
... | namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
public class PlanUpdateOptions : BaseOptions
{
[JsonProperty("active")]
public bool? Active { get; set; }
[JsonProperty("metadata")]
public Dictionary<string, string> Metadata { get; set; }
... | apache-2.0 | C# |
9799e968a73197a6b58b7bb8d9021378746ac18f | Correct description. | Bitmapped/UmbIntranetRestrict,Bitmapped/UmbIntranetRestrict,Bitmapped/UmbIntranetRestrict | src/UmbIntranetRestrict/Properties/AssemblyInfo.cs | src/UmbIntranetRestrict/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: AssemblyTit... | 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: AssemblyTit... | mit | C# |
4ab67d8cffe3360a932d33a1eced136c0e667154 | fix build | JeffreyPerplex/Umbraco-CMS,nul800sebastiaan/Umbraco-CMS,umbraco/Umbraco-CMS,leekelleher/Umbraco-CMS,tcmorris/Umbraco-CMS,arknu/Umbraco-CMS,JeffreyPerplex/Umbraco-CMS,robertjf/Umbraco-CMS,JimBobSquarePants/Umbraco-CMS,nul800sebastiaan/Umbraco-CMS,abryukhov/Umbraco-CMS,aaronpowell/Umbraco-CMS,abryukhov/Umbraco-CMS,kgisze... | src/Umbraco.Web/HealthCheck/HealthCheckResolver.cs | src/Umbraco.Web/HealthCheck/HealthCheckResolver.cs | using System;
using System.Collections.Generic;
using System.Web;
using Umbraco.Core;
using Umbraco.Core.Logging;
using Umbraco.Core.ObjectResolution;
namespace Umbraco.Web.HealthCheck
{
/// <summary>
/// Resolves all health check instances
/// </summary>
/// <remarks>
/// Each instance scoped to ... | using System;
using System.Collections.Generic;
using System.Web;
using Umbraco.Core.Logging;
using Umbraco.Core.ObjectResolution;
namespace Umbraco.Web.HealthCheck
{
/// <summary>
/// Resolves all health check instances
/// </summary>
/// <remarks>
/// Each instance scoped to the lifespan of the ... | mit | C# |
be309f2c995aefbde0d08dad62d625cd8d1aa252 | restructure DemoAspNetCoreGithubUrl constants | mperdeck/jsnlog | jsnlog/Infrastructure/SiteConstants.cs | jsnlog/Infrastructure/SiteConstants.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace JSNLog.Infrastructure
{
// Moved from web site project.
//TODO: move web site project to jsnlog solution, have only one copy of this file
public static class SiteConstants
{
public static string Curr... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace JSNLog.Infrastructure
{
// Moved from web site project.
//TODO: move web site project to jsnlog solution, have only one copy of this file
public static class SiteConstants
{
public static string Curr... | mit | C# |
be49b53d010673161551ee4a51361b2ac3ab4068 | Update Pong.cs | thakyZ/Glow-Pong,thakyZ/myFirstXNAGame | myFirstXNAGame/myFirstXNAGame/Pong.cs | myFirstXNAGame/myFirstXNAGame/Pong.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Inp... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Inp... | unknown | C# |
46978828714c088f951b1fbd19cad3a73c3f12cf | Add proper attribute | shyamnamboodiripad/roslyn,shyamnamboodiripad/roslyn,weltkante/roslyn,KevinRansom/roslyn,dotnet/roslyn,bartdesmet/roslyn,dotnet/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,mavasani/roslyn,mavasani/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,KevinRansom/roslyn,sharwell/roslyn,sharwell/roslyn,CyrusNajmabad... | src/EditorFeatures/Core/Implementation/Suggestions/SuggestionsOptionsProvider.cs | src/EditorFeatures/Core/Implementation/Suggestions/SuggestionsOptionsProvider.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;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... | // 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;
using System.Collections.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
... | mit | C# |
74695653ca025d96fdffa6a781866f7a845dc0ba | Fix metadata cache case dependency | InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform,InfinniPlatform/InfinniPlatform | InfinniPlatform.SystemConfig/Metadata/MetadataUniqueName.cs | InfinniPlatform.SystemConfig/Metadata/MetadataUniqueName.cs | using System;
using System.Collections.Generic;
using System.Linq;
namespace InfinniPlatform.Core.Metadata
{
public class MetadataUniqueName : IEquatable<MetadataUniqueName>
{
private const char NamespaceSeparator = '.';
public MetadataUniqueName(string ns, string name)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
namespace InfinniPlatform.Core.Metadata
{
public class MetadataUniqueName : IEquatable<MetadataUniqueName>
{
private const char NamespaceSeparator = '.';
public MetadataUniqueName(string ns, string name)
{
... | agpl-3.0 | C# |
83dc69db487b9d1978822f88be02c8252012035f | Update Viktor.cs | FireBuddy/adevade | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | AdEvade/AdEvade/Data/Spells/SpecialSpells/Viktor.cs | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | using System;
using EloBuddy;
using EloBuddy.SDK;
namespace AdEvade.Data.Spells.SpecialSpells
{
class Viktor : IChampionPlugin
{
static Viktor()
{
}
public const string ChampionName = "Viktor";
public string GetChampionName()
{
return ChampionName;
... | mit | C# |
0c7fa7f4fbe27a6b1d036f6319ae3c959b616719 | Refactor duplicate code in Start() methods | peschuster/graphite-client | source/Graphite/StaticMetricsPipeProvider.cs | source/Graphite/StaticMetricsPipeProvider.cs | using System;
using Graphite.Configuration;
namespace Graphite
{
/// <summary>
/// <see cref="IMetricsPipeProvider"/> with static lifetime for usage in self-hosted applications (e.g. console application).
/// </summary>
public class StaticMetricsPipeProvider : IMetricsPipeProvider
{
privat... | using Graphite.Configuration;
namespace Graphite
{
/// <summary>
/// <see cref="IMetricsPipeProvider"/> with static lifetime for usage in self-hosted applications (e.g. console application).
/// </summary>
public class StaticMetricsPipeProvider : IMetricsPipeProvider
{
private static Stati... | mit | C# |
58b972382f761395e5340f69e4630b24c059f75d | Clean up AssemblyInfo.cs | jeremyabbott/codeformatter,kharaone/codeformatter,rollie42/codeformatter,twsouthwick/codeformatter,rainersigwald/codeformatter,jaredpar/codeformatter,weltkante/codeformatter,shiftkey/codeformatter,twsouthwick/codeformatter,Maxwe11/codeformatter,BertTank/codeformatter,mmitche/codeformatter,BradBarnich/codeformatter,davi... | src/CodeFormatter/Properties/AssemblyInfo.cs | src/CodeFormatter/Properties/AssemblyInfo.cs | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
[assembly: AssemblyCopyright("\x00a9 Microsoft Corporation. All... | // Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through t... | mit | C# |
b69a6d8596764267e3814fbad36610c9c399a121 | Update XPolyLineSegment.cs | wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D | src/Core2D/Path/Segments/XPolyLineSegment.cs | src/Core2D/Path/Segments/XPolyLineSegment.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.Collections.Immutable;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Poly line path segment.
/// </summary>
... | // 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.Collections.Immutable;
using Core2D.Shapes;
namespace Core2D.Path.Segments
{
/// <summary>
/// Poly line path segment.
/// </summary>
... | mit | C# |
dc156c9b6a2ac9572b1211ce042afdbb9f5bb295 | Remove obsolete kafka configuration. | ouraspnet/cap,dotnetcore/CAP,dotnetcore/CAP,dotnetcore/CAP | src/DotNetCore.CAP.Kafka/CAP.KafkaOptions.cs | src/DotNetCore.CAP.Kafka/CAP.KafkaOptions.cs | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
// ReSharper disable once CheckNamespace
namespace DotNetC... | // Copyright (c) .NET Core Community. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
// ReSharper disable once CheckNamespace
namespace DotNetC... | mit | C# |
046c885e6ae85327c2a48f4eab27af8d75af9eda | fix lockscreen. | nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet,nopara73/HiddenWallet | WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModel.cs | WalletWasabi.Gui/Controls/LockScreen/LockScreenViewModel.cs | using System;
using ReactiveUI;
using System.Reactive.Disposables;
using WalletWasabi.Helpers;
using System.Reactive.Linq;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.LockScreen
{
public class LockScreenViewModel : ViewModelBase
{
private CompositeDisposable Disposables { get; }
publi... | using System;
using ReactiveUI;
using System.Reactive.Disposables;
using WalletWasabi.Helpers;
using System.Reactive.Linq;
using WalletWasabi.Gui.ViewModels;
namespace WalletWasabi.Gui.Controls.LockScreen
{
public class LockScreenViewModel : ViewModelBase
{
private CompositeDisposable Disposables { get; }
publi... | mit | C# |
11c4bb6287fa63c8433d57fb50f4772aebbd3d04 | Fix build | lytico/xwt,hwthomas/xwt,mono/xwt,akrisiun/xwt,hamekoz/xwt,cra0zy/xwt,TheBrainTech/xwt,residuum/xwt,antmicro/xwt | Xwt.Gtk/Xwt.GtkBackend.CellViews/CustomCellRendererImage.cs | Xwt.Gtk/Xwt.GtkBackend.CellViews/CustomCellRendererImage.cs | //
// CustomCellRendererImage.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without r... | //
// CustomCellRendererImage.cs
//
// Author:
// Lluis Sanchez <lluis@xamarin.com>
//
// Copyright (c) 2013 Xamarin Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without r... | mit | C# |
0a041dbeb9fb8ebd4fca0eefabdcbc09d2a6d8b2 | Fix test. This isn't pretty. | Intelliflo/JustSaying,Intelliflo/JustSaying,eric-davis/JustSaying | JustSaying.AwsTools.UnitTests/Sqs/WhenPublishing.cs | JustSaying.AwsTools.UnitTests/Sqs/WhenPublishing.cs | using System.Collections.Generic;
using Amazon.SQS;
using Amazon.SQS.Model;
using JustBehave;
using JustSaying.Messaging.MessageSerialisation;
using JustSaying.TestingFramework;
using NSubstitute;
namespace JustSaying.AwsTools.UnitTests.Sqs
{
public class WhenPublishing : BehaviourTest<SqsPublisher>
{
... | using System.Collections.Generic;
using Amazon.SQS;
using Amazon.SQS.Model;
using JustBehave;
using JustSaying.Messaging.MessageSerialisation;
using JustSaying.TestingFramework;
using NSubstitute;
namespace JustSaying.AwsTools.UnitTests.Sqs
{
public class WhenPublishing : BehaviourTest<SqsPublisher>
{
... | apache-2.0 | C# |
e9c6815eb78a828aa1ea4ffe26e30637929ee57a | Fix disabling | gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,gavazquez/LunaMultiPlayer,DaggerES/LunaMultiPlayer | LmpClient/Systems/VesselDockSys/VesselDockSystem.cs | LmpClient/Systems/VesselDockSys/VesselDockSystem.cs | using LmpClient.Base;
namespace LmpClient.Systems.VesselDockSys
{
public class VesselDockSystem : MessageSystem<VesselDockSystem, VesselDockMessageSender, VesselDockMessageHandler>
{
private VesselDockEvents VesselDockEvents { get; } = new VesselDockEvents();
public override string SystemName... | using LmpClient.Base;
namespace LmpClient.Systems.VesselDockSys
{
public class VesselDockSystem : MessageSystem<VesselDockSystem, VesselDockMessageSender, VesselDockMessageHandler>
{
private VesselDockEvents VesselDockEvents { get; } = new VesselDockEvents();
public override string SystemName... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.