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 |
|---|---|---|---|---|---|---|---|---|
ea75c5583051b53e91bb067874e305b088a755d5 | Make UI resilient to delete user | Inner89/Orchard,LaserSrl/Orchard,Sylapse/Orchard.HttpAuthSample,DonnotRain/Orchard,fassetar/Orchard,aaronamm/Orchard,bigfont/orchard-cms-modules-and-themes,Praggie/Orchard,salarvand/Portal,stormleoxia/Orchard,salarvand/orchard,dcinzona/Orchard,JRKelso/Orchard,smartnet-developers/Orchard,patricmutwiri/Orchard,yonglehou/... | src/Orchard.Web/Core/Common/Views/Parts.Common.Metadata.SummaryAdmin.cshtml | src/Orchard.Web/Core/Common/Views/Parts.Common.Metadata.SummaryAdmin.cshtml | @using Orchard.ContentManagement;
@using Orchard.Core.Common.Models;
@using Orchard.Security;
@{
CommonPart commonPart = Model.ContentPart;
DateTime? modifiedUtc = commonPart.As<CommonPart>() == null ? null : commonPart.As<CommonPart>().ModifiedUtc;
// owner isn't really who last modified this, is it... | @using Orchard.ContentManagement;
@using Orchard.Core.Common.Models;
@using Orchard.Security;
@{
CommonPart commonPart = Model.ContentPart;
DateTime? modifiedUtc = commonPart.As<CommonPart>() == null ? null : commonPart.As<CommonPart>().ModifiedUtc;
// owner isn't really who last modified this, is it... | bsd-3-clause | C# |
0f235f780decc6ae64945f3d6d7a60e13a7d8a33 | Fix typo that don't compile. | pleonex/NitroDebugger,pleonex/NitroDebugger,pleonex/NitroDebugger | NitroDebugger/RSP/Packets/ReadRegisters.cs | NitroDebugger/RSP/Packets/ReadRegisters.cs | //
// ReadRegisters.cs
//
// Author:
// Benito Palacios Sánchez <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foun... | //
// ReadRegisters.cs
//
// Author:
// Benito Palacios Sánchez <benito356@gmail.com>
//
// Copyright (c) 2015 Benito Palacios Sánchez
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foun... | mit | C# |
829903157de9976ddeeb8fa2209d51d91959cf53 | Revert "Change levy run date to 24th" | SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice,SkillsFundingAgency/das-employerapprenticeshipsservice | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs | src/SFA.DAS.EmployerFinance.Jobs/ScheduledJobs/ImportLevyDeclarationsJob.cs | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ImportLevyDeclarationsJob
{
private readonly IMessageSession _message... | using System.Threading.Tasks;
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using NServiceBus;
using SFA.DAS.EmployerFinance.Messages.Commands;
namespace SFA.DAS.EmployerFinance.Jobs.ScheduledJobs
{
public class ImportLevyDeclarationsJob
{
private readonly IMessageSession _message... | mit | C# |
64f995292226d27116651b9f59fb9fee5312d52e | fix version | Fody/Virtuosity | CommonAssemblyInfo.cs | CommonAssemblyInfo.cs | using System.Reflection;
[assembly: AssemblyTitle("Virtuosity")]
[assembly: AssemblyProduct("Virtuosity")]
[assembly: AssemblyVersion("1.20.0")]
[assembly: AssemblyFileVersion("1.20.0")]
| using System.Reflection;
[assembly: AssemblyTitle("Virtuosity")]
[assembly: AssemblyProduct("Virtuosity")]
[assembly: AssemblyVersion("1.19.12")]
[assembly: AssemblyFileVersion("1.19.12")]
| mit | C# |
2b494c8613d154077c05daa009ebd03cedd46cb6 | remove RegisterArea in QueryClient | MehdyKarimpour/extensions,AlejandroCano/extensions,signumsoftware/extensions,signumsoftware/extensions,signumsoftware/framework,signumsoftware/framework,AlejandroCano/extensions,MehdyKarimpour/extensions | Signum.Web.Extensions/Basic/QueryClient.cs | Signum.Web.Extensions/Basic/QueryClient.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities;
using Signum.Services;
using System.Reflection;
using Signum.Utilities.Reflection;
using Signum.Utilities;
using Signum.Entities.Basics;
namespace Signum.Web.Basic
{
public static class QueryC... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Signum.Entities;
using Signum.Services;
using System.Reflection;
using Signum.Utilities.Reflection;
using Signum.Utilities;
using Signum.Entities.Basics;
namespace Signum.Web.Basic
{
public static class QueryC... | mit | C# |
86fa229f48a8825102e241cea79cc21afd35595d | Update EntityHealth.cs | Sprakle/PaintTD | Assets/Scripts/EntityHealth.cs | Assets/Scripts/EntityHealth.cs | using UnityEngine;
using System.Collections;
public class EntityHealth : MonoBehaviour
{
[SerializeField]
int MaxHealth;
[SerializeField]
bool IsInvincible;
int health { get; set; }
// Use this for initialization
void Start()
{
health = MaxHealth;
}
void DamageEntity(int value)
{
if (!IsInvincible... | using UnityEngine;
using System.Collections;
public class EntityHealth : MonoBehaviour
{
[SerializeField]
int MaxHealth;
[SerializeField]
bool IsInvincible;
int health { get; set; }
// Use this for initialization
void Start()
{
health = MaxHealth;
}
void DamageEntity(int value)
{
if (!IsInvincible... | mit | C# |
24a0e1e806ef655e1fafdd3649dcf83fcc67c317 | update datasource | tobyclh/UnityCNTK,tobyclh/UnityCNTK | Assets/UnityCNTK/DataSource.cs | Assets/UnityCNTK/DataSource.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace UnityCNTK
{
public class DataSource : MonoBehaviour
{
public Object source;
public enum PredefinedSource
{
none, pos, rot, quat, velocity, acceleration
}
pr... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DataSource : MonoBehaviour {
public UnityEngine.Object source;
public enum PredefinedSource
{
none, position, rotation, quaternion
}
/// <summary>
///
/// </summary>
// Use ... | mit | C# |
687dff9543eefbe1dad20afc8d09edeae0f78ac1 | Update ApiControllerBase.cs | dlidstrom/Tasks,dlidstrom/Tasks,dlidstrom/Tasks | Tasks/Controllers/Api/ApiControllerBase.cs | Tasks/Controllers/Api/ApiControllerBase.cs | using System;
using System.Threading.Tasks;
using System.Web.Http;
using Tasks.Data.Commands;
using Tasks.Data.Models;
using Tasks.Data.Queries;
namespace Tasks.Controllers.Api
{
public abstract class ApiControllerBase : ApiController
{
public IDbContext Context { get; set; }
prot... | using System;
using System.Threading.Tasks;
using System.Web.Http;
using Tasks.Data.Commands;
using Tasks.Data.Models;
using Tasks.Data.Queries;
namespace Tasks.Controllers.Api
{
public abstract class ApiControllerBase : ApiController
{
public IDbContext Context { get; set; }
pro... | mit | C# |
614636bd7c767348b294184b36cd094e9373e17f | fix build server compatibility with assemblyinfo | ParagonTruss/GeometryClassLibrary | GeometryClassLibrary/Properties/AssemblyInfo.cs | GeometryClassLibrary/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("Ge... | 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("Ge... | lgpl-2.1 | C# |
9a562617b09245180cd0e7c31075af6bcbf2e617 | Add OpenAPI definition endpoint | openchargemap/ocm-system,openchargemap/ocm-system,openchargemap/ocm-system,openchargemap/ocm-system | API/OCM.Net/OCM.API.Web/Controllers/MiscEndpointController.cs | API/OCM.Net/OCM.API.Web/Controllers/MiscEndpointController.cs | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace OCM.API.Web.Standard.Controllers
{
[ApiController]
public class MiscEndpointController : ControllerBase
{
private readonly ILogger _logger;
public MiscEndpointController(ILogger<MiscEndpointController> logger)
... | using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace OCM.API.Web.Standard.Controllers
{
[ApiController]
public class MiscEndpointController : ControllerBase
{
private readonly ILogger _logger;
public MiscEndpointController(ILogger<MiscEndpointController> logger)
... | mit | C# |
31f2a3f80f46f9a8bb5c4186532556355c14b5da | Disable warning | viciousviper/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,dokan-dev/dokan-dotnet,dokan-dev/dokan-dotnet,magol/dokan-dotnet,TrabacchinLuigi/dokan-dotnet,viciousviper/dokan-dotnet,magol/dokan-dotnet,viciousviper/dokan-dotnet | DokanNet/FileSystemFeatures.cs | DokanNet/FileSystemFeatures.cs | using System;
namespace DokanNet
{
[Flags]
#pragma warning disable 3009
public enum FileSystemFeatures : uint
#pragma warning restore 3009
{
None = 0,
CaseSensitiveSearch = 1,
CasePreservedNames = 2,
UnicodeOnDisk = 4,
PersistentAcls = 8,
SupportsRemoteStora... | using System;
namespace DokanNet
{
[Flags]
public enum FileSystemFeatures : uint
{
None = 0,
CaseSensitiveSearch = 1,
CasePreservedNames = 2,
UnicodeOnDisk = 4,
PersistentAcls = 8,
SupportsRemoteStorage = 256,
VolumeQuotas = 32,
SupportsSpars... | mit | C# |
7f82999a3827fa01a6e18f92545d89dfb4f32c6d | Set send/receive buffer sizes to zero. | YuvalItzchakov/aerospike-client-csharp | AerospikeClient/Async/AsyncConnection.cs | AerospikeClient/Async/AsyncConnection.cs | /*
* Aerospike Client - C# Library
*
* Copyright 2013 by Aerospike, Inc. All rights reserved.
*
* Availability of this source code to partners and customers includes
* redistribution rights covered by individual contract. Please check your
* contract for exact rights and responsibilities.
*/
using System;
using... | /*
* Aerospike Client - C# Library
*
* Copyright 2013 by Aerospike, Inc. All rights reserved.
*
* Availability of this source code to partners and customers includes
* redistribution rights covered by individual contract. Please check your
* contract for exact rights and responsibilities.
*/
using System;
using... | apache-2.0 | C# |
02bafe2fb5c7a5e8e530f4fe49ea081082820ba0 | Add notes editing only when over auxiliary line | setchi/NoteEditor,setchi/NotesEditor | Assets/Scripts/NotesEditor/NoteObject.cs | Assets/Scripts/NotesEditor/NoteObject.cs | using UnityEngine;
public class NoteObject : MonoBehaviour
{
public NotePosition notePosition;
public int noteType;
NotesEditorModel model;
RectTransform rectTransform;
void Awake()
{
model = NotesEditorModel.Instance;
rectTransform = GetComponent<RectTransform>();
rec... | using UnityEngine;
public class NoteObject : MonoBehaviour
{
public NotePosition notePosition;
public int noteType;
NotesEditorModel model;
RectTransform rectTransform;
void Awake()
{
model = NotesEditorModel.Instance;
rectTransform = GetComponent<RectTransform>();
rec... | mit | C# |
c14cd501e8a35e002282c5010b0ad04588f55cf2 | Add a ToString() to CodeDefinitionWindowLocation | jasonmalinowski/roslyn,mavasani/roslyn,sharwell/roslyn,weltkante/roslyn,diryboy/roslyn,dotnet/roslyn,KevinRansom/roslyn,dotnet/roslyn,CyrusNajmabadi/roslyn,jasonmalinowski/roslyn,diryboy/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,diryboy/roslyn,mavasani/roslyn,KevinRansom/roslyn,CyrusNajmabadi/roslyn,mavasani/r... | src/EditorFeatures/Core/CodeDefinitionWindowLocation.cs | src/EditorFeatures/Core/CodeDefinitionWindowLocation.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 Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Editor
{
internal struct CodeDefinitionWindowLocation
{
public string Di... | // 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 Microsoft.CodeAnalysis.Text;
namespace Microsoft.CodeAnalysis.Editor
{
internal struct CodeDefinitionWindowLocation
{
public string Di... | mit | C# |
cfe944c01047f7628eab0b104be7414a9243cbde | Correct the return type of the extension method GetService for the IServiceProvider. | edwardmeng/FluentMethods | src/Core/System.IServiceProvider/GetService.cs | src/Core/System.IServiceProvider/GetService.cs | using System;
public static partial class Extensions
{
/// <summary>
/// Gets the service object of the specified type.
/// </summary>
/// <typeparam name="T">The type of service object to get. </typeparam>
/// <param name="provider">The <see cref="IServiceProvider"/> to get service.</... | using System;
public static partial class Extensions
{
/// <summary>
/// Gets the service object of the specified type.
/// </summary>
/// <typeparam name="T">The type of service object to get. </typeparam>
/// <param name="provider">The <see cref="IServiceProvider"/> to get service.</... | mit | C# |
b78892d8abf03238201ffee02d9833727509c5e4 | Add a default value for the VS Designer | Yuisbean/WebMConverter,nixxquality/WebMConverter,o11c/WebMConverter | Components/PreviewFrame.cs | Components/PreviewFrame.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
namespace WebMConverter
{
public partial class PreviewFrame : UserControl
{
private uint frame;
[DefaultValue(0)]
public int Frame
{
get {... | using System;
using System.Collections.Generic;
using System.Drawing;
using System.Windows.Forms;
namespace WebMConverter
{
public partial class PreviewFrame : UserControl
{
private uint frame;
public int Frame
{
get { return (int)frame; }
set { frame = (uint)v... | mit | C# |
967a9c9e444a5cb881262881d5495aea9b224472 | Update version to 1.0.2 | GAnatoliy/ViewModelLoader | ViewModelLoader/Properties/AssemblyInfo.cs | ViewModelLoader/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("Vi... | 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("Vi... | mit | C# |
64549273177264ecbabc5c4926acab6c8634d465 | Make IFatalErrorHandler public so that it can be replaced by users (#6170) | ibondy/orleans,jthelin/orleans,yevhen/orleans,amccool/orleans,hoopsomuah/orleans,ibondy/orleans,galvesribeiro/orleans,waynemunro/orleans,hoopsomuah/orleans,jason-bragg/orleans,ElanHasson/orleans,amccool/orleans,ReubenBond/orleans,dotnet/orleans,veikkoeeva/orleans,benjaminpetit/orleans,amccool/orleans,yevhen/orleans,way... | src/Orleans.Runtime/Core/IFatalErrorHandler.cs | src/Orleans.Runtime/Core/IFatalErrorHandler.cs | using System;
namespace Orleans.Runtime
{
public interface IFatalErrorHandler
{
bool IsUnexpected(Exception exception);
void OnFatalException(object sender = null, string context = null, Exception exception = null);
}
}
| using System;
namespace Orleans.Runtime
{
internal interface IFatalErrorHandler
{
bool IsUnexpected(Exception exception);
void OnFatalException(object sender = null, string context = null, Exception exception = null);
}
}
| mit | C# |
4570401cd3e3129e3bec13b4ce8a3bf7b96e1027 | Refactor user expirience | mikemajesty/coolvalidator | CoolValidator/Validator.cs | CoolValidator/Validator.cs | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
namespace CoolValidator
{
public static class formValidator
{
public static List<TextBox> GetTextBoxInComponent(this Form form, Func<TextBox, bool> predicate = null)
... | using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Windows.Forms;
namespace CoolValidator
{
public static class formValidator
{
public static List<TextBox> GetTextBoxInComponent<T>(this Form form, Func<TextBox, bool> predicate = null)
... | mit | C# |
f3d486427a3ecae07c3592d9e838c9b5084b8042 | Fix build on netfx | MetacoSA/NBitcoin,MetacoSA/NBitcoin,NicolasDorier/NBitcoin | NBitcoin.Bench/UInt256Bench.cs | NBitcoin.Bench/UInt256Bench.cs | using BenchmarkDotNet.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBitcoin.Bench
{
public class UInt256Bench
{
uint256 Value;
byte[] Bytes;
byte[] EmptyArray;
[GlobalSetup]
public void Setup()
{
Value = RandomUtils.GetUInt256();
Bytes = Value.ToBytes();... | using BenchmarkDotNet.Attributes;
using System;
using System.Collections.Generic;
using System.Text;
namespace NBitcoin.Bench
{
public class UInt256Bench
{
uint256 Value;
byte[] Bytes;
byte[] EmptyArray;
[GlobalSetup]
public void Setup()
{
Value = RandomUtils.GetUInt256();
Bytes = Value.ToBytes();... | mit | C# |
dbbdb3f12a4617fc84735e3c81bae7fc319af2dc | Fix for failing test | owerkop/fluent-nhibernate,chester89/fluent-nhibernate,bogdan7/nhibernate,chester89/fluent-nhibernate,oceanho/fluent-nhibernate,narnau/fluent-nhibernate,lingxyd/fluent-nhibernate,lingxyd/fluent-nhibernate,owerkop/fluent-nhibernate,hzhgis/ss,hzhgis/ss,chester89/fluent-nhibernate,HermanSchoenfeld/fluent-nhibernate,oceanho... | src/FluentNHibernate.Testing/ConventionsTests/Inspection/CascadeTests.cs | src/FluentNHibernate.Testing/ConventionsTests/Inspection/CascadeTests.cs | using FluentNHibernate.Conventions.Inspections;
using NUnit.Framework;
namespace FluentNHibernate.Testing.ConventionsTests.Inspection.ValueTypes
{
[TestFixture]
public class CascadeTests
{
[Test]
public void ShouldBeEqualToAnotherTheSame()
{
Cascade.None.Shoul... | using FluentNHibernate.Conventions.Inspections;
using NUnit.Framework;
namespace FluentNHibernate.Testing.ConventionsTests.Inspection.ValueTypes
{
[TestFixture]
public class CascadeTests
{
[Test]
public void ShouldBeEqualToAnotherTheSame()
{
Cascade.None.Shoul... | bsd-3-clause | C# |
cd2351b8953102617a9b51186c67cc3d71647137 | Fix for duplicate type in assembly error | peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Proto... | src/Glimpse.Agent.AspNet/Internal/Inspectors/Mvc/Proxies/ProxyAdapter.cs | src/Glimpse.Agent.AspNet/Internal/Inspectors/Mvc/Proxies/ProxyAdapter.cs | using System;
using System.Collections.Generic;
using Microsoft.Extensions.DiagnosticAdapter.Internal;
namespace Glimpse.Agent.Internal.Inspectors.Mvc.Proxies
{
public class ProxyAdapter
{
private static readonly ProxyTypeCache _cache = new ProxyTypeCache();
public ProxyAdapter()
{
... | using System;
using System.Collections.Generic;
using Microsoft.Extensions.DiagnosticAdapter.Internal;
namespace Glimpse.Agent.Internal.Inspectors.Mvc.Proxies
{
public class ProxyAdapter
{
private static readonly ProxyTypeCache _cache = new ProxyTypeCache();
public ProxyAdapter()
{
... | mit | C# |
08c806022debd8382d39e7eea38446754fb1130d | expire SF health reports | aloneguid/logmagic | src/LogMagic.Microsoft.Azure.ServiceFabric/Writers/HealthReportWriter.cs | src/LogMagic.Microsoft.Azure.ServiceFabric/Writers/HealthReportWriter.cs | using LogMagic.Enrichers;
using System;
using System.Collections.Generic;
using System.Fabric;
using System.Fabric.Health;
namespace LogMagic.Microsoft.Azure.ServiceFabric.Writers
{
class HealthReportWriter : ILogWriter
{
private readonly ServiceContext _context;
public HealthReportWriter(ServiceCo... | using LogMagic.Enrichers;
using System;
using System.Collections.Generic;
using System.Fabric;
using System.Fabric.Health;
namespace LogMagic.Microsoft.Azure.ServiceFabric.Writers
{
class HealthReportWriter : ILogWriter
{
private readonly ServiceContext _context;
public HealthReportWriter(ServiceCo... | mit | C# |
959bfc90ae6de9a0486eb7c96d775a65c718c946 | add covariance and contravariance information | mstama/Merchant | Merchant/Interfaces/IConverter.cs | Merchant/Interfaces/IConverter.cs | namespace Merchant.Interfaces
{
/// <summary>
/// Interface for the converters
/// </summary>
public interface IConverter<in TSource, out TTarget>
{
/// <summary>
/// Executes the conversion
/// </summary>
/// <param name="value"></param>
/// <returns>Convert... | namespace Merchant.Interfaces
{
/// <summary>
/// Interface for the converters
/// </summary>
public interface IConverter<TSource, TTarget>
{
/// <summary>
/// Executes the conversion
/// </summary>
/// <param name="value"></param>
/// <returns>Converted valu... | mit | C# |
346f8602831701d4be251c363447f919c551eb11 | Update IMap.cs | ser910/uwp | NetGames/IGame/IMap.cs | NetGames/IGame/IMap.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace IGame
{
interface IMap: ISerializable
{
//Размер карты
int X { get; }
int Y { get; }
List<IGameObject> GameObjects ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Serialization;
namespace IGame
{
interface IMap: ISerializable
{
//Розмер карты
int X { get; }
int Y { get; }
List<IGameObject> GameObjects ... | mit | C# |
0557e8945fb2ecb7e4240dbd81725d84a7aeaccf | Fix MainCameraSingleton not tracking correct cameras | Barleytree/NitoriWare,NitorInc/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/Camera/MainCameraSingleton.cs | Assets/Scripts/Camera/MainCameraSingleton.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class MainCameraSingleton : MonoBehaviour
{
private const string MainCameraTag = "MainCamera";
private static List<Camera> cameraInstances;
private Camera camera;
public static Camera instan... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Linq;
public class MainCameraSingleton : MonoBehaviour
{
private const string MainCameraTag = "MainCamera";
private static List<Camera> cameraInstances;
private Camera camera;
public static Camera instan... | mit | C# |
772ecabe8e9293d187c8bba20ad0a45cb9b0ca65 | Change Message Key to use a GUID. | SaxxonPike/NextLevelSeven | NextLevelSeven/Cursors/Message.cs | NextLevelSeven/Cursors/Message.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NextLevelSeven.Core;
namespace NextLevelSeven.Cursors
{
sealed internal class Message : Element
{
public Message(string message)
: base(message)
{
_... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NextLevelSeven.Core;
namespace NextLevelSeven.Cursors
{
sealed internal class Message : Element
{
public Message(string message)
: base(message)
{
_... | isc | C# |
058b72f43f590c6ee5c5a9830ca98575e82602f3 | Update copyright year | NJAldwin/Pequot | Pequot/Properties/AssemblyInfo.cs | Pequot/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("Pe... | 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("Pe... | mit | C# |
2bea4338b53c27fa3fe4bec6a2da012cab59d836 | Split WCF functionality out of Autofac.Extras.Multitenant into a separate assembly/package, Autofac.Extras.Multitenant.Wcf. Both packages are versioned 3.1.0. | autofac/Autofac.Extras.AttributeMetadata | Properties/VersionAssemblyInfo.cs | Properties/VersionAssemblyInfo.cs | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18051
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | //------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34003
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generate... | mit | C# |
8796d652c6af0f1593f78a266768a23f032af6fc | Create plugged wallet test didn't used plugged wallet type. | anastasia-tarasova/indy-sdk,Artemkaaas/indy-sdk,anastasia-tarasova/indy-sdk,Artemkaaas/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,peacekeeper/indy-sdk,korsimoro/indy-sdk,peacekeeper/indy-sdk,korsimoro/indy-sdk,srottem/indy-sdk,korsimoro/indy-sdk,korsimoro/indy-sdk,korsimoro/indy-sdk,Artemkaaas/indy-sdk,srottem/... | wrappers/dotnet/indy-sdk-dotnet-test/Wrapper/WalletTests/CreateWalletTest.cs | wrappers/dotnet/indy-sdk-dotnet-test/Wrapper/WalletTests/CreateWalletTest.cs | using Indy.Sdk.Dotnet.Wrapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Indy.Sdk.Dotnet.Test.Wrapper.WalletTests
{
[TestClass]
public class CreateWalletTest : IndyIntegrationTestBase
{
[TestMethod]
public async Task TestCreateWalletWorks()... | using Indy.Sdk.Dotnet.Wrapper;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Threading.Tasks;
namespace Indy.Sdk.Dotnet.Test.Wrapper.WalletTests
{
[TestClass]
public class CreateWalletTest : IndyIntegrationTestBase
{
[TestMethod]
public async Task TestCreateWalletWorks()... | apache-2.0 | C# |
c6902c4ae0b17eb973df8cdb36eac7d5e5da96f2 | Add Should().BeApproximately(…) | bradphelan/SketchSolve.NET,bradphelan/SketchSolve.NET,bradphelan/SketchSolve.NET | SketchSolveC#.NET.Spec/Test.cs | SketchSolveC#.NET.Spec/Test.cs | using System;
using NUnit.Framework;
using FluentAssertions;
using SketchSolve;
using System.Linq;
using FluentAssertions.Numeric;
namespace SketchSolve.Spec
{
public static class FluentExtensionsX {
public static AndConstraint<NumericAssertions<double>> BeApproximately
(this NumericAssertions<d... | using System;
using NUnit.Framework;
using FluentAssertions;
using SketchSolve;
using System.Linq;
namespace SketchSolve.Spec
{
[TestFixture()]
public class Solver
{
[Test()]
public void HorizontalConstraintShouldWork ()
{
var line = new line () { p1 = new point(0,1), p2 = new point(2, 3) };
... | bsd-3-clause | C# |
9f10ebf181f51210dfdf38063fbb0f7f0407ecd6 | add BuildOnEQueueMessageReceived in equeue client provider | IvanZheng/IFramework,IvanZheng/IFramework,IvanZheng/IFramework | Src/iFramework.Plugins/IFramework.MessageQueue.EQueue/EQueueClientProvider.cs | Src/iFramework.Plugins/IFramework.MessageQueue.EQueue/EQueueClientProvider.cs | using System;
using System.Collections.Generic;
using System.Text;
using IFramework.Infrastructure;
using IFramework.Message;
using IFramework.Message.Impl;
using IFramework.MessageQueue.Client.Abstracts;
using IFramework.MessageQueue.EQueue.MessageFormat;
namespace IFramework.MessageQueue.EQueue
{
public class E... | using System;
using System.Collections.Generic;
using System.Text;
using IFramework.Message;
using IFramework.Message.Impl;
using IFramework.MessageQueue.Client.Abstracts;
namespace IFramework.MessageQueue.EQueue
{
public class EQueueClientProvider : IMessageQueueClientProvider
{
public IMessageConsum... | mit | C# |
ff8f03959bc19c586f060b422637254ba540ba4a | Update CuidCorrelationServiceTests.cs | tiksn/TIKSN-Framework | TIKSN.UnitTests.Shared/Integration/Correlation/CuidCorrelationServiceTests.cs | TIKSN.UnitTests.Shared/Integration/Correlation/CuidCorrelationServiceTests.cs | using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using System;
using TIKSN.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Integration.Correlation.Tests
{
public class CuidCorrelationServiceTests
{
private readonly ICorrelationService _correlationServ... | using FluentAssertions;
using Microsoft.Extensions.DependencyInjection;
using System;
using TIKSN.DependencyInjection;
using Xunit;
using Xunit.Abstractions;
namespace TIKSN.Integration.Correlation.Tests
{
public class CuidCorrelationServiceTests
{
private readonly ICorrelationService _correlationServ... | mit | C# |
4395ea3850baaf67047cc910c4e60a028e76af5c | Add applied suggestions. | UselessToucan/osu,DrabWeb/osu,smoogipoo/osu,Drezi126/osu,UselessToucan/osu,Damnae/osu,2yangk23/osu,naoey/osu,ZLima12/osu,UselessToucan/osu,NeoAdonis/osu,ppy/osu,johnneijzen/osu,peppy/osu,peppy/osu,NeoAdonis/osu,peppy/osu-new,ppy/osu,EVAST9919/osu,naoey/osu,smoogipooo/osu,EVAST9919/osu,johnneijzen/osu,naoey/osu,Frontear... | osu.Game.Rulesets.Mania/ManiaInputManager.cs | osu.Game.Rulesets.Mania/ManiaInputManager.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Mania
{
public class ManiaInputMa... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System.ComponentModel;
using osu.Framework.Input.Bindings;
using osu.Game.Rulesets.UI;
namespace osu.Game.Rulesets.Mania
{
public class ManiaInputMa... | mit | C# |
d607bde824f1ebbbb8cc59f0baa52f2fb23fa8be | Improve MultiMiner Remoting compatibility on Linux+Mono | IWBWbiz/MultiMiner,nwoolls/MultiMiner,nwoolls/MultiMiner,IWBWbiz/MultiMiner | MultiMiner.Remoting.Server/RemotingServer.cs | MultiMiner.Remoting.Server/RemotingServer.cs | using System;
using System.Net;
using System.ServiceModel;
namespace MultiMiner.Remoting.Server
{
public class RemotingServer
{
private bool serviceStarted = false;
private ServiceHost myServiceHost = null;
public void Startup()
{
//use Dns.GetHostName() in... | using System;
using System.ServiceModel;
namespace MultiMiner.Remoting.Server
{
public class RemotingServer
{
private bool serviceStarted = false;
private ServiceHost myServiceHost = null;
public void Startup()
{
Uri baseAddress = new Uri("net.tcp://localho... | mit | C# |
d9bf4507cd7dfa628c408d577cd7dcb5861412c7 | Add armv7s to libwrappers.linkwith.cs | realm/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,Shaddix/realm-dotnet,realm/realm-dotnet,realm/realm-dotnet | Realm.XamarinIOS/libwrappers.linkwith.cs | Realm.XamarinIOS/libwrappers.linkwith.cs | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm 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/li... | ////////////////////////////////////////////////////////////////////////////
//
// Copyright 2016 Realm 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/li... | apache-2.0 | C# |
201276ee65c490786d936d8865db2a267c002c43 | Fix Triage | vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf,vvfosprojects/sovvf | src/backend/SO115App.Models/Classi/Triage/TreeTriage.cs | src/backend/SO115App.Models/Classi/Triage/TreeTriage.cs | using System;
using System.Collections.Generic;
using System.Text;
namespace SO115App.Models.Classi.Triage
{
public class TreeTriage
{
public string Text { get; set; }
public string Value { get; set; }
public bool internalChecked { get; set; }
public bool internalCollapsed { ge... | using System;
using System.Collections.Generic;
using System.Text;
namespace SO115App.Models.Classi.Triage
{
public class TreeTriage
{
public string Text { get; set; }
public string Value { get; set; }
public bool internalChecked { get; set; }
public bool internalCollapsed { ge... | agpl-3.0 | C# |
62db5deb2a46b0276360dd8bef2b4113b208bcd9 | Add null check to ReferenceCollection | asbjornu/GitVersion,GitTools/GitVersion,asbjornu/GitVersion,gep13/GitVersion,gep13/GitVersion,GitTools/GitVersion | src/GitVersion.LibGit2Sharp/Git/ReferenceCollection.cs | src/GitVersion.LibGit2Sharp/Git/ReferenceCollection.cs | using GitVersion.Extensions;
namespace GitVersion;
internal sealed class ReferenceCollection : IReferenceCollection
{
private readonly LibGit2Sharp.ReferenceCollection innerCollection;
internal ReferenceCollection(LibGit2Sharp.ReferenceCollection collection)
=> this.innerCollection = collection.NotNu... | namespace GitVersion;
internal sealed class ReferenceCollection : IReferenceCollection
{
private readonly LibGit2Sharp.ReferenceCollection innerCollection;
internal ReferenceCollection(LibGit2Sharp.ReferenceCollection collection) => this.innerCollection = collection;
public IEnumerator<IReference> GetEnum... | mit | C# |
343e92cb03fa9b1247ce160a5d65a8ff33dfcc70 | fix multiple WWW-Authenticate to one | MienDev/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4,IdentityServer/IdentityServer4,MienDev/IdentityServer4,IdentityServer/IdentityServer4 | src/IdentityServer4/src/Endpoints/Results/ProtectedResourceErrorResult.cs | src/IdentityServer4/src/Endpoints/Results/ProtectedResourceErrorResult.cs | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Extensions;
using Microsoft.Extensions.Primitives;
using IdentityServer4.Hosting;
using Mi... | // Copyright (c) Brock Allen & Dominick Baier. All rights reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
using System.Threading.Tasks;
using IdentityServer4.Extensions;
using Microsoft.Extensions.Primitives;
using IdentityServer4.Hosting;
using Mi... | apache-2.0 | C# |
0faea95449190eeb296e994ba9f4cd1762e2e752 | Add const for the standard scope "phone" (#1720) | AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet,AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet | src/Microsoft.IdentityModel.Protocols.OpenIdConnect/OpenIdConnectScope.cs | src/Microsoft.IdentityModel.Protocols.OpenIdConnect/OpenIdConnectScope.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 doc... | //------------------------------------------------------------------------------
//
// 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 doc... | mit | C# |
8728f4b833974a29ddd963889e5a671650978bdd | Update DelegateTemplate.cs | NMSLanX/Natasha | src/Natasha.CSharp/Natasha.CSharp.Template/Template/Method/DelegateTemplate.cs | src/Natasha.CSharp/Natasha.CSharp.Template/Template/Method/DelegateTemplate.cs | using Natasha.CSharp.Builder;
using Natasha.CSharp.Reverser;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Natasha.CSharp.Template
{
public class DelegateTemplate<T> : MethodBodyTemplate<T> where T : DelegateTemplate<T>, new()
{
private readonly List<Type> _param... | using Natasha.CSharp.Builder;
using Natasha.CSharp.Reverser;
using System;
using System.Collections.Generic;
using System.Reflection;
namespace Natasha.CSharp.Template
{
public class DelegateTemplate<T> : MethodBodyTemplate<T> where T : DelegateTemplate<T>, new()
{
private readonly List<Type> _param... | mpl-2.0 | C# |
02f429069be691d0b38c878f631b6a3c1de3ff08 | Update ProviderCommonTests.cs | alex-simonov/RedisAspNetProviders | tests/RedisAspNetProviders.Tests/ProviderCommonTests.cs | tests/RedisAspNetProviders.Tests/ProviderCommonTests.cs | using System.Collections.Specialized;
using System.Configuration;
using System.Configuration.Provider;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RedisAspNetProviders.Tests
{
public class ProviderCommonTests<T> where T : ProviderBase, new()
{
private static r... | using System.Collections.Specialized;
using System.Configuration;
using System.Configuration.Provider;
using System.Threading;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace RedisAspNetProviders.Tests
{
public class ProviderCommonTests<T> where T : ProviderBase, new()
{
private static r... | mit | C# |
cbb92a742a90a080fcb5464124feddbc6c9ca1f0 | Improve Enum display. Work Item #1985 | CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork,CslaGenFork/CslaGenFork | trunk/Solutions/CslaGenFork/Metadata/PersistenceType.cs | trunk/Solutions/CslaGenFork/Metadata/PersistenceType.cs | using System.ComponentModel;
namespace CslaGenerator.Metadata
{
public enum PersistenceType
{
[Description("SQL Connection Manager")]
SqlConnectionManager = 1,
[Description("SQL Connection Unshared")]
SqlConnectionUnshared = 2,
LinqContext = 3,
EFConte... | namespace CslaGenerator.Metadata
{
public enum PersistenceType
{
SqlConnectionManager = 1,
SqlConnectionUnshared = 2,
LinqContext = 3,
EFContext = 4
}
} | mit | C# |
953582c5aac5934ab244c06949a426113ff117be | rename for consistency | aonweb/fluent-http | AonWeb.FluentHttp/Caching/CacheEntry.cs | AonWeb.FluentHttp/Caching/CacheEntry.cs | using System.Net.Http;
using AonWeb.FluentHttp.Helpers;
using AonWeb.FluentHttp.Serialization;
namespace AonWeb.FluentHttp.Caching
{
public class CacheEntry
{
private CacheEntry()
: this(new ResponseMetadata())
{
IsEmpty = true;
}
public CacheEntry(obje... | using System.Net.Http;
using AonWeb.FluentHttp.Helpers;
using AonWeb.FluentHttp.Serialization;
namespace AonWeb.FluentHttp.Caching
{
public class CacheEntry
{
private CacheEntry()
: this(new ResponseMetadata())
{
IsEmpty = true;
}
public CacheEntry(obje... | mit | C# |
eea0627ba4affc4ee1fefd6aea526c776df27694 | Revert "no" | a312b/SteamMaster | SteamMaster/RecommenderSystemCore/Program.cs | SteamMaster/RecommenderSystemCore/Program.cs | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DatabaseCore;
using MongoDB.Bson.IO;
using GameRank;
using RecommenderSystemCore.Controller;
using SteamSharpCore;
using Steam... | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using DatabaseCore;
using MongoDB.Bson.IO;
using GameRank;
using RecommenderSystemCore.Controller;
using SteamSharpCore;
using Steam... | mit | C# |
4469f15b87b86d37da133041b40d74ccb9ad8294 | Add RequiresElevation constant | JeremyKuhne/buildtools,joperezr/buildtools,naamunds/buildtools,ianhays/buildtools,schaabs/buildtools,tarekgh/buildtools,AlexGhiondea/buildtools,jhendrixMSFT/buildtools,schaabs/buildtools,JeremyKuhne/buildtools,ericstj/buildtools,MattGal/buildtools,dotnet/buildtools,jhendrixMSFT/buildtools,AlexGhiondea/buildtools,jhendr... | src/xunit.netcore.extensions/XunitConstants.cs | src/xunit.netcore.extensions/XunitConstants.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 Xunit.Sdk;
namespace Xunit.NetCore.Extensions
{
public struct XunitConstants
{
... | // 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 Xunit.Sdk;
namespace Xunit.NetCore.Extensions
{
public struct XunitConstants
{
... | mit | C# |
2faea3692ea74a7ac172cee8db23d2c2aa5db8ff | Change business logic | nigel-sampson/talks,nigel-sampson/talks | mobile-services/Spending.Core/Services/ExpenseService.cs | mobile-services/Spending.Core/Services/ExpenseService.cs | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.MobileServices;
using Microsoft.WindowsAzure.MobileServices.SQLiteStore;
using Microsoft.WindowsAzure.MobileServices.Sync;
namespace Spending.Core.Services
{
public class ExpenseService : IExpenseService
... | using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.WindowsAzure.MobileServices;
using Microsoft.WindowsAzure.MobileServices.SQLiteStore;
using Microsoft.WindowsAzure.MobileServices.Sync;
namespace Spending.Core.Services
{
public class ExpenseService : IExpenseService
... | mit | C# |
e2fab62dae900b5f1b2cc60093bf71018c0be234 | fix IsolationController namespace | signumsoftware/framework,signumsoftware/framework | Signum.React.Extensions/Isolation/IsolationController.cs | Signum.React.Extensions/Isolation/IsolationController.cs | using Microsoft.AspNetCore.Mvc;
using Signum.React.Filters;
using Signum.Entities.Isolation;
using Signum.Engine.Isolation;
using Signum.Entities.Authorization;
namespace Signum.React.Isolation;
[ValidateModelFilter]
public class IsolationController : Controller
{
[HttpGet("api/isolations")]
publi... | using Microsoft.AspNetCore.Mvc;
using Signum.React.Filters;
using Signum.Entities.Isolation;
using Signum.Engine.Isolation;
using Signum.Entities.Authorization;
namespace Signum.React.Workflow;
[ValidateModelFilter]
public class IsolationController : Controller
{
[HttpGet("api/isolations")]
public... | mit | C# |
215967ff9821ab0d333e088bee1f6a6b6288ac75 | delete method updated | Elhior/TestMVC,Elhior/TestMVC,Elhior/TestMVC | UsersMVC/DAL/UserRepository.cs | UsersMVC/DAL/UserRepository.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using UsersMVC.Models;
using System.Data.Entity;
using System.Data.Entity.Migrations;
namespace UsersMVC.DAL
{
public class UserRepository : IRepository<User>
{
private UserContext db;
public UserRepository... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using UsersMVC.Models;
using System.Data.Entity;
using System.Data.Entity.Migrations;
namespace UsersMVC.DAL
{
public class UserRepository : IRepository<User>
{
private UserContext db;
public UserRepository... | apache-2.0 | C# |
c99158518a794db6c3e62c29af2f250e6befc430 | Add onPause and onUnPause to PauseManager | plrusek/NitoriWare,NitorInc/NitoriWare,uulltt/NitoriWare,Barleytree/NitoriWare,Barleytree/NitoriWare,NitorInc/NitoriWare | Assets/Scripts/Scenario/PauseManager.cs | Assets/Scripts/Scenario/PauseManager.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class PauseManager : MonoBehaviour
{
public UnityEvent onPause, onUnPause;
//Whitelisted items won't be affected by pause
public AudioSource[] audioSourceWhitelist;
public MonoBehaviour[] scriptWhiteli... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PauseManager : MonoBehaviour
{
//Whitelisted items won't be affected by pause
public AudioSource[] audioSourceWhitelist;
public MonoBehaviour[] scriptWhitelist;
private bool paused;
private float timeScale;
private Lis... | mit | C# |
2010d87de0e532f9d8d2b25120d7e4a205d41aa4 | Add null check to cache refresher | TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco,TeaCommerce/Tea-Commerce-for-Umbraco | Source/TeaCommerce.Umbraco.Application/Caching/TeaCommerceCacheRefresherBase.cs | Source/TeaCommerce.Umbraco.Application/Caching/TeaCommerceCacheRefresherBase.cs | using Autofac;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using TeaCommerce.Api.Dependency;
using TeaCommerce.Api.Infrastructure.Caching;
using umbraco.interfaces;
using Umbraco.Core.Cache;
namespace TeaCommerce.Umbraco.Application.Caching
{
public abstract class TeaCommerceCacheRef... | using Autofac;
using Newtonsoft.Json;
using System;
using System.Collections.Concurrent;
using TeaCommerce.Api.Dependency;
using TeaCommerce.Api.Infrastructure.Caching;
using umbraco.interfaces;
using Umbraco.Core.Cache;
namespace TeaCommerce.Umbraco.Application.Caching
{
public abstract class TeaCommerceCacheRef... | mit | C# |
ad650adab0b9ea2b226b10523193f96439265c6c | Fix speed note count sum | peppy/osu,peppy/osu,ppy/osu,ppy/osu,ppy/osu,peppy/osu | osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs | osu.Game.Rulesets.Osu/Difficulty/Skills/Speed.cs | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Difficulty.Evaluators;
using... | // Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using osu.Game.Rulesets.Difficulty.Preprocessing;
using osu.Game.Rulesets.Mods;
using osu.Game.Rulesets.Osu.Difficulty.Evaluators;
using... | mit | C# |
f9ae51775d010c4547947cc854afd165063d78f0 | Create an empty Home controller. | ismaelbelghiti/Tigwi,ismaelbelghiti/Tigwi | Tigwi/Tigwi.UI/Controllers/HomeController.cs | Tigwi/Tigwi.UI/Controllers/HomeController.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Tigwi.UI.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
this.ViewBag.CurrentUser = "Zak";
return this.View();
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace Tigwi.UI.Controllers
{
public class HomeController : Controller
{
public ActionResult Index()
{
throw new NotImplementedException("HomeController.Index");
}
... | bsd-3-clause | C# |
39f4771faa73681591fd2281ba4ed30c546206e5 | Remove unnecessary object creation of IAnnotation | criteo/zipkin4net,criteo/zipkin4net | Criteo.Profiling.Tracing/Annotations.cs | Criteo.Profiling.Tracing/Annotations.cs | using System.Net;
using Criteo.Profiling.Tracing.Annotation;
namespace Criteo.Profiling.Tracing
{
/// <summary>
/// Factory for annotations
/// </summary>
public static class Annotations
{
private static readonly IAnnotation AnnClientReceive = new ClientRecv();
private static read... | using System.Net;
using Criteo.Profiling.Tracing.Annotation;
namespace Criteo.Profiling.Tracing
{
/// <summary>
/// Factory for annotations
/// </summary>
public static class Annotations
{
public static IAnnotation ClientRecv()
{
return new ClientRecv();
}
... | apache-2.0 | C# |
6fa02a2441a07c1ef93f0748cb7f64a788f365ea | Remove browser type param | LiquidThinking/Xenon,LiquidThinking/Xenon | Xenon.Tests/MoveToElementTests/BaseMoveToElementTests.cs | Xenon.Tests/MoveToElementTests/BaseMoveToElementTests.cs | using NUnit.Framework;
using Xenon.Tests.Integration;
namespace Xenon.Tests.MoveToElementTests
{
public abstract class BaseMoveToElementTests<T> : BaseXenonIntegrationTest where T : BaseXenonTest<T>
{
protected abstract BaseXenonTest<T> CreateInstance( IXenonBrowser browser );
public BaseMoveToElementTests()
... | using NUnit.Framework;
using Xenon.Tests.Integration;
namespace Xenon.Tests.MoveToElementTests
{
public abstract class BaseMoveToElementTests<T> : BaseXenonIntegrationTest where T : BaseXenonTest<T>
{
protected abstract BaseXenonTest<T> CreateInstance( IXenonBrowser browser );
public BaseMoveToElementTests()
... | mit | C# |
5a49a72ad1e2e7e2fb036b2ceaded6213f478aac | Fix more dependencies | michael-reichenauer/Dependinator | Dependinator/ModelViewing/CodeViewing/CodeDialog.xaml.cs | Dependinator/ModelViewing/CodeViewing/CodeDialog.xaml.cs | using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows;
using System.Xml;
using ICSharpCode.AvalonEdit.Highlighting;
using ICSharpCode.AvalonEdit.Highlighting.Xshd;
namespace Dependinator.ModelViewing.CodeViewing
{
/// <summary>
/// Interaction logic for ReferencesDialog.xaml
... | using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows;
using System.Xml;
using ICSharpCode.AvalonEdit.Highlighting;
using ICSharpCode.AvalonEdit.Highlighting.Xshd;
namespace Dependinator.ModelViewing.CodeViewing
{
/// <summary>
/// Interaction logic for ReferencesDialog.xaml
... | mit | C# |
688ced0c629deff3a51875e9674be604964297a6 | Add missing completion list icons | mrward/monodevelop-powershell-addin | src/MonoDevelop.PowerShell/MonoDevelop.PowerShell/PowerShellCompletionData.cs | src/MonoDevelop.PowerShell/MonoDevelop.PowerShell/PowerShellCompletionData.cs | //
// PowerShellCompletionData.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2016 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in... | //
// PowerShellCompletionData.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2016 Xamarin Inc. (http://xamarin.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in... | mit | C# |
251c76601eaccb341200f89f9420aeea4d017326 | Add !OsuFileLocation! command | Piotrekol/StreamCompanion,Piotrekol/StreamCompanion | osu!StreamCompanion/Code/Modules/MapDataReplacements/Map/MapReplacement.cs | osu!StreamCompanion/Code/Modules/MapDataReplacements/Map/MapReplacement.cs | using System.Collections.Generic;
using osu_StreamCompanion.Code.Core;
using osu_StreamCompanion.Code.Core.DataTypes;
using osu_StreamCompanion.Code.Helpers;
using osu_StreamCompanion.Code.Interfeaces;
namespace osu_StreamCompanion.Code.Modules.MapDataReplacements.Map
{
class MapReplacement :IModule,IMapDataRepla... | using System.Collections.Generic;
using osu_StreamCompanion.Code.Core.DataTypes;
using osu_StreamCompanion.Code.Helpers;
using osu_StreamCompanion.Code.Interfeaces;
namespace osu_StreamCompanion.Code.Modules.MapDataReplacements.Map
{
class MapReplacement :IModule,IMapDataReplacements
{
public bool Sta... | mit | C# |
eb76957dafb06dc564529f48df8f820ffcbb20dc | Change the way to use underlying enumerator. | skahal/Buildron,skahal/Buildron,skahal/Buildron | src/Buildron/Assets/_Assets/Scripts/Domain/Sorting/SortingAlgorithmBase.cs | src/Buildron/Assets/_Assets/Scripts/Domain/Sorting/SortingAlgorithmBase.cs | #region Usings
using System.Collections.Generic;
using System;
using System.Linq;
using System.Collections;
using UnityEngine;
#endregion
namespace Buildron.Domain.Sorting
{
public abstract class SortingAlgorithmBase<TItem> : ISortingAlgorithm<TItem> where TItem : System.IComparable<TItem>
{
#region Constructors
... | #region Usings
using System.Collections.Generic;
using System;
using System.Linq;
using System.Collections;
using UnityEngine;
#endregion
namespace Buildron.Domain.Sorting
{
public abstract class SortingAlgorithmBase<TItem> : ISortingAlgorithm<TItem> where TItem : System.IComparable<TItem>
{
#region Constructors
... | mit | C# |
9e5a58a5a75dbe5fb03cd9adad08d5eee082bea9 | Improve DotNetVersionFinder | canton7/SyncTrayzor,canton7/SyncTrayzor,canton7/SyncTrayzor | src/SyncTrayzor/Utils/DotNetVersionFinder.cs | src/SyncTrayzor/Utils/DotNetVersionFinder.cs | using Microsoft.Win32;
using System;
using System.Collections.Generic;
namespace SyncTrayzor.Utils
{
public static class DotNetVersionFinder
{
// See https://msdn.microsoft.com/en-us/library/hh925568.aspx#net_d
private static readonly Dictionary<int, string> versionMapping = new Dictionary<in... | using Microsoft.Win32;
using System;
namespace SyncTrayzor.Utils
{
public static class DotNetVersionFinder
{
// See https://msdn.microsoft.com/en-us/library/hh925568.aspx#net_d
public static string FindDotNetVersion()
{
try
{
using (var ndpKey =... | mit | C# |
5efdfee7d88bb4dd1dd6ee49c3016c82ee9cd1b5 | Update Program.cs | citizenkraft/UpsStreetAddressValidation | ValidatorExample/ValidatorExample/Program.cs | ValidatorExample/ValidatorExample/Program.cs | using citizenkraft.UpsStreetAddressValidation.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValidatorExample
{
class Program
{
static void Main(string[] args)
{
//Usage:
//create the object
var validator = new ci... | using citizenkraft.UpsStreetAddressValidation.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ValidatorExample
{
class Program
{
static void Main(string[] args)
{
//Usage:
//create the object
var validator = new ci... | mit | C# |
1121dda1d34d384f027fa0f3ee467c2e268df9c8 | Standardize GetOrDefault usage for boolean settings (#1034) | Neurosploit/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,stratisproject/StratisBitcoinFullNode,Aprogiena/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,quantumagi/StratisBitcoinFullNode,Neurosploit/StratisBitcoinFullNode,bokobza/St... | src/Stratis.Bitcoin.Features.BlockStore/StoreSettings.cs | src/Stratis.Bitcoin.Features.BlockStore/StoreSettings.cs | using System;
using Stratis.Bitcoin.Configuration;
namespace Stratis.Bitcoin.Features.BlockStore
{
/// <summary>
/// Configuration related to storage of transactions.
/// </summary>
public class StoreSettings
{
/// <summary><c>true</c> to maintain a full transaction index.</summary>
... | using System;
using Stratis.Bitcoin.Configuration;
namespace Stratis.Bitcoin.Features.BlockStore
{
/// <summary>
/// Configuration related to storage of transactions.
/// </summary>
public class StoreSettings
{
/// <summary><c>true</c> to maintain a full transaction index.</summary>
... | mit | C# |
9d0f4b0a297e01f73e2cf840321a9c2bf7e67d73 | Allow base master page to be overridden | EminentTechnology/CodeTorch | src/webforms/CodeTorch.Web/MasterPages/BaseMasterPage.cs | src/webforms/CodeTorch.Web/MasterPages/BaseMasterPage.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using System.Reflection;
using System.Web.UI;
namespace CodeTorch.Web.MasterPages
{
public class BaseMasterPage : System.Web.UI.MasterPage
{
protected Label currentYear;
prote... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI.WebControls;
using System.Reflection;
using System.Web.UI;
namespace CodeTorch.Web.MasterPages
{
public class BaseMasterPage : System.Web.UI.MasterPage
{
protected Label currentYear;
prote... | mit | C# |
7cdc1153384b923f43f32d6b22d558072d12a05d | fix test store | geeklearningio/gl-dotnet-storage | tests/GeekLearning.Storage.Integration.Test/TestStore.cs | tests/GeekLearning.Storage.Integration.Test/TestStore.cs | namespace GeekLearning.Storage.Integration.Test
{
using GeekLearning.Storage.Configuration;
using System.Collections.Generic;
using System.Linq;
public class TestStore : IStoreOptions
{
public TestStore()
{
this.Name = "TestStore";
this.ProviderType = "FileS... | namespace GeekLearning.Storage.Integration.Test
{
using GeekLearning.Storage.Configuration;
using System.Collections.Generic;
using System.Linq;
public class TestStore : IStoreOptions
{
public TestStore()
{
this.Name = "TestStore";
this.ProviderType = "FileS... | mit | C# |
0ae0e096767f0ea2d873676c25b68c0305a816e7 | Add a unified method to make an editor-only object | YesAndGames/YesAndEngine | Editor/YesAndEditor/YesAndEditorUtil.cs | Editor/YesAndEditor/YesAndEditorUtil.cs | using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine;
using System.Linq;
namespace YesAndEditor {
// Static class packed to the brim with helpful Unity editor utilities.
public static class YesAndEditorUtil {
// Forcefully mark open loaded scenes dirty and save them.
[MenuItem ("File/Force ... | using UnityEditor;
using UnityEditor.SceneManagement;
namespace YesAndEditor {
// Static class packed to the brim with helpful Unity editor utilities.
public static class YesAndEditorUtil {
// Forcefully mark open loaded scenes dirty and save them.
[MenuItem ("File/Force Save")]
public static void ForceSave... | apache-2.0 | C# |
db5df240284a5cd0ad5e1f00068f403790d63985 | Revert "#12404 For Admin and Caregiver Add patient allow patient creation wit…" | SnapMD/connectedcare-sdk | SnapMD.VirtualCare.ApiModels/AddPatientProfileRequest.cs | SnapMD.VirtualCare.ApiModels/AddPatientProfileRequest.cs | using System;
using SnapMD.Web.Api.Models;
using System.Collections.Generic;
namespace SnapMD.VirtualCare.ApiModels
{
/// <summary>
/// The API uses JSON camel case serialization, so the variables supplied in the incoming request will have lower case.
/// </summary>
public class AddPatientProfileReque... | using System;
using SnapMD.Web.Api.Models;
using System.Collections.Generic;
namespace SnapMD.VirtualCare.ApiModels
{
/// <summary>
/// The API uses JSON camel case serialization, so the variables supplied in the incoming request will have lower case.
/// </summary>
public class AddPatientProfileReque... | apache-2.0 | C# |
6c87b4399be453f4148048512ca0204e3027fad3 | add default no-param constructor for ShipStationItemWeight | agileharbor/shipStationAccess | src/ShipStationAccess/V2/Models/ShipStationItemWeight.cs | src/ShipStationAccess/V2/Models/ShipStationItemWeight.cs | using System.Runtime.Serialization;
namespace ShipStationAccess.V2.Models
{
[ DataContract ]
public sealed class ShipStationItemWeight
{
[ DataMember( Name = "value" ) ]
public decimal Value{ get; set; }
[ DataMember( Name = "units" ) ]
public string Units{ get; set; }
public ShipStationIt... | using System.Runtime.Serialization;
namespace ShipStationAccess.V2.Models
{
[ DataContract ]
public sealed class ShipStationItemWeight
{
[ DataMember( Name = "value" ) ]
public decimal Value{ get; set; }
[ DataMember( Name = "units" ) ]
public string Units{ get; set; }
public ShipStationItem... | bsd-3-clause | C# |
ca48f91c971cedcec75403cc248d6556a4d700b8 | Remove 100sec boot screen =D | pingzing/fridge-shopping-list | FridgeShoppingList/Views/Splash.xaml.cs | FridgeShoppingList/Views/Splash.xaml.cs | using System;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace FridgeShoppingList.Views
{
public sealed partial class Splash : UserControl
{
public Task SplashInProgress { get; private ... | using System;
using System.Threading.Tasks;
using Windows.ApplicationModel.Activation;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
namespace FridgeShoppingList.Views
{
public sealed partial class Splash : UserControl
{
public Task SplashInProgress { get; private ... | mit | C# |
90dc0fcca8de6aa977e919ace5c5a221fe8ffbf5 | Add documentation for BaseEstablisher | tjb042/Establishment | Establishment/BaseEstablisher.cs | Establishment/BaseEstablisher.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Establishment {
/// <summary>
/// Base establishment provider for all types
/// </summary>
/// <typeparam name="TType">Any generic struct or class type</typeparam>
public ... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Establishment {
public abstract class BaseEstablisher<TType> {
protected BaseEstablisher(TType value) {
Value = value;
ThrowExceptionOnFailure = true;
... | mit | C# |
1a26092d90b5ab7db9a0b1da6d2a415911fd7e83 | Fix small typo | DanH91/vuwall-motion,VuWall/VuWall-Motion | vuwall-motion/vuwall-motion/TransparentForm.cs | vuwall-motion/vuwall-motion/TransparentForm.cs | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
ShowInTaskbar = false;
}
private void Transp... | using System;
using System.Drawing;
using System.Windows.Forms;
namespace vuwall_motion {
public partial class TransparentForm : Form {
public TransparentForm() {
InitializeComponent();
DoubleBuffered = true;
ShowInTaskbar = false;
}
private void Transp... | mit | C# |
7b0112b82dd454930a38068d21ab54f93a09c6a7 | Fix RequestDateTime field | precizeman/get-pdf-online,precizeman/get-pdf-online,precizeman/get-pdf-online,precizeman/get-pdf-online,precizeman/get-pdf-online | src/PrecizeSoft.GetPdfOnline.Domain/Services/LoggerService.cs | src/PrecizeSoft.GetPdfOnline.Domain/Services/LoggerService.cs | using PrecizeSoft.GetPdfOnline.Data;
using PrecizeSoft.GetPdfOnline.Domain.Handlers;
using PrecizeSoft.GetPdfOnline.Domain.Models;
using PrecizeSoft.IO.Contracts.Converters;
using PrecizeSoft.GetPdfOnline.Domain.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sys... | using PrecizeSoft.GetPdfOnline.Data;
using PrecizeSoft.GetPdfOnline.Domain.Handlers;
using PrecizeSoft.GetPdfOnline.Domain.Models;
using PrecizeSoft.IO.Contracts.Converters;
using PrecizeSoft.GetPdfOnline.Domain.Converters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sys... | apache-2.0 | C# |
cb28926fc6847154667970a60b5df5a5db76a2a0 | make color helpers public (#957) | lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows,lbochenek/react-native-windows | ReactWindows/ReactNative.Shared/UIManager/ColorHelpers.cs | ReactWindows/ReactNative.Shared/UIManager/ColorHelpers.cs | #if WINDOWS_UWP
using Windows.UI;
#else
using System.Windows.Media;
#endif
namespace ReactNative.UIManager
{
public static class ColorHelpers
{
public const uint Transparent = 0x00FFFFFF;
public static Color Parse(uint value)
{
var color = value;
var b = (byte)... | #if WINDOWS_UWP
using Windows.UI;
#else
using System.Windows.Media;
#endif
namespace ReactNative.UIManager
{
static class ColorHelpers
{
public const uint Transparent = 0x00FFFFFF;
public static Color Parse(uint value)
{
var color = value;
var b = (byte)color;
... | mit | C# |
af215e6112f240feef2403ae2c40425216491d77 | fix snippet | eclaus/docs.particular.net,WojcikMike/docs.particular.net,yuxuac/docs.particular.net,pedroreys/docs.particular.net | Snippets/Snippets_Misc/EfEdmx/EntityConnectionCreation.cs | Snippets/Snippets_Misc/EfEdmx/EntityConnectionCreation.cs | using System.Data.Entity.Core.EntityClient;
namespace Snippets_Misc.EfEdmx
{
class EntityConnectionCreation
{
void Temp()
{
#region EntityConnectionCreationAndUsage
var entityBuilder = new EntityConnectionStringBuilder
{
Provider = "System.D... | using System.Data.Entity.Core.EntityClient;
namespace Snippets_Misc.EfEdmx
{
class EntityConnectionCreation
{
void Temp()
{
#region EntityConnectionCreationAndUsage
var entityBuilder = new EntityConnectionStringBuilder()
{
Provider = "System... | apache-2.0 | C# |
8161dc7b81c2606b8f2cf5f1867b45ef86b73fca | Bump version | samiy-xx/keysndr,samiy-xx/keysndr,samiy-xx/keysndr | KeySndr.Base/Properties/AssemblyInfo.cs | KeySndr.Base/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("Ke... | 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("Ke... | mit | C# |
a3cc99f8fe6dd9549531665eb1db6b3554bb87a8 | Fix string escaping | sachintaware/ng-file-upload,komsanb/ng-file-upload,wrenth04/ng-file-upload,wrenth04/ng-file-upload,lewis-ing/ng-file-upload,sachintaware/ng-file-upload,sjava9s/ng-file-upload,simudream/ng-file-upload,sjava9s/ng-file-upload,itonics/ng-file-upload,edgibbs/ng-file-upload,tpsumeta/ng-file-upload,IRlyDontKnow/ng-file-upload... | demo/C#/UploadHandler.ashx.cs | demo/C#/UploadHandler.ashx.cs | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MyApp.Uploads
{
/// <summary>
/// Summary description for UploadHandler
/// </summary>
public class UploadHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
... | using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace MyApp.Uploads
{
/// <summary>
/// Summary description for UploadHandler
/// </summary>
public class UploadHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
... | mit | C# |
a98be6c0813f4403c6f2e9c6a335a1638212f42c | support loading configuration from AppData folder | IsNull/Archimedes | Archimedes.Framework/Configuration/ConfigurationLoader.cs | Archimedes.Framework/Configuration/ConfigurationLoader.cs | using System;
using System.IO;
using Archimedes.Patterns.Utils;
namespace Archimedes.Framework.Configuration
{
public class ConfigurationLoader
{
public Properties LoadConfiguration(string[] commandLineArgs = null)
{
return LoadConfigurationFromPropertiesFile()
.Mer... | using System;
using System.IO;
namespace Archimedes.Framework.Configuration
{
public class ConfigurationLoader
{
public Properties LoadConfiguration(string[] commandLineArgs = null)
{
return LoadConfigurationFromPropertiesFile()
.Merge(LoadConfigurationFromCommandLi... | mit | C# |
e7e9c8d4b6395d6fb026d97757e5494a5f834b24 | Remove white space from version checker warnings | iBicha/UnityNativePluginBuilder,iBicha/UnityNativePluginBuilder | Assets/NativePluginBuilder/Editor/NativeVersionChecker.cs | Assets/NativePluginBuilder/Editor/NativeVersionChecker.cs | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor.Build;
using UnityEditor;
using System.Text;
using System;
namespace iBicha
{
public class NativeVersionChecker : IPreprocessBuild {
public void OnPreprocessBuild (UnityEditor.BuildTarget target, string path)
{
S... | using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor.Build;
using UnityEditor;
using System.Text;
using System;
namespace iBicha
{
public class NativeVersionChecker : IPreprocessBuild {
public void OnPreprocessBuild (UnityEditor.BuildTarget target, string path)
{
S... | mit | C# |
cd61e65bce9b9bd0da6f90bcada010df4c8ca9cd | set version to v0.2 | mastersign/MapMap | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verk... | using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die mit einer Assembly verk... | mit | C# |
88962b852d6c3a74f7dd27b1548e7185a3bbc61a | Bump to 2.6.0 | dreadnought-friends/support-tool,iltar/support-tool | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Dreadnought Communi... | using System.Reflection;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Dreadnought Communi... | mit | C# |
3835ec4c8f6159a055e3a10004f19be94786e921 | Bump version to hotfix 1.2.4.1 | EliotVU/Unreal-Library | Properties/AssemblyInfo.cs | 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( "UELib" )]
[assembly: AssemblyDescription... | using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle( "UELib" )]
[assembly: AssemblyDescription... | mit | C# |
9184cf0cdc83e52310110bd82208c958628b5a89 | Bump version | nixxquality/WebMConverter,o11c/WebMConverter,Yuisbean/WebMConverter | Properties/AssemblyInfo.cs | 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("We... | 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# |
bc65f17a8fab449cd1f986325234ddeb7be1df5c | Bump version to 0.6 | FatturaElettronicaPA/FatturaElettronicaPA | Properties/AssemblyInfo.cs | Properties/AssemblyInfo.cs | using System.Reflection;
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("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | using System.Reflection;
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("FatturaElettronica.NET")]
[assembly: AssemblyDescriptio... | bsd-3-clause | C# |
4ee20bd8cc696718b55b60ff0d72bef0674f5974 | Fix the API | cwensley/maccore,beni55/maccore,jorik041/maccore,mono/maccore | src/ImageIO/CGImageSource.cs | src/ImageIO/CGImageSource.cs | //
// 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, merge, publish,
// distribute, sublicense, and/or s... | //
// 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, merge, publish,
// distribute, sublicense, and/or s... | apache-2.0 | C# |
b211a87ae3961ed470621883c54ce157f8a32884 | Rename variable in Automapper config to match its type (Job instead of JobDTO) | paulbatum/FieldEngineerLite | FieldEngineerLite.Service/App_Start/AutomapperConfiguration.cs | FieldEngineerLite.Service/App_Start/AutomapperConfiguration.cs | // ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
// This file reused from: https://code.msdn.microsoft.com/Field-Engineer-501df99d
using AutoMapper... | // ----------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// ----------------------------------------------------------------------------
// This file reused from: https://code.msdn.microsoft.com/Field-Engineer-501df99d
using AutoMapper... | apache-2.0 | C# |
700cab8ee999798d48d4e5ad1dce5e0b8320df5b | fix a typo | rpmoore/ds3_net_sdk,shabtaisharon/ds3_net_sdk,SpectraLogic/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,rpmoore/ds3_net_sdk,rpmoore/ds3_net_sdk,SpectraLogic/ds3_net_sdk,shabtaisharon/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk,RachelTucker/ds3_net_sdk | Ds3/Helpers/Strategies/WriteRandomAccessHelperStrategy.cs | Ds3/Helpers/Strategies/WriteRandomAccessHelperStrategy.cs | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is locate... | /*
* ******************************************************************************
* Copyright 2014 Spectra Logic Corporation. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
* this file except in compliance with the License. A copy of the License is locate... | apache-2.0 | C# |
e807489d0c8496d2a59c7a1443b4cb42fbb7c590 | Remove unintended effect | unlimitedbacon/MatterControl,mmoening/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,unlimitedbacon/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,unlimitedbacon/MatterControl,jlewin/MatterControl,larsbrubaker/MatterControl,mmoening/MatterControl,larsbrubaker/MatterControl,jlewin/MatterC... | MatterControlLib/ApplicationView/Themes/DirectoryTheme.cs | MatterControlLib/ApplicationView/Themes/DirectoryTheme.cs | /*
Copyright (c) 2018, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | /*
Copyright (c) 2018, John Lewin
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following ... | bsd-2-clause | C# |
3351594cb7070755e5ce3e2cc2cde65c51b560c4 | Update todo message to explain what is the issue | Glimpse/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Protot... | src/Glimpse.Host.Web.AspNet/GlimpseMiddleware.cs | src/Glimpse.Host.Web.AspNet/GlimpseMiddleware.cs | using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Glimpse.Web;
using System;
namespace Glimpse.Host.Web.AspNet
{
public class GlimpseMiddleware
{
private readonly RequestDelegate _innerNext;
private readonly MasterRequestRuntime _runtime;
private readonly ISettings _s... | using System.Threading.Tasks;
using Microsoft.AspNet.Builder;
using Glimpse.Web;
using System;
namespace Glimpse.Host.Web.AspNet
{
public class GlimpseMiddleware
{
private readonly RequestDelegate _innerNext;
private readonly MasterRequestRuntime _runtime;
private readonly ISettings _s... | mit | C# |
a63e3b2d9b3020f0dd3caaa3c4c65b885c13c786 | increase version number / just a test if update works | PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer,PapaMufflon/StandUpTimer | StandUpTimer/Properties/AssemblyInfo.cs | StandUpTimer/Properties/AssemblyInfo.cs | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyVersion("0.8.3")]
[assembly: AssemblyFileVersion("0.8.3")]
[assembly: InternalsVisibleTo("StandUpTimer.UnitTests")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] | using System.Reflection;
using System.Runtime.CompilerServices;
[assembly: AssemblyVersion("0.8.2")]
[assembly: AssemblyFileVersion("0.8.2")]
[assembly: InternalsVisibleTo("StandUpTimer.UnitTests")]
[assembly: InternalsVisibleTo("DynamicProxyGenAssembly2")] | mit | C# |
14892be31517c955f52dadbb9c7966ad6c972d56 | update ad place | dncuug/dot-net.in.ua,dncuug/dot-net.in.ua,dncuug/dot-net.in.ua | src/WebSite/Views/Home/Index.cshtml | src/WebSite/Views/Home/Index.cshtml | @using X.PagedList;
@using X.PagedList.Mvc.Core;
@model IPagedList<Core.ViewModels.PublicationViewModel>
@{
ViewData["Title"] = "Welcome!";
}
@section head {
<meta property="og:title" content="@Core.Settings.Current.WebSiteTitle" />
<meta property="og:type" content="website" />
<meta property="og:url... | @using X.PagedList;
@using X.PagedList.Mvc.Core;
@model IPagedList<Core.ViewModels.PublicationViewModel>
@{
ViewData["Title"] = "Welcome!";
}
@section head {
<meta property="og:title" content="@Core.Settings.Current.WebSiteTitle" />
<meta property="og:type" content="website" />
<meta property="og:url... | mit | C# |
dd100bbdf227b4f4552353303f386c3028811eb0 | use untyped ODataOptions for IncidentController | Azure/mobile-services-dynamics-connector,Azure/mobile-services-dynamics-connector,Azure/mobile-services-dynamics-connector | MobileServicesCrm/server/ActivityLoggerBackend/Controllers/IncidentController.cs | MobileServicesCrm/server/ActivityLoggerBackend/Controllers/IncidentController.cs | using System;
using System.Linq;
using ActivityLoggerBackend.Models;
using Microsoft.WindowsAzure.Mobile.Service.Security;
using Microsoft.Xrm.Client.Services;
using Microsoft.Xrm.Sdk.Client;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.OData.Query;
using... | using System;
using System.Linq;
using ActivityLoggerBackend.Models;
using Microsoft.WindowsAzure.Mobile.Service.Security;
using Microsoft.Xrm.Client.Services;
using Microsoft.Xrm.Sdk.Client;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Web.Http;
using System.Web.Http.OData.Query;
using... | apache-2.0 | C# |
5cad1d5512caf54b0f03daa452bff2482992d203 | Update ICustomDeserializer.cs | tiksn/TIKSN-Framework | TIKSN.Core/Serialization/ICustomDeserializer.cs | TIKSN.Core/Serialization/ICustomDeserializer.cs | namespace TIKSN.Serialization
{
/// <summary>
/// Custom (specialized or typed) deserializer interface
/// </summary>
/// <typeparam name="TSerial">Type to deserialize from, usually string or byte array</typeparam>
public interface ICustomDeserializer<TSerial, TModel>
{
/// <summary>
... | namespace TIKSN.Serialization
{
/// <summary>
/// Custom (specialized or typed) deserializer interface
/// </summary>
/// <typeparam name="TSerial">Type to deserialize from, usually string or byte array</typeparam>
public interface ICustomDeserializer<TSerial, TModel>
{
/// <summary>
... | mit | C# |
4e8cb44ae912d8e99827ba36e5fda81b65bc4de1 | Fix merge | vnbaaij/QuicksilverB2B,episerver/QuicksilverB2B,episerver/QuicksilverB2B,vnbaaij/QuicksilverB2B,vnbaaij/QuicksilverB2B,episerver/QuicksilverB2B | Sources/EPiServer.Reference.Commerce.Site.B2B/ServiceContracts/IBudgetService.cs | Sources/EPiServer.Reference.Commerce.Site.B2B/ServiceContracts/IBudgetService.cs | using System;
using System.Collections.Generic;
using EPiServer.Reference.Commerce.Site.B2B.Models.Entities;
using EPiServer.Reference.Commerce.Site.B2B.Models.ViewModels;
namespace EPiServer.Reference.Commerce.Site.B2B.ServiceContracts
{
public interface IBudgetService
{
List<BudgetViewModel> GetAllB... | using System;
using System.Collections.Generic;
using EPiServer.Reference.Commerce.Site.B2B.Models.Entities;
using EPiServer.Reference.Commerce.Site.B2B.Models.ViewModels;
namespace EPiServer.Reference.Commerce.Site.B2B.ServiceContracts
{
public interface IBudgetService
{
List<BudgetViewModel> GetAllB... | apache-2.0 | C# |
58e5a71d31e0f06d544b0b2bccf20a675d2ea8bc | Fix showing username when logged in. | Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW,Midnight-Myth/Mitternacht-NEW | MitternachtWeb/Views/Shared/_NavbarLogin.cshtml | MitternachtWeb/Views/Shared/_NavbarLogin.cshtml | @{
var DiscordUser = UserHelper.GetDiscordUser(User);
}
@if(DiscordUser == null) {
<a class="nav-link text-dark" asp-area="" asp-controller="Login" asp-action="Index">Login</a>
} else {
@DiscordUser.User
}
| @{
var DiscordUser = UserHelper.GetDiscordUser(User);
}
@if(DiscordUser == null) {
<a class="nav-link text-dark" asp-area="" asp-controller="Login" asp-action="Index">Login</a>
} else {
@DiscordUser
}
| mit | C# |
8f910dfb380473f9e242d258f3a8dea5b9c14cb7 | implement IFileSystem.FolderFor on UnityEditorFileSystem | Unity-Technologies/CodeEditor,Unity-Technologies/CodeEditor | src/CodeEditor.Text.UI.Unity.Editor/Implementation/UnityEditorFileSystem.cs | src/CodeEditor.Text.UI.Unity.Editor/Implementation/UnityEditorFileSystem.cs | using CodeEditor.IO;
using CodeEditor.IO.Implementation;
namespace CodeEditor.Text.UI.Unity.Editor.Implementation
{
class UnityEditorFileSystem : IFileSystem
{
public IFile FileFor(string file)
{
return new UnityEditorFile(file);
}
public IFolder FolderFor(string folder)
{
return new Folder(folder, ... | using CodeEditor.IO;
namespace CodeEditor.Text.UI.Unity.Editor.Implementation
{
class UnityEditorFileSystem : IFileSystem
{
public IFile FileFor(string file)
{
return new UnityEditorFile(file);
}
}
}
| mit | C# |
58406445bc700a06c9da7f513341ce1af6a6ef92 | Add proto comment | tmat/roslyn,jmarolf/roslyn,brettfo/roslyn,jasonmalinowski/roslyn,sharwell/roslyn,stephentoub/roslyn,CyrusNajmabadi/roslyn,jmarolf/roslyn,tannergooding/roslyn,reaction1989/roslyn,AmadeusW/roslyn,weltkante/roslyn,shyamnamboodiripad/roslyn,stephentoub/roslyn,ErikSchierboom/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,dirybo... | src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.cs | src/Compilers/Core/Portable/SourceGeneration/AdditionalSourcesCollection.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 Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeA... | // 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 Microsoft.CodeAnalysis.PooledObjects;
using Microsoft.CodeA... | mit | C# |
f819ffce2bbb64e2fdba83d130042d084304625c | Make the legacy decoder more resilient against leading linebreaks | ZLima12/osu,2yangk23/osu,Drezi126/osu,DrabWeb/osu,EVAST9919/osu,smoogipooo/osu,smoogipoo/osu,Damnae/osu,UselessToucan/osu,peppy/osu,peppy/osu-new,NeoAdonis/osu,DrabWeb/osu,ZLima12/osu,johnneijzen/osu,peppy/osu,ppy/osu,NeoAdonis/osu,ppy/osu,NeoAdonis/osu,johnneijzen/osu,Frontear/osuKyzer,ppy/osu,smoogipoo/osu,2yangk23/o... | osu.Game/Beatmaps/Formats/BeatmapDecoder.cs | osu.Game/Beatmaps/Formats/BeatmapDecoder.cs | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.IO;
using osu.Game.Rulesets.Objects;
namespace osu.Game.Beatmaps.Formats
{
public abstract c... | // Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Collections.Generic;
using System.IO;
using osu.Game.Rulesets.Objects;
namespace osu.Game.Beatmaps.Formats
{
public abstract c... | mit | C# |
6348d1f0973ecb4bf77b40c5525534fbc6fc8153 | Change redirecturi to tryfunctionspage | fashaikh/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/SimpleWAWS,fashaikh/SimpleWAWS,projectkudu/TryAppService,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,projectkudu/TryAppService,fashaikh/SimpleWAWS,projectkudu/SimpleWAWS,davidebbo/SimpleWAWS,projectkudu/TryAppService,proj... | SimpleWAWS/Authentication/GoogleAuthProvider.cs | SimpleWAWS/Authentication/GoogleAuthProvider.cs | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | using System;
using System.Collections.Generic;
using System.Configuration;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text;
using System.Web;
namespace SimpleWAWS.Authentication
{
public class GoogleAuthProvider : BaseOpenIdConnectAuthProvider
{
public override stri... | apache-2.0 | C# |
af01ebd2528e694209aadf7d9991c305899c2a40 | Add missing docs. Ref: #34 | tusdotnet/tusdotnet,smatsson/tusdotnet,tusdotnet/tusdotnet,tusdotnet/tusdotnet,smatsson/tusdotnet,tusdotnet/tusdotnet | Source/tusdotnet/Models/Configuration/Events.cs | Source/tusdotnet/Models/Configuration/Events.cs | using System;
using System.Threading.Tasks;
namespace tusdotnet.Models.Configuration
{
/// <summary>
/// Events supported by tusdotnet
/// </summary>
public class Events
{
/// <summary>
/// Callback ran when a file is completely uploaded.
/// This callback is called only o... | using System;
using System.Threading.Tasks;
namespace tusdotnet.Models.Configuration
{
/// <summary>
/// Events supported by tusdotnet
/// </summary>
public class Events
{
/// <summary>
/// Callback ran when a file is completely uploaded.
/// This callback is called only o... | mit | C# |
f33c4cf64eb4d3bece93e3dc2e801d26e7520367 | Update MicrosoftAdUnitBundle.cs | tiksn/TIKSN-Framework | TIKSN.Core/Advertising/MicrosoftAdUnitBundle.cs | TIKSN.Core/Advertising/MicrosoftAdUnitBundle.cs | namespace TIKSN.Advertising
{
public abstract class MicrosoftAdUnitBundle : AdUnitBundle
{
protected MicrosoftAdUnitBundle(AdUnit designTime, string applicationId, string adUnitId)
: base(designTime, new AdUnit(AdProviders.Microsoft, applicationId, adUnitId))
{
}
}
}
| namespace TIKSN.Advertising
{
public abstract class MicrosoftAdUnitBundle : AdUnitBundle
{
protected MicrosoftAdUnitBundle(AdUnit designTime, string applicationId, string adUnitId)
: base(designTime, new AdUnit(AdProviders.Microsoft, applicationId, adUnitId))
{
}
}
} | mit | C# |
b25b8cef7bd06b1e86000d853b009a324a28af36 | add content to connect method | SexyFishHorse/IrcClient4Net | IrcClient4Net/TwitchIrcClient.cs | IrcClient4Net/TwitchIrcClient.cs | namespace SexyFishHorse.Irc.Client
{
using System.IO;
using System.Net.Sockets;
using SexyFishHorse.Irc.Client.Configuration;
public class TwitchIrcClient : ITwitchIrcClient
{
private readonly IConfiguration configuration;
private TcpClient client;
private StreamReader in... | namespace SexyFishHorse.Irc.Client
{
using System;
using SexyFishHorse.Irc.Client.Configuration;
public class TwitchIrcClient : ITwitchIrcClient
{
private readonly IConfiguration configuration;
public TwitchIrcClient(IConfiguration configuration)
{
this.configurati... | mit | C# |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.