commit
stringlengths
40
40
old_file
stringlengths
4
264
new_file
stringlengths
4
264
old_contents
stringlengths
0
4.24k
new_contents
stringlengths
1
5.44k
subject
stringlengths
14
778
message
stringlengths
15
9.92k
lang
stringclasses
277 values
license
stringclasses
13 values
repos
stringlengths
5
127k
cef2837c49d163a49641d8cf7df722b9433aa29c
src/Polly.Shared/Retry/RetryPolicyStateWithSleepDurationProvider.cs
src/Polly.Shared/Retry/RetryPolicyStateWithSleepDurationProvider.cs
using System; using Polly.Utilities; namespace Polly.Retry { internal partial class RetryPolicyStateWithSleepDurationProvider : IRetryPolicyState { private int _errorCount; private readonly Func<int, TimeSpan> _sleepDurationProvider; private readonly Action<Exception, TimeSpan, Context...
using System; using Polly.Utilities; namespace Polly.Retry { internal partial class RetryPolicyStateWithSleepDurationProvider : IRetryPolicyState { private int _errorCount; private readonly Func<int, TimeSpan> _sleepDurationProvider; private readonly Action<Exception, TimeSpan, Context...
Check for int.MaxValue when incrementing retry counter
Check for int.MaxValue when incrementing retry counter
C#
bsd-3-clause
michael-wolfenden/Polly
d54396302896821dc2de4518bd13b98a386cefd5
src/Glimpse.Agent.Channel.Server.Http/Broker/HttpChannelSender.cs
src/Glimpse.Agent.Channel.Server.Http/Broker/HttpChannelSender.cs
using System; using System.Net.Http; using System.Threading.Tasks; namespace Glimpse.Agent { public class HttpChannelSender : IChannelSender, IDisposable { private readonly HttpClient _httpClient; private readonly HttpClientHandler _httpHandler; public HttpChannelSender() { ...
using System; using System.Net.Http; using System.Threading.Tasks; namespace Glimpse.Agent { public class HttpChannelSender : IChannelSender, IDisposable { private readonly HttpClient _httpClient; private readonly HttpClientHandler _httpHandler; public HttpChannelSender() { ...
Remove the reading of the response... extra overhead not needed
Remove the reading of the response... extra overhead not needed
C#
mit
mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,zanetdev/Glimpse.Prototype,Glimpse/Glimpse.Prototype,Glimpse/Glimpse.Prototyp...
2c638035ad6c9a2ffcf40a2a34a87c1fb267feaa
src/Website/Views/Tools/Index.cshtml
src/Website/Views/Tools/Index.cshtml
@inject BowerVersions Bower @inject SiteOptions Options @{ ViewBag.Title = ".NET Development Tools"; ViewBag.MetaDescription = ".NET Development Tools for generating GUIDs, machine keys and hashing text."; var clipboardVersion = Bower["clipboard"]; var toolsUri = Options.ExternalLinks.Api.AbsoluteUri ...
@inject BowerVersions Bower @inject SiteOptions Options @{ ViewBag.Title = ".NET Development Tools"; ViewBag.MetaDescription = ".NET Development Tools for generating GUIDs, machine keys and hashing text."; var clipboardVersion = Bower["clipboard"]; var toolsUri = Options.ExternalLinks.Api.AbsoluteUri ...
Add warning to /tools if JavaScript disabled
Add warning to /tools if JavaScript disabled Add a warning alert panel to the /tools page if JavaScript is disabled in the browser.
C#
apache-2.0
martincostello/website,martincostello/website,martincostello/website,martincostello/website
30dd30276a1d43e466b43b83661eb1483f888761
DotNetKit.Wpf.AutoCompleteComboBox/Windows/Media/VisualTreeModule.cs
DotNetKit.Wpf.AutoCompleteComboBox/Windows/Media/VisualTreeModule.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; namespace DotNetKit.Windows.Media { public static class VisualTreeModule { pub...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Media; namespace DotNetKit.Windows.Media { static class VisualTreeModule { public sta...
Hide a defintion for internal use
Hide a defintion for internal use
C#
mit
DotNetKit/DotNetKit.Wpf.AutoCompleteComboBox
318086ff6d1323eb064916bf13a21b01a522bec9
src/AMEE-in-Revit.Addin/AMEEPanel.cs
src/AMEE-in-Revit.Addin/AMEEPanel.cs
using System; using System.IO; using System.Windows.Forms; using System.Windows.Media.Imaging; using Autodesk.Revit.UI; namespace AMEE_in_Revit.Addin { public class AMEEPanel : IExternalApplication { // ExternalCommands assembly path static string AddInPath = typeof(AMEEPanel).Assembly.Locatio...
using System; using System.IO; using System.Windows.Forms; using System.Windows.Media.Imaging; using Autodesk.Revit.UI; namespace AMEE_in_Revit.Addin { public class AMEEPanel : IExternalApplication { // ExternalCommands assembly path static string AddInPath = typeof(AMEEPanel).Assembly.Locatio...
Put AMEE Ribbon Panel under Analyze tab
Put AMEE Ribbon Panel under Analyze tab
C#
bsd-3-clause
AMEE/revit
bac654e3aa91077c4fd81e66ea21fff1e5c1d40b
Assets/Scripts/Controls/Hourglass.cs
Assets/Scripts/Controls/Hourglass.cs
using UnityEngine; using System.Collections; public class Hourglass : Trigger { public Animator cutScene; public override void Activate() { UtilControls.Freeze(); cutScene.Play("cutscene"); GameObject.FindGameObjectWithTag("ThingsController").GetComponent<ThingsController>().ClearCu...
using UnityEngine; using System.Collections; public class Hourglass : Trigger { public GameObject cutsceneObject; public Animator cutScene; void Start() { //cutScene = cutsceneObject.GetComponent<Animator>(); } public override void Activate() { UtilControls.Freeze(); cut...
Update on hourglass script. Still not in action
Update on hourglass script. Still not in action
C#
mit
brunopagno/abandon-gds
941cc16250e325dc0fc2c8b1dd2c6423df309af9
src/Fixie.Execution/Listeners/ReportListener.cs
src/Fixie.Execution/Listeners/ReportListener.cs
namespace Fixie.Execution.Listeners { using System; using System.IO; using System.Xml.Linq; public class ReportListener<TXmlFormat> : Handler<AssemblyStarted>, Handler<ClassStarted>, Handler<CaseCompleted>, Handler<ClassCompleted>, Handler<AssemblyCompleted> ...
namespace Fixie.Execution.Listeners { using System; using System.IO; using System.Xml.Linq; public class ReportListener<TXmlFormat> : Handler<AssemblyStarted>, Handler<ClassStarted>, Handler<CaseCompleted>, Handler<ClassCompleted>, Handler<AssemblyCompleted> ...
Save files as UTF-8 for consistency.
Save files as UTF-8 for consistency.
C#
mit
fixie/fixie
1b04145b486e799ca8ad64d88c189ac038511a11
Common/Data/TemperatureOverlayState.cs
Common/Data/TemperatureOverlayState.cs
using System.Collections.Generic; namespace Common.Data { public class TemperatureOverlayState { public bool CustomRangesEnabled { get; set; } = true; public List<float> Temperatures => new List<float> { Aqua, Turquoise, Blue, Green, Lime, Orange, RedOrange, Red };...
using System.Collections.Generic; namespace Common.Data { public class TemperatureOverlayState { public bool CustomRangesEnabled { get; set; } = true; public List<float> Temperatures => new List<float> { Aqua, Turquoise, Blue, Green, Lime, Orange, RedOrange, Red };...
Fix default color temperature values
Fix default color temperature values
C#
mit
fistak/MaterialColor
df7530b752e428ef080f332d8b317412937a4ee4
Digirati.IIIF/Model/Types/Service.cs
Digirati.IIIF/Model/Types/Service.cs
using Digirati.IIIF.Model.JsonLD; using Newtonsoft.Json; namespace Digirati.IIIF.Model.Types { public class Service : JSONLDBase, IService { [JsonProperty(Order = 10, PropertyName = "profile")] public dynamic Profile { get; set; } [JsonProperty(Order = 11, PropertyName = "label")] ...
using Digirati.IIIF.Model.JsonLD; using Newtonsoft.Json; namespace Digirati.IIIF.Model.Types { public class Service : JSONLDBase, IService { [JsonProperty(Order = 10, PropertyName = "profile")] public dynamic Profile { get; set; } [JsonProperty(Order = 11, PropertyName = "label")] ...
Add description to service resource
Add description to service resource
C#
mit
digirati-co-uk/iiif-model,Riksarkivet/iiif-model,dalbymodo/DalbyExperiment
a2194513157febc4c5a90dfa6f066df012f83b5f
SSMScripter/Config/RunnerConfigForm.cs
SSMScripter/Config/RunnerConfigForm.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using SSMScripter.Runner; namespace SSMScripter.Config { public partial class Runne...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using SSMScripter.Runner; namespace SSMScripter.Config { public partial class Runne...
Fix exception caused by getting directory name from empty string in runner config editor
Fix exception caused by getting directory name from empty string in runner config editor
C#
mit
mkoscielniak/SSMScripter
054cb7f3f0d5d9cc648cb156fb71f9d674b58e82
src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs
src/NerdBank.GitVersioning/CloudBuildServices/GitHubActions.cs
namespace NerdBank.GitVersioning.CloudBuildServices { using System; using System.Collections.Generic; using System.IO; using Nerdbank.GitVersioning; internal class GitHubActions : ICloudBuild { public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true"; ...
namespace NerdBank.GitVersioning.CloudBuildServices { using System; using System.Collections.Generic; using System.IO; using Nerdbank.GitVersioning; internal class GitHubActions : ICloudBuild { public bool IsApplicable => Environment.GetEnvironmentVariable("GITHUB_ACTIONS") == "true"; ...
Set env vars in GitHub Actions
Set env vars in GitHub Actions
C#
mit
AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning,AArnott/Nerdbank.GitVersioning
35f69b9fc75911e0b72afb4592fe661ffb6e422b
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/UnitOfWork.cs
src/Smooth.IoC.Dapper.Repository.UnitOfWork/Data/UnitOfWork.cs
using System; using System.Data; using Dapper.FastCrud; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data { public class UnitOfWork : DbTransaction, IUnitOfWork { public SqlDialect SqlDialect { get; } private readonly Guid _guid = Guid.NewGuid(); public UnitOfWork(IDbFac...
using System; using System.Data; using Dapper.FastCrud; namespace Smooth.IoC.Dapper.Repository.UnitOfWork.Data { public class UnitOfWork : DbTransaction, IUnitOfWork { public SqlDialect SqlDialect { get; } private readonly Guid _guid = Guid.NewGuid(); public UnitOfWork(IDbFac...
Change uow to default to IsolationLevel.RepeatableRead
Change uow to default to IsolationLevel.RepeatableRead
C#
mit
generik0/Smooth.IoC.Dapper.Repository.UnitOfWork,generik0/Smooth.IoC.Dapper.Repository.UnitOfWork
2872c89ab086e473b305280e61c4f018e5eaaddc
Assets/PoolVR/Scripts/ScoreCounter.cs
Assets/PoolVR/Scripts/ScoreCounter.cs
using System.Collections; using System.Collections.Generic; using UnityEngine; using Zenject; public class ScoreCounter : MonoBehaviour { [Inject] public StageStats Stats { get; private set; } void Start() { Stats.BallsTotal = Stats.BallsLeft = GetComponentsInChildren<Rigidbody>().Length; ...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.SceneManagement; using Zenject; public class ScoreCounter : MonoBehaviour { [Inject] public StageStats Stats { get; private set; } void Start() { Stats.BallsTotal = Stats.BallsLeft = GetComponentsInCh...
Revert to main menu on 0 balls left.
Revert to main menu on 0 balls left.
C#
mit
s-soltys/PoolVR
1d651dcf24ffe0b4cad1bf6257248c8fd992bee7
Assets/ReloadScene.cs
Assets/ReloadScene.cs
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class ReloadScene : MonoBehaviour { GlobalControl globalController; bool allowLevelLoad = true; void OnEnable() { allowLevelLoad = true; } // Use this for initialization public void ReloadActi...
using UnityEngine; using System.Collections; using UnityEngine.SceneManagement; public class ReloadScene : MonoBehaviour { GlobalControl globalController; bool allowLevelLoad = true; void OnEnable() { allowLevelLoad = true; } // Use this for initialization public void ReloadActi...
Add delay for ReloadActiveScene to prevent stuck button
Add delay for ReloadActiveScene to prevent stuck button
C#
mit
antila/castle-game-jam-2016
5c13997e8552a9a67043f1f4f6be9752e4bf6ec3
GetChanges/Program.cs
GetChanges/Program.cs
using Nito.AsyncEx; using Octokit; using System; using System.Collections.Generic; using System.Linq; namespace Alteridem.GetChanges { class Program { static int Main(string[] args) { var options = new Options(); if (!CommandLine.Parser.Default.ParseArguments(args, opti...
using Nito.AsyncEx; using Octokit; using System; using System.Collections.Generic; using System.Linq; namespace Alteridem.GetChanges { class Program { static int Main(string[] args) { var options = new Options(); if (!CommandLine.Parser.Default.ParseArguments(args, opti...
Use the options when connecting to GitHub
Use the options when connecting to GitHub
C#
mit
rprouse/GetChanges
f35d1c17e07e080a1804a510c2749c10cb82e631
src/Bugsnag/Report/Event.cs
src/Bugsnag/Report/Event.cs
using System.Collections.Generic; using System.Linq; namespace Bugsnag { public class Event : Dictionary<string, object> { public Event(IConfiguration configuration, System.Exception exception, Severity severity) { this["payloadVersion"] = 2; this["exceptions"] = new Exceptions(exception).ToArr...
using System.Collections.Generic; using System.Linq; namespace Bugsnag { public class Event : Dictionary<string, object> { public Event(IConfiguration configuration, System.Exception exception, Severity severity) { this["payloadVersion"] = 4; this["exceptions"] = new Exceptions(exception).ToArr...
Allow setting grouping hash and context
Allow setting grouping hash and context
C#
mit
bugsnag/bugsnag-dotnet,bugsnag/bugsnag-dotnet
fcdcf0e57dca53e231228c3f8c5511260f63722d
Utils/IEnumerableExtensions.cs
Utils/IEnumerableExtensions.cs
/* * John.Hall <john.hall@camtechconsultants.com> * Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved. */ using System; using System.Collections.Generic; namespace CTC.CvsntGitImporter.Utils { /// <summary> /// Extension methods for IEnumerable. /// </summary> static class IE...
/* * John.Hall <john.hall@camtechconsultants.com> * Copyright (c) Cambridge Technology Consultants Ltd. All rights reserved. */ using System; using System.Collections.Generic; namespace CTC.CvsntGitImporter.Utils { /// <summary> /// Extension methods for IEnumerable. /// </summary> static class IE...
Add ToHashSet extension methods on IEnumerable.
Add ToHashSet extension methods on IEnumerable.
C#
mit
CamTechConsultants/CvsntGitImporter
9ed96e8b161cbb4dbdf21062da53d2f922e7dc33
projects/CommSample/source/CommSample.App/ValidatingReceiver.cs
projects/CommSample/source/CommSample.App/ValidatingReceiver.cs
//----------------------------------------------------------------------- // <copyright file="ValidatingReceiver.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace CommSample { ...
//----------------------------------------------------------------------- // <copyright file="ValidatingReceiver.cs" company="Brian Rogers"> // Copyright (c) Brian Rogers. All rights reserved. // </copyright> //----------------------------------------------------------------------- namespace CommSample { ...
Add missing final validation pass (bytes read == 0)
Add missing final validation pass (bytes read == 0)
C#
unlicense
brian-dot-net/writeasync,brian-dot-net/writeasync,brian-dot-net/writeasync
3cf9bdf805be021dea8787732013d1106e57d663
Src/AutoFixture/IFixtureExtensions.cs
Src/AutoFixture/IFixtureExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ploeh.AutoFixture { public static class IFixtureExtensions { public static IEnumerable<T> Repeat<T>(this IFixture fixture, Func<T> function) { throw new NotImplementedException(); ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Ploeh.AutoFixture { public static class IFixtureExtensions { public static IEnumerable<T> Repeat<T>(this IFixture fixture, Func<T> function) { if (fixture == null) { ...
Implement code making the previously failing unit test pass.
Implement code making the previously failing unit test pass.
C#
mit
hackle/AutoFixture,sergeyshushlyapin/AutoFixture,dcastro/AutoFixture,AutoFixture/AutoFixture,sbrockway/AutoFixture,sbrockway/AutoFixture,sergeyshushlyapin/AutoFixture,Pvlerick/AutoFixture,dcastro/AutoFixture,hackle/AutoFixture,adamchester/AutoFixture,sean-gilliam/AutoFixture,adamchester/AutoFixture,zvirja/AutoFixture
1f412d0337e2212440bd9cfa15db9425219c7dd0
src/NodaTime.Web/Controllers/TzValidateController.cs
src/NodaTime.Web/Controllers/TzValidateController.cs
// Copyright 2016 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using Microsoft.AspNetCore.Mvc; using NodaTime.TimeZones; using NodaTime.TzValidate.NodaDump; using System.IO; using System.Net; namespace NodaTime.Web.C...
// Copyright 2016 The Noda Time Authors. All rights reserved. // Use of this source code is governed by the Apache License 2.0, // as found in the LICENSE.txt file. using Microsoft.AspNetCore.Mvc; using NodaTime.TimeZones; using NodaTime.TzValidate.NodaDump; using NodaTime.Web.Models; using System.IO; using System.Lin...
Allow a zone and version to be specified in the tzvalidate controller
Allow a zone and version to be specified in the tzvalidate controller
C#
apache-2.0
malcolmr/nodatime,BenJenkinson/nodatime,malcolmr/nodatime,malcolmr/nodatime,BenJenkinson/nodatime,nodatime/nodatime,malcolmr/nodatime,jskeet/nodatime,jskeet/nodatime,nodatime/nodatime
1d6712a40cfd3db0e04078e96089c47fd8547360
src/Chassis/Startup/StartUpFeature.cs
src/Chassis/Startup/StartUpFeature.cs
using Autofac; using Chassis.Features; using Chassis.Types; namespace Chassis.Startup { public class StartupFeature : Feature { public override void RegisterComponents(ContainerBuilder builder, TypePool pool) { builder.RegisterType<StartupBootstrapper>() ...
using Autofac; using Chassis.Features; using Chassis.Types; namespace Chassis.Startup { public class StartupFeature : Feature { public override void RegisterComponents(ContainerBuilder builder, TypePool pool) { builder.RegisterType<StartupBootstrapper>() ...
Change Scope to support multi-tenant scenarios
Change Scope to support multi-tenant scenarios
C#
apache-2.0
mag-dev/chassis
9344d41e3a91e0597e45429a3af4db5815ce4693
src/CalSync/Infrastructure/Config.cs
src/CalSync/Infrastructure/Config.cs
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; namespace CalSync.Infrastructure { class Config { public int SyncRangeDays { get; private set; } public string TargetEmailAddress { get; private set; } public b...
using System; using System.Collections.Generic; using System.Configuration; using System.Linq; using System.Text; namespace CalSync.Infrastructure { class Config { public int SyncRangeDays { get; private set; } public string TargetEmailAddress { get; private set; } public b...
Change default for DetailedAppointments to 'false'
Change default for DetailedAppointments to 'false'
C#
mit
waf/CalSync
93c31f5d88a9304f7a1068a038a187623d8e0d7f
src/FujiyBlog.Web/Infrastructure/AuthorizePermissionAttribute.cs
src/FujiyBlog.Web/Infrastructure/AuthorizePermissionAttribute.cs
using System; using System.Linq; using System.Web.Mvc; using FujiyBlog.Core.DomainObjects; namespace FujiyBlog.Web.Infrastructure { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, AllowMultiple = true)] public class AuthorizePermissionAttribute : AuthorizeAttribute ...
using System; using System.Linq; using System.Security.Principal; using System.Web; using System.Web.Mvc; using FujiyBlog.Core.DomainObjects; using FujiyBlog.Core.Extensions; namespace FujiyBlog.Web.Infrastructure { [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, Inherited = true, Allo...
Fix to work with Anonymous Roles
Fix to work with Anonymous Roles
C#
mit
fujiy/FujiyBlog,fujiy/FujiyBlog,fujiy/FujiyBlog
737f0c2eb8e19e4791e008a5e43c3bb772714f21
Nowin/Properties/AssemblyInfo.cs
Nowin/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("NowinWebServer")] [assembly: AssemblyDesc...
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("Nowin")] [assembly: AssemblyDescription("...
Rename finished, Bumped version to 0.9
Rename finished, Bumped version to 0.9
C#
mit
Bobris/Nowin,et1975/Nowin,modulexcite/Nowin,modulexcite/Nowin,pysco68/Nowin,lstefano71/Nowin,lstefano71/Nowin,pysco68/Nowin,et1975/Nowin,modulexcite/Nowin,Bobris/Nowin,lstefano71/Nowin,et1975/Nowin,pysco68/Nowin,Bobris/Nowin
6704f4f90775d5b58a0fab1dcd731cb9777cb60d
RichardSzalay.MockHttp/Matchers/QueryStringMatcher.cs
RichardSzalay.MockHttp/Matchers/QueryStringMatcher.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RichardSzalay.MockHttp.Matchers { public class QueryStringMatcher : IMockedRequestMatcher { readonly IEnumerable<KeyValuePair<string, string>> values; public QueryStringMatcher(string queryString) ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace RichardSzalay.MockHttp.Matchers { public class QueryStringMatcher : IMockedRequestMatcher { readonly IEnumerable<KeyValuePair<string, string>> values; public QueryStringMatcher(string queryString) ...
Update key-only querystring comparisons to use "" rather than null to make it more compatible with form data
Update key-only querystring comparisons to use "" rather than null to make it more compatible with form data
C#
mit
oschwald/mockhttp,richardszalay/mockhttp
db60f393b7ec36c2e295f0ccf340895ba6038605
Omise/Models/OffsiteTypes.cs
Omise/Models/OffsiteTypes.cs
using System.Runtime.Serialization; namespace Omise.Models { public enum OffsiteTypes { [EnumMember(Value = null)] None, [EnumMember(Value = "internet_banking_scb")] InternetBankingSCB, [EnumMember(Value = "internet_banking_bbl")] InternetBankingBBL, [En...
using System.Runtime.Serialization; namespace Omise.Models { public enum OffsiteTypes { [EnumMember(Value = null)] None, [EnumMember(Value = "internet_banking_scb")] InternetBankingSCB, [EnumMember(Value = "internet_banking_bbl")] InternetBankingBBL, [En...
Add offsite types for installment citi
Add offsite types for installment citi
C#
mit
omise/omise-dotnet
3e80b9c5ae9153b17e1ec46c453c630905242b7b
GUI/Types/Viewers/ByteViewer.cs
GUI/Types/Viewers/ByteViewer.cs
using System.IO; using System.Linq; using System.Windows.Forms; using GUI.Utils; namespace GUI.Types.Viewers { public class ByteViewer : IViewer { public static bool IsAccepted() => true; public TabPage Create(VrfGuiContext vrfGuiContext, byte[] input) { var tab = new TabPa...
using System.IO; using System.Linq; using System.Windows.Forms; using GUI.Utils; namespace GUI.Types.Viewers { public class ByteViewer : IViewer { public static bool IsAccepted() => true; public TabPage Create(VrfGuiContext vrfGuiContext, byte[] input) { var tab = new TabPa...
Normalize line endings in text viewer
Normalize line endings in text viewer
C#
mit
SteamDatabase/ValveResourceFormat
f3992c1b29cb204b0ff8bf8b98163edec6e58f29
ValveResourceFormat/Resource/ResourceTypes/ModelAnimation/Frame.cs
ValveResourceFormat/Resource/ResourceTypes/ModelAnimation/Frame.cs
using System; using System.Collections.Generic; using System.Numerics; namespace ValveResourceFormat.ResourceTypes.ModelAnimation { public class Frame { public Dictionary<string, FrameBone> Bones { get; } public Frame() { Bones = new Dictionary<string, FrameBone>(); ...
using System; using System.Collections.Generic; using System.Numerics; namespace ValveResourceFormat.ResourceTypes.ModelAnimation { public class Frame { public Dictionary<string, FrameBone> Bones { get; } public Frame() { Bones = new Dictionary<string, FrameBone>(); ...
Add separate overloads for Vector3/Quaternion to remove casts
Add separate overloads for Vector3/Quaternion to remove casts
C#
mit
SteamDatabase/ValveResourceFormat
0086bcd22c9e4395bbf93ae02dda71fb3f723175
src/Meraki/MerakiDashboardClientSettingsSetup.cs
src/Meraki/MerakiDashboardClientSettingsSetup.cs
using System; using Microsoft.Extensions.Options; namespace Meraki { /// <summary> /// Initialize a <see cref="MerakiDashboardClientSettings"/> object. /// </summary> internal class MerakiDashboardClientSettingsSetup : ConfigureOptions<MerakiDashboardClientSettings> { /// <summary> ...
using System; using Microsoft.Extensions.Options; namespace Meraki { /// <summary> /// Initialize a <see cref="MerakiDashboardClientSettings"/> object. /// </summary> internal class MerakiDashboardClientSettingsSetup : ConfigureOptions<MerakiDashboardClientSettings> { public static readonl...
Move default Dashboard API base address to constant
Move default Dashboard API base address to constant
C#
mit
anthonylangsworth/Meraki
375e5901566db2580c92239240ee7302e21a870a
src/Test.Daterpillar/Helpers/ConnectionString.cs
src/Test.Daterpillar/Helpers/ConnectionString.cs
using System.Linq; using System.Xml.Linq; namespace Tests.Daterpillar.Helpers { public static class ConnectionString { private static readonly string _configFile = "database.config.xml"; public static string GetMySQLServerConnectionString() { return GetConnectionString("my...
using System.Configuration; namespace Tests.Daterpillar.Helpers { public static class ConnectionString { public static string GetMySQLServerConnectionString() { return GetConnectionString("mysql"); } public static string GetSQLServerConnectionString() { ...
Change user.config format to app.confg schema
Change user.config format to app.confg schema
C#
mit
Ackara/Daterpillar
11fa13f0bb772d49b3fc37c77d2c5efdc8ed7d6b
Core/Handling/RequestHandlerBrowser.cs
Core/Handling/RequestHandlerBrowser.cs
using CefSharp; namespace TweetDuck.Core.Handling{ class RequestHandlerBrowser : RequestHandler{ public override void OnRenderProcessTerminated(IWebBrowser browserControl, IBrowser browser, CefTerminationStatus status){ browser.Reload(); } public override CefReturnValue OnBefo...
using CefSharp; namespace TweetDuck.Core.Handling{ class RequestHandlerBrowser : RequestHandler{ public override void OnRenderProcessTerminated(IWebBrowser browserControl, IBrowser browser, CefTerminationStatus status){ browser.Reload(); } public override CefReturnValue OnBefo...
Tweak google analytics detection to work on twitter.com
Tweak google analytics detection to work on twitter.com
C#
mit
chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck,chylex/TweetDuck
3fa1b53b2ae3d670bc7f1f2a6f8b55cb57659b93
osu.Game/Skinning/DefaultLegacySkin.cs
osu.Game/Skinning/DefaultLegacySkin.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Audio; using osu.Framework.IO.Stores; using osuTK.Graphics; namespace osu.Game.Skinning { public class DefaultLegacySkin : LegacySkin { ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Audio; using osu.Framework.IO.Stores; using osuTK.Graphics; namespace osu.Game.Skinning { public class DefaultLegacySkin : LegacySkin { ...
Add back combo colours for osu!classic
Add back combo colours for osu!classic
C#
mit
ZLima12/osu,johnneijzen/osu,UselessToucan/osu,smoogipoo/osu,2yangk23/osu,smoogipoo/osu,johnneijzen/osu,NeoAdonis/osu,ppy/osu,UselessToucan/osu,peppy/osu,smoogipooo/osu,ppy/osu,peppy/osu,EVAST9919/osu,UselessToucan/osu,2yangk23/osu,ppy/osu,EVAST9919/osu,peppy/osu-new,smoogipoo/osu,ZLima12/osu,peppy/osu,NeoAdonis/osu,Neo...
ec8f5650b85be8e13f03ed6b97d96949fc0b7fcb
MomWorld/Controllers/HomeController.cs
MomWorld/Controllers/HomeController.cs
using MomWorld.DataContexts; using MomWorld.Entities; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MomWorld.Controllers { public class HomeController : Controller { private ArticleDb articleDb = new ArticleDb(); private I...
using MomWorld.DataContexts; using MomWorld.Entities; using MomWorld.Models; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace MomWorld.Controllers { public class HomeController : Controller { private ArticleDb articleDb = new ...
Update tạm fix lỗi Home/Index
Update tạm fix lỗi Home/Index
C#
mit
shortgiraffe4/MomWorld,shortgiraffe4/MomWorld,shortgiraffe4/MomWorld
3b206abffc71d42f4641ae6773bf4ef89d186e94
Merlin/Extensions/WeatherExtensions.cs
Merlin/Extensions/WeatherExtensions.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Merlin.Extensions { public static class WeatherExtensions { public static void EnableFog(this Weather weather) { weather.fogSummer = new MinMax(4f, 54f); weather.fogWinter = ...
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Merlin.Extensions { public static class WeatherExtensions { public static void EnableFog(this Weather weather) { weather.fogSummer = new MinMax(4f, 54f); weather.fogWinter = ...
Update fog values (new maps are bigger)
Update fog values (new maps are bigger)
C#
mit
terahxluna/Merlin
89ebe87fefc3ee7bfab46269ff5bdfa07362b9d2
NSemble.Web/Modules/ContentPages/ContentPagesModule.cs
NSemble.Web/Modules/ContentPages/ContentPagesModule.cs
using System; using NSemble.Core.Nancy; using NSemble.Modules.ContentPages.Models; using Raven.Client; namespace NSemble.Modules.ContentPages { public class ContentPagesModule : NSembleModule { public static readonly string HomepageSlug = "home"; public ContentPagesModule(IDocumentSession ses...
using System; using NSemble.Core.Models; using NSemble.Core.Nancy; using NSemble.Modules.ContentPages.Models; using Raven.Client; namespace NSemble.Modules.ContentPages { public class ContentPagesModule : NSembleModule { public static readonly string HomepageSlug = "home"; public ContentPages...
Fix page titles for ContentPages module
Fix page titles for ContentPages module
C#
apache-2.0
synhershko/NSemble,synhershko/NSemble
f7a8ad3b59b7271b20c12e2f2423e2deef52e511
Src/TensorSharp/Operations/AddDoubleDoubleOperation.cs
Src/TensorSharp/Operations/AddDoubleDoubleOperation.cs
namespace TensorSharp.Operations { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AddDoubleDoubleOperation : IBinaryOperation<double, double, double> { public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double> ten...
namespace TensorSharp.Operations { using System; using System.Collections.Generic; using System.Linq; using System.Text; public class AddDoubleDoubleOperation : IBinaryOperation<double, double, double> { public Tensor<double> Evaluate(Tensor<double> tensor1, Tensor<double> ten...
Refactor Add Doubles Operation to use GetValues and CloneWithValues
Refactor Add Doubles Operation to use GetValues and CloneWithValues
C#
mit
ajlopez/TensorSharp
ce7e1c699d9d56492690f9ad8bc69ccd4706fe42
Portal.CMS.Web/Areas/Admin/ViewModels/SettingManager/SetupViewModel.cs
Portal.CMS.Web/Areas/Admin/ViewModels/SettingManager/SetupViewModel.cs
using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Portal.CMS.Web.Areas.Admin.ViewModels.SettingManager { public class SetupViewModel { [Required] [DisplayName("Website Name")] public string WebsiteName { get; set; } [Required] [Display...
using System.ComponentModel; using System.ComponentModel.DataAnnotations; namespace Portal.CMS.Web.Areas.Admin.ViewModels.SettingManager { public class SetupViewModel { [Required] [DisplayName("Website Name")] public string WebsiteName { get; set; } [Required] [Display...
Remove Obselete ViewModel Property for SendGrid Password
Remove Obselete ViewModel Property for SendGrid Password
C#
mit
tommcclean/PortalCMS,tommcclean/PortalCMS,tommcclean/PortalCMS
6fabd36c89e89e2ed5ebecdefb70b9006ae86013
source/Handlebars/Compiler/Lexer/Parsers/WordParser.cs
source/Handlebars/Compiler/Lexer/Parsers/WordParser.cs
using System; using System.IO; using System.Linq; using System.Text; namespace HandlebarsDotNet.Compiler.Lexer { internal class WordParser : Parser { private const string validWordStartCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$.@"; public override Token Parse(TextRea...
using System; using System.IO; using System.Linq; using System.Text; namespace HandlebarsDotNet.Compiler.Lexer { internal class WordParser : Parser { private const string validWordStartCharacters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ_$.@[]"; public override Token Parse(TextR...
Fix whitespace bug with dictionary support
Fix whitespace bug with dictionary support
C#
mit
kendallb/Handlebars.Net,tsliang/Handlebars.Net,esskar/handlebars-core,tsliang/Handlebars.Net,rexm/Handlebars.Net,rexm/Handlebars.Net
6f78091580f5dc8b6ff89e803d87428985e8866f
Infrastructure/Persistence/Collections/EntityCollectionDefinition.cs
Infrastructure/Persistence/Collections/EntityCollectionDefinition.cs
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.IdGenerators; using MongoDB.Bson.Serialization.Serializers; using MongoDB.Driver; using RightpointLabs.ConferenceRoom.Domain.Models; using RightpointLabs.ConferenceRoom.Infrastructure.Persistence.Models; namespace Rig...
using System; using MongoDB.Bson; using MongoDB.Bson.Serialization; using MongoDB.Bson.Serialization.IdGenerators; using MongoDB.Bson.Serialization.Serializers; using MongoDB.Driver; using RightpointLabs.ConferenceRoom.Domain.Models; using RightpointLabs.ConferenceRoom.Infrastructure.Persistence.Models; namespace Rig...
Enable Mongo entity auto-create and auto-ID
Enable Mongo entity auto-create and auto-ID
C#
mit
jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room,RightpointLabs/conference-room,RightpointLabs/conference-room,jorupp/conference-room,jorupp/conference-room,RightpointLabs/conference-room
d6a22d7a1a60c341ece9d7880b8b9419253c16b1
Assets/Scripts/Enemy/AttackHandler.cs
Assets/Scripts/Enemy/AttackHandler.cs
using UnityEngine; public class AttackHandler : MonoBehaviour { [HideInInspector] public float damage; [HideInInspector] public float duration; [HideInInspector] public BoxCollider hitBox; private float timer = 0f; void Start() { hitBox = gameObject.GetComponent<BoxCollider>(); } void Update() { timer...
using UnityEngine; public class AttackHandler : MonoBehaviour { [HideInInspector] public float damage; [HideInInspector] public float duration; [HideInInspector] public BoxCollider hitBox; private float timer = 0f; void Start() { hitBox = gameObject.GetComponent<BoxCollider>(); } void Update() { timer...
Add damage capabilities to the enemy
Add damage capabilities to the enemy
C#
apache-2.0
allmonty/BrokenShield,allmonty/BrokenShield
6def7fe471ab59a2dd02d64fb1b2c7642cf72757
tungsten.sampletest/CheckBoxTest.cs
tungsten.sampletest/CheckBoxTest.cs
using NUnit.Framework; using tungsten.core.Elements; using tungsten.core.Search; using tungsten.nunit; namespace tungsten.sampletest { [TestFixture] public class CheckBoxTest : TestBase { [Test] public void Hupp() { var window = Desktop.FindFirstChild<WpfWi...
using NUnit.Framework; using tungsten.core.Elements; using tungsten.core.Search; using tungsten.nunit; namespace tungsten.sampletest { [TestFixture] public class CheckBoxTest : TestBase { [Test] public void CheckBoxIsChecked() { var window = Desktop.FindFir...
Split CheckBox test into two, give better name.
Split CheckBox test into two, give better name.
C#
apache-2.0
toroso/ruibarbo
11398a0f910f8872aa984003141af912b615d48e
src/Exceptionless.Core/Plugins/EventParser/Default/JsonEventParserPlugin.cs
src/Exceptionless.Core/Plugins/EventParser/Default/JsonEventParserPlugin.cs
using System; using System.Collections.Generic; using Exceptionless.Core.Pipeline; using Exceptionless.Core.Extensions; using Exceptionless.Core.Models; using Microsoft.Extensions.Options; using Newtonsoft.Json; using System.IO; using Newtonsoft.Json.Linq; using Microsoft.Extensions.Logging; namespace Exceptionless.C...
using System; using System.Collections.Generic; using Exceptionless.Core.Pipeline; using Exceptionless.Core.Extensions; using Exceptionless.Core.Models; using Microsoft.Extensions.Options; using Newtonsoft.Json; namespace Exceptionless.Core.Plugins.EventParser { [Priority(0)] public class JsonEventParserPlugi...
Revert Strip large data values out of events
Revert Strip large data values out of events
C#
apache-2.0
exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless,exceptionless/Exceptionless
e4ad2092ac01cff2831339333ca8012cfed1e713
elbsms_core/Extensions.cs
elbsms_core/Extensions.cs
namespace elbsms_core { internal static class Extensions { internal static bool Bit(this byte v, int bit) { int mask = 1 << bit; return (v & mask) == mask; } internal static bool Bit(this int v, int bit) { int mask = 1 << bit; ...
namespace elbsms_core { internal static class Extensions { internal static bool Bit(this byte v, int bit) { int mask = 1 << bit; return (v & mask) != 0; } internal static bool Bit(this int v, int bit) { int mask = 1 << bit; ...
Update the mask check in the Bit() extension method
Update the mask check in the Bit() extension method Apparently comparing against zero helps the JIT produce slightly more efficient code, based on research in this article https://www.tabsoverspaces.com/233785-is-it-better-to-not-equals-0-or-equals-mask-when-working-with-enums-csharp-ryujit
C#
mit
eightlittlebits/elbsms
2ef5b549ee094c18f2c8c0a5c5001e98b20025cc
sample/ConsoleApp/Program.cs
sample/ConsoleApp/Program.cs
using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using SoundCloud.Api; using SoundCloud.Api.Entities; using SoundCloud.Api.Entities.Enums; using SoundCloud.Api.QueryBuilders; namespace ConsoleApp { internal static class Program { private st...
using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using SoundCloud.Api; using SoundCloud.Api.Entities; using SoundCloud.Api.Entities.Enums; using SoundCloud.Api.QueryBuilders; namespace ConsoleApp { internal static class Program { private static async Task Mai...
Move to .NET Standard - cleanup
Move to .NET Standard - cleanup
C#
mit
prayzzz/SoundCloud.Api
0f234af366f2a8da3703bb519d3e68224b9f0252
EarTrumpet/Services/ErrorReportingService.cs
EarTrumpet/Services/ErrorReportingService.cs
using Bugsnag; using Bugsnag.Clients; using EarTrumpet.Extensions; using System; using System.Diagnostics; using System.IO; using Windows.ApplicationModel; namespace EarTrumpet.Services { class ErrorReportingService { internal static void Initialize() { try { #if DEBUG ...
using Bugsnag; using Bugsnag.Clients; using EarTrumpet.Extensions; using EarTrumpet.Misc; using System; using System.Diagnostics; using System.IO; using Windows.ApplicationModel; namespace EarTrumpet.Services { class ErrorReportingService { internal static void Initialize() { try ...
Add some settings to bugsnag
Add some settings to bugsnag
C#
mit
File-New-Project/EarTrumpet
b3f8936f0b8c6ac6b39d4f7bd7b963dfc06a0e6e
Kudu.Contracts/Functions/FunctionTestData.cs
Kudu.Contracts/Functions/FunctionTestData.cs
namespace Kudu.Contracts.Functions { public class FunctionTestData { // test shows test_data of size 8310000 bytes still delivers as an ARM package // whereas test_data of size 8388608 bytes fails public const long PackageMaxSizeInBytes = 8300000; public long BytesLeftInPackage...
namespace Kudu.Contracts.Functions { public class FunctionTestData { // ARM has a limit of 8 MB -> 8388608 bytes // divid by 2 to limit the over all size of test data to half of arm requirement to be safe. public const long PackageMaxSizeInBytes = 8388608 / 2; public long Bytes...
Reduce size of test_data for ARM requests to 8MB/2
Reduce size of test_data for ARM requests to 8MB/2
C#
apache-2.0
projectkudu/kudu,projectkudu/kudu,projectkudu/kudu,shibayan/kudu,EricSten-MSFT/kudu,shibayan/kudu,shibayan/kudu,EricSten-MSFT/kudu,shibayan/kudu,shibayan/kudu,EricSten-MSFT/kudu,EricSten-MSFT/kudu,projectkudu/kudu,EricSten-MSFT/kudu,projectkudu/kudu
c43f2cdb2886e2bb0603335500cccc0dc3867e30
Models/Settings/DownloadingSetting.cs
Models/Settings/DownloadingSetting.cs
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using MetroTrilithon.Serialization; namespace TirkxDownloader.Models.Settings { public class DownloadingSetting { public static SerializablePropert...
using System; using System.Collections.Generic; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using MetroTrilithon.Serialization; namespace TirkxDownloader.Models.Settings { public class DownloadingSetting { public static SerializablePropert...
Change type of MaximumBytesPerSec to long
Change type of MaximumBytesPerSec to long
C#
mit
witoong623/TirkxDownloader,witoong623/TirkxDownloader
a8702c132d866524c7e631380de3fc27a4ee66ad
NBi.Xml/Decoration/Command/EtlRunXml.cs
NBi.Xml/Decoration/Command/EtlRunXml.cs
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; using NBi.Core.Etl; using NBi.Xml.Items; namespace NBi.Xml.Decoration.Command { public class EtlRunXml : DecorationCommandXml, IEtlRunCommand { [XmlAttribute("server")] public string ...
using System; using System.Collections.Generic; using System.Linq; using System.Xml.Serialization; using NBi.Core.Etl; using NBi.Xml.Items; namespace NBi.Xml.Decoration.Command { public class EtlRunXml : DecorationCommandXml, IEtlRunCommand { [XmlAttribute("server")] public string ...
Add timeout to decoration etl-run
Add timeout to decoration etl-run
C#
apache-2.0
Seddryck/NBi,Seddryck/NBi
bdb52a2b25af651a831249d087907f8ffb5640f1
PixelPet/Commands/GenerateTilemapCmd.cs
PixelPet/Commands/GenerateTilemapCmd.cs
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace PixelPet.Commands { internal class GenerateTilemapCmd : CliCommand { public GenerateTilemapCmd() : base("Generate-Tilemap", ne...
using System; using System.Collections.Generic; using System.Drawing; using System.Drawing.Imaging; using System.Linq; using System.Runtime.InteropServices; using System.Text; namespace PixelPet.Commands { internal class GenerateTilemapCmd : CliCommand { public GenerateTilemapCmd() : base("Generate-Tilemap", ...
Add cropping options into Generate-Tilemap directly.
Add cropping options into Generate-Tilemap directly.
C#
mit
Prof9/PixelPet
c2f0cd1792f2946c2b13d10ad445453b11975595
TileSharp/Symbolizers/TextSymbolizer.cs
TileSharp/Symbolizers/TextSymbolizer.cs
using System.Drawing; namespace TileSharp.Symbolizers { /// <summary> /// https://github.com/mapnik/mapnik/wiki/TextSymbolizer /// </summary> public class TextSymbolizer : Symbolizer { public readonly string LabelAttribute; public readonly PlacementType Placement; public readonly ContentAlignment Alignment...
using System.Drawing; namespace TileSharp.Symbolizers { /// <summary> /// https://github.com/mapnik/mapnik/wiki/TextSymbolizer /// </summary> public class TextSymbolizer : Symbolizer { public readonly string LabelAttribute; public readonly PlacementType Placement; public readonly ContentAlignment Alignment...
Add ability to set text halo color.
Add ability to set text halo color.
C#
bsd-2-clause
Smartrak/TileSharp,Smartrak/TileSharp
f3ff7ba55a85f76d7ae8c041bbd2d56958433dd3
Assets/Scripts/HarryPotterUnity/Cards/Spells/Transfigurations/MiceToSnuffboxes.cs
Assets/Scripts/HarryPotterUnity/Cards/Spells/Transfigurations/MiceToSnuffboxes.cs
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using JetBrains.Annotations; namespace HarryPotterUnity.Cards.Spells.Transfigurations { [UsedImplicitly] public class MiceToSnuffboxes : GenericSpell { public override List<GenericCard> GetValidTargets() { var ...
using System.Collections.Generic; using HarryPotterUnity.Cards.Generic; using JetBrains.Annotations; namespace HarryPotterUnity.Cards.Spells.Transfigurations { [UsedImplicitly] public class MiceToSnuffboxes : GenericSpell { public override List<GenericCard> GetValidTargets() { var ...
Fix an animation bug with Mice to Snuffboxes
Fix an animation bug with Mice to Snuffboxes
C#
mit
StefanoFiumara/Harry-Potter-Unity
d4c751bd0b09e8d5771eaabf7a8f0c788b9b57c4
ProjectMarkdown/ViewModels/MainWindowViewModel.cs
ProjectMarkdown/ViewModels/MainWindowViewModel.cs
using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows; using ProjectMarkdown.Annotations; namespace ProjectMarkdown.ViewModels { public class MainWindowViewModel :...
using System; using System.Collections.Generic; using System.ComponentModel; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Documents; using System.Windows.Input; using ProjectMarkdown.Annotations; ...
Save feature added for testing.
Save feature added for testing.
C#
mit
aykanatm/ProjectMarkdown
09cc3f89ed5cd4ba67cf7a527c76c27bf6a3825a
src/Umbraco.Core/PropertyEditors/ValueConverters/DecimalValueConverter.cs
src/Umbraco.Core/PropertyEditors/ValueConverters/DecimalValueConverter.cs
using System; using System.Globalization; using Umbraco.Core.Models.PublishedContent; namespace Umbraco.Core.PropertyEditors.ValueConverters { [DefaultPropertyValueConverter] public class DecimalValueConverter : PropertyValueConverterBase { public override bool IsConverter(PublishedPropertyType pr...
using System; using System.Globalization; using Umbraco.Core.Models.PublishedContent; namespace Umbraco.Core.PropertyEditors.ValueConverters { [DefaultPropertyValueConverter] public class DecimalValueConverter : PropertyValueConverterBase { public override bool IsConverter(PublishedPropertyType pr...
Make sure the decimal field value converter can handle double values when converting
Make sure the decimal field value converter can handle double values when converting
C#
mit
bjarnef/Umbraco-CMS,tcmorris/Umbraco-CMS,leekelleher/Umbraco-CMS,tcmorris/Umbraco-CMS,dawoe/Umbraco-CMS,NikRimington/Umbraco-CMS,abryukhov/Umbraco-CMS,marcemarc/Umbraco-CMS,hfloyd/Umbraco-CMS,robertjf/Umbraco-CMS,bjarnef/Umbraco-CMS,umbraco/Umbraco-CMS,robertjf/Umbraco-CMS,umbraco/Umbraco-CMS,abryukhov/Umbraco-CMS,abje...
e307dd7e313a47667f889e56f59ac587c3cf261a
Program.cs
Program.cs
using System; using System.IO; namespace Hangman { public class Hangman { public static void Main(string[] args) { var game = new Game("HANG THE MAN"); while (true) { string titleText = File.ReadAllText("title.txt"); Cell[] title = { new Cell(titleText, Cell.CentreAlign) ...
using System; using System.IO; namespace Hangman { public class Hangman { public static void Main(string[] args) { var game = new Game("HANG THE MAN"); while (true) { string titleText = File.ReadAllText("title.txt"); Cell[] title = { new Cell(titleText, Cell.CentreAlign) ...
Make key entry case insensitive
Make key entry case insensitive
C#
unlicense
12joan/hangman
82307a7d96e4b7d2f689dc252126debbbc27178e
CatchAllRule/CatchAllRule/App_Start/RouteConfig.cs
CatchAllRule/CatchAllRule/App_Start/RouteConfig.cs
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace CatchAllRule { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; using System.Web.Routing; namespace CatchAllRule { public class RouteConfig { public static void RegisterRoutes(RouteCollection routes) { routes.IgnoreRoute("{resource}.axd/{*...
Add a catch all route
CatchAllRule: Add a catch all route
C#
apache-2.0
jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets,jgraber/Blog_Snippets
8c3b5af259fcae3d1d030c910ad320b1c03819cf
src/Glimpse.Common/GlimpseServiceCollectionExtensions.cs
src/Glimpse.Common/GlimpseServiceCollectionExtensions.cs
using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.DependencyInjection; using System; namespace Glimpse { public static class GlimpseServiceCollectionExtensions { public static IServiceCollection AddMvc(this IServiceCollection services) { return services.Add(Gl...
using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.DependencyInjection; using System; namespace Glimpse { public static class GlimpseServiceCollectionExtensions { public static IServiceCollection AddGlimpse(this IServiceCollection services) { return services.Ad...
Rename service collection extensions to be correct
Rename service collection extensions to be correct
C#
mit
Glimpse/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,zanetdev/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,pranavkm/Glimpse.Prototype,zanetdev/Glimpse.Prototype,pranavkm/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mike-kaufman/Glimpse.Prototype,peterblazejewicz/Glimpse.Prototype,Glimpse/Glimpse.Prototype,mi...
2825d1508e4ef8c0c5a4de1c54b95e6aa2842eb2
Source/HelixToolkit.Wpf.SharpDX/Model/Elements3D/Element3DPresenter.cs
Source/HelixToolkit.Wpf.SharpDX/Model/Elements3D/Element3DPresenter.cs
using HelixToolkit.Wpf.SharpDX.Model.Scene; using HelixToolkit.Wpf.SharpDX.Render; using SharpDX; using System.Collections.Generic; using System.Windows; using System.Windows.Markup; namespace HelixToolkit.Wpf.SharpDX { [ContentProperty("Content")] public class Element3DPresenter : Element3D { ///...
using HelixToolkit.Wpf.SharpDX.Model.Scene; using HelixToolkit.Wpf.SharpDX.Render; using SharpDX; using System.Collections.Generic; using System.Windows; using System.Windows.Markup; namespace HelixToolkit.Wpf.SharpDX { [ContentProperty("Content")] public class Element3DPresenter : Element3D { ///...
Fix element3d presenter binding issue.
Fix element3d presenter binding issue.
C#
mit
JeremyAnsel/helix-toolkit,helix-toolkit/helix-toolkit,Iluvatar82/helix-toolkit,chrkon/helix-toolkit,holance/helix-toolkit
88fab030fa3d8cbe85c62125c602c4066e03e3cf
Octokit.Tests/Clients/TeamsClientTests.cs
Octokit.Tests/Clients/TeamsClientTests.cs
using System; using System.Threading.Tasks; using NSubstitute; using Octokit.Tests.Helpers; using Xunit; namespace Octokit.Tests.Clients { /// <summary> /// Client tests mostly just need to make sure they call the IApiConnection with the correct /// relative Uri. No need to fake up the response. All *tho...
using System; using System.Threading.Tasks; using NSubstitute; using Octokit.Tests.Helpers; using Xunit; namespace Octokit.Tests.Clients { /// <summary> /// Client tests mostly just need to make sure they call the IApiConnection with the correct /// relative Uri. No need to fake up the response. All *tho...
Fix up the test to return correct type
Fix up the test to return correct type
C#
mit
chunkychode/octokit.net,rlugojr/octokit.net,hitesh97/octokit.net,SamTheDev/octokit.net,hahmed/octokit.net,gabrielweyer/octokit.net,eriawan/octokit.net,Sarmad93/octokit.net,yonglehou/octokit.net,forki/octokit.net,khellang/octokit.net,daukantas/octokit.net,devkhan/octokit.net,nsrnnnnn/octokit.net,kdolan/octokit.net,shift...
7e46cff3a0fdf767592ce071f3ba659ecdaef6ca
ComputeClient/SolutionAssemblyInfo.cs
ComputeClient/SolutionAssemblyInfo.cs
using System.Reflection; [assembly: AssemblyCompany("Dimension Data")] [assembly: AssemblyProduct("Compute as a Service (CaaS) API client.")] [assembly: AssemblyCopyright("Copyright © Dimension Data 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.0.0.0")] [assem...
using System.Reflection; [assembly: AssemblyCompany("Dimension Data")] [assembly: AssemblyProduct("Compute as a Service (CaaS) API client.")] [assembly: AssemblyCopyright("Copyright © Dimension Data 2015")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: AssemblyVersion("1.0.0.0")] [assem...
Update solution version to 1.3.1
Update solution version to 1.3.1
C#
mit
riveryc/DimensionData.ComputeClient,riveryc/DimensionData.ComputeClient,DimensionDataCBUSydney/DimensionData.ComputeClient,DimensionDataCBUSydney/Compute.Api.Client,riveryc/DimensionData.ComputeClient,samuelchong/Compute.Api.Client,DimensionDataCBUSydney/DimensionData.ComputeClient,DimensionDataCBUSydney/DimensionData....
308d76d9b8f11421f0d1f583f730f059df407b4d
StressMeasurementSystem/Models/Patient.cs
StressMeasurementSystem/Models/Patient.cs
using System.Collections.Generic; using System.Net.Mail; namespace StressMeasurementSystem.Models { public class Patient { #region Structs public struct Name { public string Prefix { get; set; } public string First { get; set; } public string Middle...
using System; using System.Collections.Generic; using System.Net.Mail; namespace StressMeasurementSystem.Models { public class Patient { #region Structs public struct Name { public string Prefix { get; set; } public string First { get; set; } public...
Replace age with date of birth
Replace age with date of birth
C#
apache-2.0
SICU-Stress-Measurement-System/frontend-cs
1dd9f84a2acf7606586da1ebe3ab83f0b059713e
tests/Core2D.UnitTests/TestPointShape.cs
tests/Core2D.UnitTests/TestPointShape.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.Shapes.Interfaces; namespace Core2D.UnitTests { public class TestPointShape : TestBaseShape, IPointShape { public double X { get => t...
// 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.Shapes.Interfaces; namespace Core2D.UnitTests { public class TestPointShape : TestBaseShape, IPointShape { public double X { get; set...
Use default getters and setters
Use default getters and setters
C#
mit
wieslawsoltes/Core2D,Core2D/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,wieslawsoltes/Core2D,Core2D/Core2D
dc31c2b165a7c2f2a29c3b0add1f1d93e86293a2
test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildASolutionWithNonAnyCPUPlatform.cs
test/Microsoft.NET.Build.Tests/GivenThatWeWantToBuildASolutionWithNonAnyCPUPlatform.cs
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Runtime.InteropServices; using Microsoft.NET.TestFramework; using Microsoft.NET.TestFramework.Assertions; using Mic...
// Copyright (c) .NET Foundation and contributors. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. using System.IO; using System.Runtime.InteropServices; using Microsoft.NET.TestFramework; using Microsoft.NET.TestFramework.Assertions; using Mic...
Fix path separator on Linux
Fix path separator on Linux
C#
mit
nkolev92/sdk,nkolev92/sdk
eb190d83bd98b9ea07967ed9fd043d5330dd98f2
osu.Game/Rulesets/Mods/ModHardRock.cs
osu.Game/Rulesets/Mods/ModHardRock.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 osu.Game.Beatmaps; using osu.Game.Graphics; namespace osu.Game.Rulesets.Mods { public abstract class ModHardRock : Mod, IApplicableToDi...
// 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 osu.Game.Beatmaps; using osu.Game.Graphics; namespace osu.Game.Rulesets.Mods { public abstract class ModHardRock : Mod, IApplicableToDi...
Adjust CS multiplier to match stable
Adjust CS multiplier to match stable
C#
mit
UselessToucan/osu,2yangk23/osu,Drezi126/osu,peppy/osu-new,peppy/osu,Nabile-Rahmani/osu,2yangk23/osu,ppy/osu,smoogipoo/osu,naoey/osu,EVAST9919/osu,naoey/osu,peppy/osu,UselessToucan/osu,smoogipoo/osu,ppy/osu,UselessToucan/osu,EVAST9919/osu,DrabWeb/osu,DrabWeb/osu,peppy/osu,ZLima12/osu,NeoAdonis/osu,Frontear/osuKyzer,smoo...
e2adfe1927653c0727773e5275729a7b2eaad19a
src/Tracker/Views/_ViewImports.cshtml
src/Tracker/Views/_ViewImports.cshtml
@using Tracker @using Tracker.Models @using Tracker.ViewModels.Account @using Tracker.ViewModels.Manage @using Microsoft.AspNet.Identity @addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
@using ShatteredTemple.LegoDimensions.Tracker @using ShatteredTemple.LegoDimensions.Tracker.Models @using ShatteredTemple.LegoDimensions.Tracker.ViewModels.Account @using ShatteredTemple.LegoDimensions.Tracker.ViewModels.Manage @using Microsoft.AspNet.Identity @addTagHelper "*, Microsoft.AspNet.Mvc.TagHelpers"
Update starting solution with correct namespaces.
Update starting solution with correct namespaces.
C#
mit
HamsterExAstris/LegoDimensions,HamsterExAstris/LegoDimensions,HamsterExAstris/LegoDimensions
57a9430595083ab18f5b92a4fc0a7a6a00e865fc
src/ResourceManagement/Batch/Microsoft.Azure.Management.Batch/Properties/AssemblyInfo.cs
src/ResourceManagement/Batch/Microsoft.Azure.Management.Batch/Properties/AssemblyInfo.cs
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
// // Copyright (c) Microsoft. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable la...
Update assembly version per feedback
Update assembly version per feedback
C#
mit
DheerendraRathor/azure-sdk-for-net,ScottHolden/azure-sdk-for-net,AzCiS/azure-sdk-for-net,jhendrixMSFT/azure-sdk-for-net,btasdoven/azure-sdk-for-net,shahabhijeet/azure-sdk-for-net,ayeletshpigelman/azure-sdk-for-net,peshen/azure-sdk-for-net,hyonholee/azure-sdk-for-net,pilor/azure-sdk-for-net,olydis/azure-sdk-for-net,Yahn...
18bb3d0b19e07384678bedb769f0b19868e36d18
src/StockportWebapp/ContentFactory/EventFactory.cs
src/StockportWebapp/ContentFactory/EventFactory.cs
using StockportWebapp.Models; using StockportWebapp.Parsers; using StockportWebapp.Utils; namespace StockportWebapp.ContentFactory { public class EventFactory { private readonly ISimpleTagParserContainer _simpleTagParserContainer; private readonly MarkdownWrapper _markdownWrapper; priv...
using StockportWebapp.Models; using StockportWebapp.Parsers; using StockportWebapp.Utils; namespace StockportWebapp.ContentFactory { public class EventFactory { private readonly ISimpleTagParserContainer _simpleTagParserContainer; private readonly MarkdownWrapper _markdownWrapper; priv...
Fix event factory parsing of documents
Fix event factory parsing of documents
C#
mit
smbc-digital/iag-webapp,smbc-digital/iag-webapp,smbc-digital/iag-webapp
7d637691d77ccd7d490beff037ee1166daf022f4
osu.Game/Online/API/DummyAPIAccess.cs
osu.Game/Online/API/DummyAPIAccess.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Game.Users; namespace osu.Game.Online.API { public class DummyAPIAccess : IAPIProvider { public Bindable<User> ...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Bindables; using osu.Game.Users; namespace osu.Game.Online.API { public class DummyAPIAccess : IAPIProvider { public Bindable<User> ...
Use non-guest user ID for non-guest user
Use non-guest user ID for non-guest user
C#
mit
smoogipoo/osu,smoogipooo/osu,UselessToucan/osu,ZLima12/osu,UselessToucan/osu,johnneijzen/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,peppy/osu-new,ppy/osu,NeoAdonis/osu,ppy/osu,peppy/osu,2yangk23/osu,smoogipoo/osu,2yangk23/osu,DrabWeb/osu,johnneijzen/osu,EVAST9919/osu,DrabWeb/osu,DrabWeb/osu,NeoAdonis/osu,pep...
07836b8ec5bce26156421a06abe5ddbc4493a31d
src/XmlSerializerExtensions.cs
src/XmlSerializerExtensions.cs
using System.IO; using System.Linq; using System.Text; using System.Xml; using System.Xml.Serialization; using JetBrains.Annotations; namespace Diadoc.Api { public static class XmlSerializerExtensions { public static byte[] SerializeToXml<T>(this T @object) { var serializer = new XmlSerializer(typeof(T)); ...
using System.IO; using System.Linq; using System.Text; using System.Xml; using System.Xml.Serialization; using JetBrains.Annotations; namespace Diadoc.Api { public static class XmlSerializerExtensions { public static byte[] SerializeToXml<T>(this T @object) { var serializer = new XmlSerializer(typeof(T)); ...
Add overload SerializeToXml with object type
Add overload SerializeToXml with object type
C#
mit
diadoc/diadocsdk-csharp,halex2005/diadocsdk-csharp,diadoc/diadocsdk-csharp,halex2005/diadocsdk-csharp
b1913fd6c25f8866e65de069243edd8fbe1586dc
src/GraphQL/Properties/AssemblyInfo.cs
src/GraphQL/Properties/AssemblyInfo.cs
using System.Reflection; [assembly: AssemblyTitle("GraphQL")] [assembly: AssemblyProduct("GraphQL")] [assembly: AssemblyDescription("GraphQL for .NET")] [assembly: AssemblyCopyright("Copyright 2015-2016 Joseph T. McBride, et al. All rights reserved.")] [assembly: AssemblyVersion("0.8.2.0")] [assembly: AssemblyFileVer...
using System; using System.Reflection; [assembly: AssemblyTitle("GraphQL")] [assembly: AssemblyProduct("GraphQL")] [assembly: AssemblyDescription("GraphQL for .NET")] [assembly: AssemblyCopyright("Copyright 2015-2016 Joseph T. McBride, et al. All rights reserved.")] [assembly: AssemblyVersion("0.8.2.0")] [assembly: A...
Add assembly attribute to get rid of warnings
Add assembly attribute to get rid of warnings
C#
mit
joemcbride/graphql-dotnet,joemcbride/graphql-dotnet,graphql-dotnet/graphql-dotnet,plecong/graphql-dotnet,dNetGuru/graphql-dotnet,graphql-dotnet/graphql-dotnet,alexmcmillan/graphql-dotnet,alexmcmillan/graphql-dotnet,graphql-dotnet/graphql-dotnet,plecong/graphql-dotnet,dNetGuru/graphql-dotnet
d5173fd2ae63b8a11edbf226907a7dadd1d54933
src/Upload/Security/ApiKeyValidator.cs
src/Upload/Security/ApiKeyValidator.cs
using System.Threading.Tasks; namespace Upload.Security { public class ApiKeyValidator : IApiKeyValidator { public Task<bool> ValidateAsync(string apiKey) { return Task.FromResult(true); } } }
using System; using System.Threading.Tasks; namespace Upload.Security { public class ApiKeyValidator : IApiKeyValidator { public Task<bool> ValidateAsync(string apiKey) { return Task.FromResult(apiKey == Environment.GetEnvironmentVariable("APPSETTING_ApiKey")); } } }
Read api key from env setting
Read api key from env setting
C#
mit
novanet/ndc2017,novanet/ndc2017,novanet/ndc2017,novanet/ndc2017
96140eed7bb50b35f35b6772529774860f4607cf
Source/NoteUIObjects/NoteExpButton.cs
Source/NoteUIObjects/NoteExpButton.cs
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; using BetterNotes.NoteClasses; namespace BetterNotes.NoteUIObjects { public class NoteExpButton : NoteUIObjectBase { private NotesExperiment expObject; private bool highlight; private void Start() { ...
using System; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; using BetterNotes.NoteClasses; namespace BetterNotes.NoteUIObjects { public class NoteExpButton : NoteUIObjectBase { private NotesExperiment expObject; private bool highlight; private void Start() { ...
Add deploy experiment function to left-click on button
Add deploy experiment function to left-click on button
C#
mit
DMagic1/KSP_Vessel_Manager
ec60f8afd32b9f16b2f266d4e8aa9d3557d3d8dc
src/Esprima/ErrorHandler.cs
src/Esprima/ErrorHandler.cs
using System.Collections.Generic; namespace Esprima { public class ErrorHandler : IErrorHandler { public IList<ParserException> Errors { get; } public bool Tolerant { get; set; } public string Source { get; set; } public ErrorHandler() { Errors = new List<...
using System.Collections.Generic; namespace Esprima { public class ErrorHandler : IErrorHandler { public IList<ParserException> Errors { get; } public bool Tolerant { get; set; } public string Source { get; set; } public ErrorHandler() { Errors = new List<...
Remove apostrophe in parse error description
Remove apostrophe in parse error description
C#
bsd-3-clause
sebastienros/esprima-dotnet,sebastienros/esprima-dotnet
cbf28388c0f8990c2381e643ba5b8ad07768c8c2
src/ServiceStack.Text/WebRequestExtensions.cs
src/ServiceStack.Text/WebRequestExtensions.cs
using System.IO; using System.Net; namespace ServiceStack.Text { public static class WebRequestExtensions { public static string GetJsonFromUrl(this string url) { return url.GetStringFromUrl("application/json"); } public static string GetStringFromUrl(this string u...
using System; using System.IO; using System.Net; namespace ServiceStack.Text { public static class WebRequestExtensions { public static string GetJsonFromUrl(this string url) { return url.GetStringFromUrl("application/json"); } public static string GetStringFromUrl...
Add helper WebRequest extensions, useful when playing with REST-ful APIs
Add helper WebRequest extensions, useful when playing with REST-ful APIs
C#
bsd-3-clause
mono/ServiceStack.Text,NServiceKit/NServiceKit.Text,NServiceKit/NServiceKit.Text,gerryhigh/ServiceStack.Text,gerryhigh/ServiceStack.Text,mono/ServiceStack.Text
84a6516a0e72ae5c4fc650c778d5907f0d73dfb1
UnicornPacker/UnicornPacker/Models/OrdersContext.cs
UnicornPacker/UnicornPacker/Models/OrdersContext.cs
using Microsoft.Data.Entity; using System; using System.IO; using Windows.Storage; namespace UnicornPacker.Models { public class OrdersContext : DbContext { public DbSet<Order> Orders { get; set; } public DbSet<OrderLine> OrderLines { get; set; } protected override void OnConfiguring(...
using Microsoft.Data.Entity; using System; using System.IO; using Windows.Storage; namespace UnicornPacker.Models { public class OrdersContext : DbContext { public DbSet<Order> Orders { get; set; } public DbSet<OrderLine> OrderLines { get; set; } protected override void OnConfiguring(...
Clean up code for SQLite connection
:art: Clean up code for SQLite connection
C#
apache-2.0
rowanmiller/UnicornStore,rowanmiller/UnicornStore,rowanmiller/UnicornStore
71d00720b168ebbd5f1769b43511f79ae66c400b
ValveResourceFormat/Resource/ResourceTypes/Sound.cs
ValveResourceFormat/Resource/ResourceTypes/Sound.cs
using System; using System.IO; using System.Text; namespace ValveResourceFormat.ResourceTypes { public class Sound : Blocks.ResourceData { private BinaryReader Reader; private long DataOffset; private NTRO NTROBlock; public override void Read(BinaryReader reader, Resource reso...
using System; using System.IO; using System.Text; namespace ValveResourceFormat.ResourceTypes { public class Sound : Blocks.ResourceData { private BinaryReader Reader; private NTRO NTROBlock; public override void Read(BinaryReader reader, Resource resource) { Reade...
Read sound until the end of file correctly
Read sound until the end of file correctly
C#
mit
SteamDatabase/ValveResourceFormat
44f0a1a89d891f8cc674520e7ad3ff2a88b4febe
IronFoundry.Container/ContainerHostDependencyHelper.cs
IronFoundry.Container/ContainerHostDependencyHelper.cs
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace IronFoundry.Container { public class ContainerHostDependencyHelper { const string ContainerHostAssemblyName = "IronFoundry.Container.Host"; readonly Assembly containerHostAss...
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; namespace IronFoundry.Container { public class ContainerHostDependencyHelper { const string ContainerHostAssemblyName = "IronFoundry.Container.Host"; readonly Assembly containerHostAss...
Remove unnecessary check for SharpZipLib dll.
Remove unnecessary check for SharpZipLib dll.
C#
apache-2.0
cloudfoundry-incubator/IronFrame,cloudfoundry/IronFrame,cloudfoundry/IronFrame,cloudfoundry-incubator/if_warden,cloudfoundry-incubator/if_warden,stefanschneider/IronFrame,cloudfoundry-incubator/IronFrame,stefanschneider/IronFrame
ae0e7e64e854d62e2099599e86a8962d0a41c342
DesktopWidgets/Helpers/ProcessHelper.cs
DesktopWidgets/Helpers/ProcessHelper.cs
#region using System.Diagnostics; using System.IO; using DesktopWidgets.Classes; #endregion namespace DesktopWidgets.Helpers { internal static class ProcessHelper { public static void Launch(string path, string args = "", string startIn = "", ProcessWindowStyle style = ProcessWindowStyle...
#region using System.Diagnostics; using System.IO; using DesktopWidgets.Classes; #endregion namespace DesktopWidgets.Helpers { internal static class ProcessHelper { public static void Launch(string path, string args = "", string startIn = "", ProcessWindowStyle style = ProcessWindowStyle...
Revert "Fix error when launching missing files"
Revert "Fix error when launching missing files" This reverts commit df9c57117a6b2de5ec1dee7926f929bc4d24693f.
C#
apache-2.0
danielchalmers/DesktopWidgets
cd4bb3cf02101d013c05c4e0c24dd43c2eb3be4c
src/Dbus/Connection.Authentication.cs
src/Dbus/Connection.Authentication.cs
using System; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Dbus { public partial class Connection { private static async Task authenticate(Stream stream) { using (var writer = new StreamWriter(stream, Encoding.ASC...
using System; using System.IO; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; namespace Dbus { public partial class Connection { private static async Task authenticate(Stream stream) { using (var writer = new StreamWriter(stream, Encoding.ASC...
Add a `lib` prefix to the DllImport so it works with mono
Add a `lib` prefix to the DllImport so it works with mono
C#
mit
Tragetaschen/DbusCore
a9452e7eb3b7af3c3a63c6f2c431be392b52fdbf
examples/TestObjects.cs
examples/TestObjects.cs
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTestObjects { public static void Main () { Bus bus = Bus.Session; ...
// Copyright 2006 Alp Toker <alp@atoker.com> // This software is made available under the MIT License // See COPYING for details using System; using System.Collections.Generic; using NDesk.DBus; using org.freedesktop.DBus; public class ManagedDBusTestObjects { public static void Main () { Bus bus = Bus.Session; ...
Use properties in example code
Use properties in example code
C#
mit
openmedicus/dbus-sharp,Tragetaschen/dbus-sharp,arfbtwn/dbus-sharp,Tragetaschen/dbus-sharp,mono/dbus-sharp,arfbtwn/dbus-sharp,mono/dbus-sharp,openmedicus/dbus-sharp
ffb196dbdb212d87132cc86ed79c4b8cfce94d23
Sandra.UI.WF/Properties/AssemblyInfo.cs
Sandra.UI.WF/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Sandra")] [assembly: AssemblyDescription("Hosted on https://github.com/PenguinF/sandra-three")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Sandra")] [assembly: AssemblyCopyri...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("Sandra")] [assembly: AssemblyDescription("Hosted on https://github.com/PenguinF/sandra-three")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Sandra")] [assembly: AssemblyCopyri...
Correct year when development started.
Correct year when development started.
C#
apache-2.0
PenguinF/sandra-three
6651acbbf84791ea73a200497689d2a9c9daaad4
CustomLinearScalers/Gaussian.cs
CustomLinearScalers/Gaussian.cs
using System; namespace Mpdn.CustomLinearScaler { namespace Example { public class Gaussian : ICustomLinearScaler { public Guid Guid { get { return new Guid("647351FF-7FEC-4EAB-86C7-CE1BEF43EFD4"); } } public string ...
using System; namespace Mpdn.CustomLinearScaler { namespace Example { public class Gaussian : ICustomLinearScaler { public Guid Guid { get { return new Guid("647351FF-7FEC-4EAB-86C7-CE1BEF43EFD4"); } } public string ...
Fix radius calculation and lower sigma.
Fix radius calculation and lower sigma.
C#
mit
zachsaw/RenderScripts
9751010f08a222b06498b9a88a6cc4493d340a45
Components/Log/Log_Visual_Behaviour.cs
Components/Log/Log_Visual_Behaviour.cs
using UnityEngine; using UnityEngine.UI; using System.Collections; namespace UDBase.Components.Log { public class Log_Visual_Behaviour : MonoBehaviour { public Text Text; public void Init() { Text.text = ""; } public void AddMessage(string msg) { Text.text += msg + "\n"; } } }
using UnityEngine; using UnityEngine.UI; using System.Collections; using System.Collections.Generic; namespace UDBase.Components.Log { public class Log_Visual_Behaviour : MonoBehaviour { public Text Text; List<string> _messages = new List<string>(); public void Init() { Clear(); } public void Clear()...
Store messages in list to future filter; Clear method;
Store messages in list to future filter; Clear method;
C#
mit
KonH/UDBase
a111afadfda3aa6f29e456fa6eaa081330c277d0
test/Helpers/SplatModeDetectorSetUp.cs
test/Helpers/SplatModeDetectorSetUp.cs
using System; using System.Linq; using System.Reflection; using NUnit.Framework; [SetUpFixture] public class SplatModeDetectorSetUp { static SplatModeDetectorSetUp() { // HACK: Force .NET 4.5 version of Splat to load when executing inside NCrunch var ncrunchAsms = Environment.GetEnvironmentVar...
using System; using System.Linq; using System.Reflection; using NUnit.Framework; [SetUpFixture] public class SplatModeDetectorSetUp { [OneTimeSetUp] public void RunBeforeAnyTests() { Splat.ModeDetector.Current.SetInUnitTestRunner(true); } }
Remove hack to load correct version of Splat.
Remove hack to load correct version of Splat.
C#
mit
github/VisualStudio,github/VisualStudio,github/VisualStudio
e583a17ef8381a15ae9f59635dae7e0cfbdd2aac
src/Microsoft.AspNetCore.SpaServices/Prerendering/PrerenderingServiceCollectionExtensions.cs
src/Microsoft.AspNetCore.SpaServices/Prerendering/PrerenderingServiceCollectionExtensions.cs
using System; using System.Collections.Generic; using System.Text; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.NodeServices; using Microsoft.AspNetCore.SpaServices.Prerendering; using Microsoft.Extensions.DependencyInjection.Extensions; namespace Microsoft.Extensions.DependencyInjection { /// <sum...
using Microsoft.AspNetCore.SpaServices.Prerendering; namespace Microsoft.Extensions.DependencyInjection { /// <summary> /// Extension methods for setting up prerendering features in an <see cref="IServiceCollection" />. /// </summary> public static class PrerenderingServiceCollectionExtensions { ...
Clean up how IHttpContextAccessor is added
Clean up how IHttpContextAccessor is added
C#
apache-2.0
aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore,aspnet/AspNetCore
cd2285b8ddc0b5de1100ebbe9d2a65d8b9aead19
WpfAboutView/Properties/AssemblyInfo.cs
WpfAboutView/Properties/AssemblyInfo.cs
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("WpfAboutView")] [assembly: AssemblyDescription("Simple About control with app name, icon, version, and credits")] [assembly: AssemblyCompany("Daniel Chalmers")] [assembly: AssemblyProduct("WpfAboutView")] [assembly: AssemblyCopyr...
using System.Reflection; using System.Runtime.InteropServices; [assembly: AssemblyTitle("WpfAboutView")] [assembly: AssemblyDescription("Simple About control with app name, icon, version, and credits")] [assembly: AssemblyCompany("Daniel Chalmers")] [assembly: AssemblyProduct("WpfAboutView")] [assembly: AssemblyCopyr...
Update copyright year to 2018
Update copyright year to 2018
C#
mit
danielchalmers/WpfAboutView
02f94dcc24f9d3a4f569a9124704d780fdcc2722
osu.Framework.Benchmarks/BenchmarkManySpinningBoxes.cs
osu.Framework.Benchmarks/BenchmarkManySpinningBoxes.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using BenchmarkDotNet.Attributes; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Shapes; using osuTK.Graphics; namespace osu.Framework...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using BenchmarkDotNet.Attributes; using NUnit.Framework; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Shapes; using...
Add autosize coverage to spinning boxes benchmark
Add autosize coverage to spinning boxes benchmark
C#
mit
peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,ZLima12/osu-framework,peppy/osu-framework
24fe7538fd0e7eb7d9592760978e716636751069
osu.Game.Tournament/Screens/Showcase/TournamentLogo.cs
osu.Game.Tournament/Screens/Showcase/TournamentLogo.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics....
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Allocation; using osu.Framework.Graphics; using osu.Framework.Graphics.Containers; using osu.Framework.Graphics.Sprites; using osu.Framework.Graphics....
Use new logo name for showcase screen
Use new logo name for showcase screen
C#
mit
ppy/osu,UselessToucan/osu,peppy/osu,smoogipoo/osu,UselessToucan/osu,ppy/osu,EVAST9919/osu,NeoAdonis/osu,UselessToucan/osu,ppy/osu,smoogipoo/osu,smoogipooo/osu,peppy/osu-new,NeoAdonis/osu,EVAST9919/osu,peppy/osu,smoogipoo/osu,peppy/osu,NeoAdonis/osu
4e479a917768be7e105fbf98a02ae30a12216757
Core/EntityCore/Context.cs
Core/EntityCore/Context.cs
using EntityCore.DynamicEntity; using EntityCore.Utils; using System.Configuration; using System.Data.Common; using System.Data.Entity; using System.Data.Entity.Infrastructure; namespace EntityCore { public static class Context { public static DynamicEntityContext New(string nameOrConnectionString) ...
using EntityCore.DynamicEntity; using EntityCore.Utils; using System.Data.Common; using System.Data.Entity; using System.Data.Entity.Infrastructure; using System.Data.Entity.ModelConfiguration.Conventions; using System.Data.SqlClient; using System.Linq; namespace EntityCore { public static class Context { ...
Remove unsupported column attribute convention with no sql connection.
Remove unsupported column attribute convention with no sql connection.
C#
mit
xaviermonin/EntityCore
81768a1239041df745955ee24632359be2abef10
src/OpenZH.Data/Map/PolygonTrigger.cs
src/OpenZH.Data/Map/PolygonTrigger.cs
using System.IO; using OpenZH.Data.Utilities.Extensions; namespace OpenZH.Data.Map { public sealed class PolygonTrigger { public string Name { get; private set; } public string LayerName { get; private set; } public uint UniqueId { get; private set; } public PolygonTriggerType ...
using System; using System.IO; using OpenZH.Data.Utilities.Extensions; namespace OpenZH.Data.Map { public sealed class PolygonTrigger { public string Name { get; private set; } public string LayerName { get; private set; } public uint UniqueId { get; private set; } public Polyg...
Support more polygon trigger types
Support more polygon trigger types
C#
mit
feliwir/openSage,feliwir/openSage
b71cea2722ae1f080f9ef72228cc48482a70c2f7
Mos6510.Tests/Instructions/InyTests.cs
Mos6510.Tests/Instructions/InyTests.cs
using NUnit.Framework; using Mos6510.Instructions; namespace Mos6510.Tests.Instructions { [TestFixture] public class InyTests { [Test] public void IncrementsTheValueInRegisterY() { const int initialValue = 42; var model = new ProgrammingModel(); model.GetRegister(RegisterName.Y).Se...
using NUnit.Framework; using Mos6510.Instructions; namespace Mos6510.Tests.Instructions { [TestFixture] public class InyTests { [Test] public void IncrementsTheValueInRegisterY() { const int initialValue = 42; var model = new ProgrammingModel(); model.GetRegister(RegisterName.Y).Se...
Add tests for the status flags set by iny.
Add tests for the status flags set by iny. There is no need for production code changes, as the status flag logic is already present in the RegisterUtils class.
C#
mit
joshpeterson/mos,joshpeterson/mos,joshpeterson/mos
6e603871528b5c74ae09647befcc03b70643f1b0
MongoDBDriver/AssemblyInfo.cs
MongoDBDriver/AssemblyInfo.cs
using System; using System.Reflection; using System.Security.Permissions; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("MongoDBDriver")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration...
using System; using System.Reflection; using System.Runtime.CompilerServices; using System.Security.Permissions; // Information about this assembly is defined by the following attributes. // Change them to the values specific to your project. [assembly: AssemblyTitle("MongoDBDriver")] [assembly: AssemblyDescripti...
Allow MongoDB.Driver.Tests to see internals of MongoDB.Driver.
Allow MongoDB.Driver.Tests to see internals of MongoDB.Driver.
C#
apache-2.0
samus/mongodb-csharp,mongodb-csharp/mongodb-csharp,zh-huan/mongodb
599f3e00407f6bf84b5be82a1c6d3c30f75be6f9
src/Features/Lsif/Generator/Graph/Item.cs
src/Features/Lsif/Generator/Graph/Item.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. namespace Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.Graph { /// <summary> /// Represents a...
// 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 Microsoft.CodeAnalysis.LanguageServerIndexFormat.Generator.Graph { /// <summary> /// Represents a...
Rename document to shard in item edges
Rename document to shard in item edges
C#
mit
jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn,bartdesmet/roslyn,mavasani/roslyn,shyamnamboodiripad/roslyn,dotnet/roslyn,jasonmalinowski/roslyn,dotnet/roslyn,mavasani/roslyn,mavasani/roslyn,bartdesmet/roslyn,bartdesmet/roslyn,jasonmalinowski/roslyn,CyrusNajmabadi/roslyn,shyamnamboodiripad/roslyn...
84a5d3dc94e8969da6cec20a4c1bed03b83c6805
Gu.Wpf.UiAutomation/WindowsAPI/POINT.cs
Gu.Wpf.UiAutomation/WindowsAPI/POINT.cs
// ReSharper disable InconsistentNaming #pragma warning disable namespace Gu.Wpf.UiAutomation.WindowsAPI { using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; [DebuggerDisplay("({X}, {Y})")] [StructLayout(LayoutKind.Sequential)] public struct ...
// ReSharper disable InconsistentNaming #pragma warning disable namespace Gu.Wpf.UiAutomation.WindowsAPI { using System; using System.Diagnostics; using System.Runtime.InteropServices; using System.Windows; [DebuggerDisplay("({X}, {Y})")] [StructLayout(LayoutKind.Sequential)] public struct ...
Make point factory method internal.
Make point factory method internal.
C#
mit
JohanLarsson/Gu.Wpf.UiAutomation
f7138326a23533f72e1de787f97c95a48281458b
IPTables.Net/Iptables/IPTablesTables.cs
IPTables.Net/Iptables/IPTablesTables.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using IPTables.Net.Exceptions; namespace IPTables.Net.Iptables { /// <summary> /// Data to define the default IPTables tables and chains /// </summary> internal class IPTablesTables { static internal Dict...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using IPTables.Net.Exceptions; namespace IPTables.Net.Iptables { /// <summary> /// Data to define the default IPTables tables and chains /// </summary> internal class IPTablesTables { static internal Dict...
Add OUTPUT chain to raw, remove POSTROUTING
Add OUTPUT chain to raw, remove POSTROUTING
C#
apache-2.0
splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net,splitice/IPTables.Net
b218046fa28ef9ebb257663adf5388d9174345ee
osu.Game/Rulesets/Mods/ModUsage.cs
osu.Game/Rulesets/Mods/ModUsage.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.Rulesets.Mods { /// <summary> /// The usage of this mod to determine whether it's playable in such context. /// </summary> public enum ...
// 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.Rulesets.Mods { /// <summary> /// The usage of this mod to determine whether it's playable in such context. /// </summary> public enum ...
Remove redundant line from mod usage
Remove redundant line from mod usage
C#
mit
ppy/osu,ppy/osu,NeoAdonis/osu,NeoAdonis/osu,NeoAdonis/osu,peppy/osu,peppy/osu,ppy/osu,peppy/osu
d461f3553c9c7fabc6be465d26318730208f1b8a
Testing/TestingDispatch.cs
Testing/TestingDispatch.cs
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Diagnostics; namespace MatterHackers.MatterControl.Testing { public class TestingDispatch { string errorLogFileName = null; public TestingDispatch() { errorLo...
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.IO; using System.Diagnostics; namespace MatterHackers.MatterControl.Testing { public class TestingDispatch { string errorLogFileName = null; public TestingDispatch() { errorLo...
Save as consistent filename to make other scripting easier.
Save as consistent filename to make other scripting easier.
C#
bsd-2-clause
ddpruitt/MatterControl,rytz/MatterControl,unlimitedbacon/MatterControl,MatterHackers/MatterControl,mmoening/MatterControl,gregory-diaz/MatterControl,tellingmachine/MatterControl,mmoening/MatterControl,CodeMangler/MatterControl,MatterHackers/MatterControl,mmoening/MatterControl,rytz/MatterControl,larsbrubaker/MatterCont...
997e831065fad27a72009bd13ba4d9708ed54d17
Diagnostics/UnhelpfulDebugger/Program.cs
Diagnostics/UnhelpfulDebugger/Program.cs
using System; namespace UnhelpfulDebugger { class Program { static void Main() { string awkward1 = "Foo\\Bar"; string awkward2 = "FindEle‌​ment"; float awkward3 = 4.9999995f; Console.WriteLine(awkward1); PrintString(awkward1); ...
using System; namespace UnhelpfulDebugger { class Program { static void Main() { string awkward1 = "Foo\\Bar"; string awkward2 = "FindEle‌​ment"; double awkward3 = 4.9999999999999995d; Console.WriteLine(awkward1); PrintString(awkward...
Use double instead of float
Use double instead of float
C#
apache-2.0
jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode,jskeet/DemoCode
b73a2fd54780aea619977dd7a3928cf9e639e9ee
osu.Framework.iOS/Input/IOSTextInput.cs
osu.Framework.iOS/Input/IOSTextInput.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using Foundation; using osu.Framework.Input; namespace osu.Framework.iOS.Input { public class IOSTextInput : ITextInputSource { private re...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using System; using Foundation; using osu.Framework.Input; namespace osu.Framework.iOS.Input { public class IOSTextInput : ITextInputSource { private re...
Use empty accessor for unimplemented events.
Use empty accessor for unimplemented events.
C#
mit
smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,peppy/osu-framework,EVAST9919/osu-framework,smoogipooo/osu-framework,ppy/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,EVAST9919/osu-framework,ZLima12/osu-framework,EVAST9919/osu-framework,peppy/osu-framework,ppy/osu-framework
e1b0f2ee75abed1a74326bfe69429ee86190ad0c
osu.Framework/Input/StateChanges/MouseScrollRelativeInput.cs
osu.Framework/Input/StateChanges/MouseScrollRelativeInput.cs
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Input.StateChanges.Events; using osu.Framework.Input.States; using osuTK; namespace osu.Framework.Input.StateChanges { /// <summary> /// Den...
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence. // See the LICENCE file in the repository root for full licence text. using osu.Framework.Input.StateChanges.Events; using osu.Framework.Input.States; using osuTK; namespace osu.Framework.Input.StateChanges { /// <summary> /// Den...
Convert vertical scroll to horizontal when shift is held
Convert vertical scroll to horizontal when shift is held
C#
mit
smoogipooo/osu-framework,peppy/osu-framework,ppy/osu-framework,ppy/osu-framework,peppy/osu-framework,ppy/osu-framework,smoogipooo/osu-framework,peppy/osu-framework
ca12f0367c2cfaae7da6051d76e35343b079806d
examples/asp.net-mvc/HR.Web/Views/Employee/Index.cshtml
examples/asp.net-mvc/HR.Web/Views/Employee/Index.cshtml
 @{ ViewBag.Title = "Employees Overview"; } <h2>Employees Overview</h2> You can only see this page if you have the <strong>employee_read</strong> permissions.
@using System.Security.Claims @{ ViewBag.Title = "Employees Overview"; } <h2>Employees Overview</h2> You can only see this page if you have the <strong>employee_read</strong> permissions. <br/> <br/> @if (ClaimsPrincipal.Current.HasClaim(ClaimTypes.Role, "employee_create")) { <a href="@Url.Action("Create"...
Hide or show button in sample application
Hide or show button in sample application
C#
mit
darbio/auth0-roles-permissions-dashboard-sample,darbio/auth0-roles-permissions-dashboard-sample,auth0/auth0-roles-permissions-dashboard-sample,darbio/auth0-roles-permissions-dashboard-sample,auth0/auth0-roles-permissions-dashboard-sample,auth0/auth0-roles-permissions-dashboard-sample