content stringlengths 23 1.05M |
|---|
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
namespace Paydunya
{
public class PaydunyaCheckoutInvoice : PaydunyaCheckout
{
protected PaydunyaSetup setup;
protected PaydunyaStore store;
protected JObject invoice = new JObject();
protected JObject storeData =... |
namespace Roadie.Library.Configuration
{
public interface IRedisCache
{
string ConnectionString { get; set; }
}
} |
using System;
using Microsoft.AspNetCore.Components;
namespace AntDesign
{
[EventHandler("onmouseleave", typeof(EventArgs))]
[EventHandler("onmouseenter", typeof(EventArgs))]
public static class EventHandlers
{
}
}
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.... |
using System;
using Xunit;
using Casino.Library.Games;
using Casino.Library.Games.ChickenFight;
namespace Casino.Test
{
public class ChickenTest
{
Fight fight = new Fight();
[Fact]
public void T01Access()
{
Fight fight = new Fight();
Assert.True(fight.c... |
using System.Collections.Generic;
namespace Example.Library
{
public class SeriousQuoteProvider
: ISeriousQuoteProvider
{
public IEnumerable<string> GetQuotes() =>
new[]
{
"The only thing you have to fear is fear itself.",
"Don't try to... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.AspNetCore.Antiforgery;
/// <summary>
/// Used to hold per-request state.
/// </summary>
internal sealed class AntiforgeryFeature : IAntiforgeryFeature
{
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MessageBoard.Wrappers
{
public class PagedResponse<T> : Response <T>
{
public int PageNumber {get;set;}
public int PageSize {get;set;}
public Uri FirstPage {get;set;}
public Uri LastPage {get;set;}
publ... |
using Orchard.ContentManagement.Drivers;
using Orchard.CRM.Core.Providers.Serialization;
using Orchard.CRM.Core.Services;
using Orchard.CRM.Dashboard.Models;
using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Web;
namespace Orchard.CRM.Dashboard.Drivers
{
public ... |
using Factory.Themes;
namespace Factory.Factories
{
public interface IUIFactory
{
public Theme CreateTheme();
}
} |
#if WINDOWS_UWP
using Prism.Windows.Mvvm;
using Prism.Commands;
using Prism.Windows.Navigation;
#else
using Microsoft.Practices.Prism.StoreApps;
#endif
using IF.Lastfm.Core.Api.Enums;
using PropertyChanged;
using System;
using System.Threading.Tasks;
using VKSaver.Core.Services.Interfaces;
using Windows.System;
name... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CitationPlease.Models.GovInfo
{
public class PackageInfo
{
public string packageId { get; set; }
public DateTime lastModified { get; set; }
public string packageLink { ... |
using System.Web;
using System.Web.Security;
using System.Xml.XPath;
using umbraco.BusinessLogic;
using umbraco.cms.businesslogic.member;
using Umbraco.Web.BaseRest;
namespace OurUmbraco.Our
{
/// <summary>
/// Our mighty utill classes for looking stuff up quickly...
/// </summary>
///
public cl... |
namespace NetTopologySuite.IO
{
internal enum UriValidationResult
{
NullValue,
ValidSystemUri,
ValidOverlongDataUri,
InvalidUri,
}
}
|
using System;
namespace Laraue.EfCoreTriggers.Common.Converters.MethodCall.String
{
public abstract class BaseStringConverter : MethodCallConverter
{
public override Type ReflectedType => typeof(string);
}
} |
using MySportsStore.Domain.Abstract;
using MySportsStore.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Mail;
using System.Text;
using System.Threading.Tasks;
using System.IO;
namespace MySportsStore.Domain.Concrete
{
public class EmailOrder... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using CodeMonkey;
using CodeMonkey.Utils;
public class PlayerShootProjectiles : MonoBehaviour {
[SerializeField] private Transform pfBullet;
[SerializeField] private Transform pfBulletPhysics;
private delegate void ShootActio... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Miris.TemplateEngine.Engines.RazorAlike.Statements
{
public class BoolExpressionStatement
{
}
}
|
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
namespace Flash.Test.Web.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class HeapController : Contr... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace NuGet.Server.Core.Infrastructure
{
public interf... |
using System;
namespace LightRail.SqlServer
{
public class QueueStatusView
{
public string QueueName { get; set; }
public string ServiceName { get; set; }
public int EstimatedCount { get; set; }
public int PoisonMessageCount { get; set; }
public DateTime? Last... |
// ReSharper disable InconsistentNaming
namespace BeckyTypes.ExportEnums
{
public enum BeckyToolbar {
INVALID = 0,
BKC_TOOLBAR_ADDRESSBOOK = 201,
BKC_TOOLBAR_COMPOSEFRAME = 202,
BKC_TOOLBAR_HTMLEDITOR = 203,
BKC_TOOLBAR_MAINFRAME = 204,
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLib.State
{
public class EndGame : IGameState
{
public string NextStage(Game game)
{
game.State = new StartMenu();
return "You are at the s... |
using Modalmais.API;
using Modalmais.Transacoes.API.Refit;
using Refit;
using System.Threading.Tasks;
using Xunit;
namespace Modalmais.Test.Tests.Config
{
internal class ObterContaMock : IContaService
{
private readonly Task<RespostaConta> _respostaConta;
public ObterContaMock(Task<RespostaC... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using Cats.Models;
namespace Cats.Services.Procurement
{
public interface ITransporterService
{
bool AddTransporter(Transporter transporter);
bool DeleteTransporter(Transporter... |
using JetBrains.Annotations;
using Txt.ABNF;
using Txt.Core;
namespace Http.TE
{
public class TransferEncodingCollection : OptionalDelimitedList
{
public TransferEncodingCollection([NotNull] OptionalDelimitedList optionalDelimitedList)
: base(optionalDelimitedList)
{
}
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TypeArray.cs" company="Catel development team">
// Copyright (c) 2008 - 2015 Catel development team. All rights reserved.
// </copyright>
// ------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NetOffice.Attributes
{
/// <summary>
/// ProgId to create an instance from
/// </summary>
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)]
public class ComProgIdAttribute : System.A... |
using DemoParser_Core;
namespace DemoParser_Model.Observers
{
public abstract class Observer
{
protected DemoParser parser;
public Observer(DemoParser demoParser)
{
this.parser = demoParser;
}
}
}
|
using FavoDeMel.Domain.Commands;
using FavoDeMel.Domain.Dto;
using FavoDeMel.Infrastructure.Extensions;
using System;
using System.Collections.Generic;
namespace FavoDeMel.Commands.Pedido
{
public class CriarPedidoCommand : ICommand
{
public int ComandaId { get; set; }
public string Observaca... |
using System.Collections.Generic;
using GeoAPI.Geometries;
#if NTS173
using GisSharpBlog.NetTopologySuite.Geometries;
using GisSharpBlog.NetTopologySuite.Index.Strtree;
#else
using NetTopologySuite.Index.Strtree;
#endif
namespace DHI.Mesh
{
/// <summary>
/// Search class for searching for elements (an... |
using System.Collections.Generic;
namespace SharpDomain.Validation
{
public class CommandResult
{
public bool Succeed { get; set; }
public CommandCompletionStatus Status { get; set; }
public List<CommandError> Errors { get; set; }
}
} |
using ETModel;
namespace ETHotfix
{
[ObjectSystem]
public class RealmGateAddressComponentSystem : StartSystem<RealmGateAddressComponent>
{
public override void Start(RealmGateAddressComponent self)
{
self.Start();
}
}
public static class RealmGateAddressComponentEx
{
public static void Start(this R... |
using FubuMVC.Core.Registration.Nodes;
using FubuMVC.Core.Registration.ObjectGraph;
using FubuMVC.Diagnostics.Runtime.Tracing;
namespace FubuMVC.Diagnostics.Runtime
{
public class DiagnosticNode : BehaviorNode
{
public DiagnosticNode(BehaviorChain chain)
{
chain.Prepend(th... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Web.Mvc;
using BeyondThemes.Bootstrap.TypeExtensions;
namespace BeyondThemes.Bootstrap.Infrastructure
{
public abstract class HtmlElement
{
// Fields
[EditorBrowsable(EditorBrowsableState.Never)]
... |
using System;
using System.Globalization;
using System.Text.RegularExpressions;
using MathNet.Spatial.Euclidean;
using MathNet.Spatial.Units;
using NUnit.Framework;
namespace MathNet.Spatial.UnitTests
{
public class ParserTests
{
private const double Tolerance = 1e-6;
private const double DegT... |
using GalaSoft.MvvmLight;
using GitHelper.Extension;
namespace GitHelper.UIExtension
{
public class ActionViewModelBase : ViewModelBase
{
public ActionViewModelBase()
{ }
public ActionViewModelBase(Configuration config)
{ }
}
}
|
using System;
using System.Text.RegularExpressions;
namespace UGFExtensions.Build.Editor
{
public static class Utility
{
public static class Uri
{
public static bool CheckUri(string uri)
{
if (string.IsNullOrEmpty(uri))
{
... |
namespace Skeleton.Common.Tests.Extensions
{
using System.ComponentModel;
using Common.Extensions;
using Xunit;
public class EnumExtensionsTests
{
private enum Marks
{
[Description("Bad result")]
One
}
[Fact]
public void ShouldGetDes... |
namespace AdminCore.WebApi.Models.Dashboard
{
public class EmployeeEventViewModel
{
}
} |
namespace DotNetAppSqlDb.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class HolidayTaskListAdded2 : DbMigration
{
public override void Up()
{
CreateTable(
"dbo.HolidayTasks",
c => new
{... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UXI.Filters;
using UXI.Filters.Configuration;
using UXI.Filters.Options;
namespace UXI.GazeFilter.Configurations
{
public class PrettyFormatFilterConfiguration : FilterConfiguration<IPrettyFor... |
namespace ASTRA.EMSG.Common.Enums
{
public enum SchadendetailTyp
{
Polieren,
Abrieb,
Abblaetterung,
Abplatzungen,
KantenschaedenAbsplitterung,
FehlenderOderSproederFugenverguss,
SetzungenFrosthebungen,
Stufenbildung,
Pumpen,
BlowUp... |
namespace Vista
{
partial class EditarCita
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param n... |
using Volo.Abp.Collections;
using NRule = NRules.Fluent.Dsl.Rule;
namespace LINGYUN.Abp.Rules
{
public class AbpNRulesOptions
{
public ITypeList<NRule> Rules { get; }
public AbpNRulesOptions()
{
Rules = new TypeList<NRule>();
}
}
}
|
using System.Collections.Generic;
using System.Linq;
using Framework.Core;
using OfficeOpenXml;
namespace Framework.CustomReports.Services.ExcelBuilder.CellValues
{
public static class CellValueExtension
{
public static ICellValue Combine(this IEnumerable<ICellValue> values)
{
... |
#if UNITY_EDITOR
using System.IO;
using UnityEditor;
namespace IJunior.TypedScenes
{
public static class TypedSceneStorage
{
public static void Save(string fileName, string sourceCode)
{
var path = TypedSceneSettings.SavingDirectory + fileName + TypedSceneSettings.ClassExtension;
... |
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Security.Cryptography;
using System.Text;
namespace System
{
public static partial class Extensions
{
public static byte[] HashBy<T>(this byte[] x) where T : HashAlgorithm
{
HashAlgorithm algo;
try
{
algo=typeof(T... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Media;
namespace Coupon_Generator
{
public class CouponSettings
{
public Uri SaveLocation;
... |
namespace ScalablePress.API.Models.DesignApi
{
/// <summary>
/// For screenprint/DTG/poster orders, height OR width is required.
/// The print will automatically be scaled to keep aspect ratio.
/// For poster orders, height OR width must either be set to 17 or 24.
/// </summary>
public class ... |
using System.Collections.Generic;
using Okta.Sdk;
namespace Finbourne.Extensions.Okta.Sdk.Resources.Schemas
{
public interface ISchemaDefinitionProperty : IResource
{
string Title { get; set; }
string Description { get; set; }
string Type { get; set; }
bool? Required { get; set;... |
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace Statiq.Common
{
/// <summary>
/// A content provider that uses a delegate to get the stream.
/// </summary>
public class DelegateContent : IContentProvider
{
private readonly Func<Stream> _getStr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Drumz.Common.Beats
{
public class Beat
{
public readonly ISoundId Sound;
public readonly Velocity Velocity;
public Beat(ISoundId sound, Velocity velocity)
... |
using UnityEngine;
using UnityEditor;
using System;
using System.Collections.Generic;
using Devdog.InventoryPro;
namespace Devdog.InventoryPro.Editors
{
[CustomPropertyDrawer(typeof(InventoryItemContainerGenerator))]
public class InventoryItemContainerGeneratorEditor : PropertyDrawer
{
pri... |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.IO;
using System.Windows.Forms;
using DjeFramework1.Common.GUI.Dialogs;
using DjeFramework1.Common.GUI.MVC;
using DjeFramework1.Common.GUI.Traces;
using DjeFramework1.Common.Types;
using DjeFramework1.Common.Types.Forms... |
using Game.Data;
using Game.Models.Towns;
using Game.Models.Towns.Common;
using Game.Web.Controllers.API;
using Game.Web.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace Game.Web.Controllers
{
public class Town... |
using System;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
using CsvHelper;
namespace DbAssertions
{
internal class TableWriter : ITableWriter
{
private readonly Table _table;
private readonly CsvWriter _csvWriter;
public TableWri... |
using System;
using System.Diagnostics;
using System.Runtime.ExceptionServices;
using System.Runtime.InteropServices;
using System.Security;
namespace MediaDevices.Internal
{
/// <summary>
///
/// </summary>
/// <remarks>
/// The Facade is necessary because structs used in using are readonly and ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Scene4 : MonoBehaviour
{
bool hasEntered = false;
bool finished = false;
Animator anim;
private void Start()
{
anim = GetComponent<Animator>();
}
private void Update()
{
if (!h... |
using System;
using System.Linq;
using NUnit.Framework;
using Shouldly;
using TestStack.BDDfy.Tests.Configuration;
namespace TestStack.BDDfy.Tests.Scanner.FluentScanner
{
[TestFixture]
public class ComplexStepsTests
{
private int count;
[Test]
public void ShouldBeAbleToChainComple... |
namespace LearningCenter.Services.Data.Tests
{
using System.Collections.Generic;
using System.Linq;
using LearningCenter.Data.Common.Repositories;
using LearningCenter.Data.Models;
using Moq;
using Xunit;
public class LanguagesServiceTests
{
[Fact]
public void GetAllLa... |
using Lyn.Protocol.Bolt1.Messages;
using Lyn.Protocol.Common.Messages;
namespace Lyn.Protocol.Bolt7.Messages
{
public abstract class GossipMessage : MessagePayload
{ }
} |
namespace TemplateMethod
{
using System.Data;
/// <summary>
/// The abstract data access.
/// </summary>
public abstract class AbstractDataAccess
{
/// <summary>
/// Gets the connection string.
/// </summary>
public string ConnectionString { get; internal set; }... |
using System;
using Serilog.Core;
using Serilog.Events;
using Serilog.Formatting;
// using Serilog.Sinks.Azure.WebJobs
public static void Run(TimerInfo timer, TraceWriter log)
{
//What is this thing??
log.Info(log.GetType().ToString());
log.Info($"C# Timer trigger function executed at: {DateTime.Now}"); ... |
using System.Collections.Generic;
using System.IO;
using System.Net;
namespace FTP_Upload_Net
{
interface IFtpUtils
{
List<string> GetServerFiles();
long DownloadFiles(string filename, string destinationPath);
}
public class FtpUtils : IFtpUtils
{
private readonly FtpCredit... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Microsoft.AspNetCore.Http
{
/// <summary>
/// ... |
namespace Agent.View
{
/// <summary>
/// Логика взаимодействия для AlertsPage.xaml
/// </summary>
public partial class AlertsPage
{
public AlertsPage()
{
InitializeComponent();
}
}
} |
using System.Security.Cryptography.X509Certificates;
// ReSharper disable UnusedAutoPropertyAccessor.Global
namespace HyperFabric.Core
{
public sealed class Cluster
{
public string Connection { get; set; }
public StoreLocation? Location { get; set; }
public X509FindTyp... |
// Developed by Softeq Development Corporation
// http://www.softeq.com
using System.Threading.Tasks;
using Softeq.NetKit.Notifications.Service.TransportModels.Notification.Request;
using Softeq.NetKit.Notifications.Service.TransportModels.Notification.Response;
using Softeq.NetKit.Notifications.Service.TransportMode... |
namespace Toimik.IpAddressEnumeration.Tests
{
using Xunit;
public class SequentialV4IpAddressEnumeratorTest : V4IpAddressEnumeratorTest
{
[Theory]
[InlineData("223.255.255.255", "223.255.255.254", "223.255.255.253", false)]
[InlineData("1.0.0.0", "1.0.0.1", "1.0.0.2", true)]
... |
using System;
using System.Data;
using CMS.DocumentEngine.Web.UI;
using CMS.Helpers;
using CMS.PortalEngine.Web.UI;
using CMS.SiteProvider;
using CMS.Membership;
using CMS.DataEngine;
public partial class CMSWebParts_Forums_ForumTopContributors : CMSAbstractWebPart
{
#region "Public properties"
/// <summary... |
#if FAT
using NUnit.Framework;
using System;
using System.Collections.Generic;
using System.Linq;
using Theraot.Collections;
namespace Tests.Theraot.Collections
{
[TestFixture]
internal class ExtensionsTest
{
[Test]
public void AddRange()
{
var collection = new List<in... |
using System.Threading.Tasks;
using System.Collections.Generic;
using Rudy.DTO;
using Rudy.Services.Interfaces;
using Rudy.Persistence;
using AutoMapper;
using Rudy.Models;
using Rudy.Common.Data.Pagination;
using System;
namespace Rudy.Services
{
public class ClientService : IClientService
{
private ... |
using System;
namespace GXPEngine
{
internal class Debree : EasyDraw
{
public int healthTimer = 0;
private float _xSpeed, _ySpeed, _distance, _beatMs;
private int frames = 0;
private bool beenHit = false;
Sprite note;
public Debree(float x, float y, float _xTarg, float _yTarg, float beatMs, string tex... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using Microsoft.SharePoint.Client;
using SPM2.Framework;
namespace SPM2.SharePoint.Model
{
public class SPNodeCollection : SPNode, ISPNodeCollection
{
private ISPNode _defaultNode;
... |
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
using Project0.StoreApplication.Domain.Abstracts;
using Project0.StoreApplication.Domain.Interfaces;
using Project0.StoreApplication.Domain.Models;
using Project0.StoreApplication.Storage.Adapters;
using Project0.StoreA... |
using System.Collections.Generic;
using System.Threading.Tasks;
using BulletinBoard.Data.Repositories.Abstract;
using BulletinBoard.Models;
using Microsoft.EntityFrameworkCore;
namespace BulletinBoard.Data.Repositories
{
internal class JobTypeRepository : IJobTypeRepository
{
private readonly Applicat... |
using System;
[Serializable]
public class CarbonCard : ResourceCard
{
public CarbonCard() : base(new CarbonResource())
{
}
}
|
using System.Collections.Generic;
namespace Boo.Lang.Compiler.TypeSystem
{
public interface INamespace : IEntity
{
INamespace ParentNamespace { get; }
bool Resolve(ICollection<IEntity> resultingSet, string name, EntityType typesToConsider);
IEnumerable<IEntity> GetMembers();
}
}
|
using System;
using System.Collections.Generic;
using UnityEngine;
namespace JNNJMods.Utils
{
public class KeyCodeFormatter
{
private static Dictionary<KeyCode, string> keyNames;
public static Dictionary<KeyCode, string> KeyNames
{
get
{
if (key... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Security.Cryptography;
namespace TrustMe
{
/// <summary>
/// Implements helper functionality.
/// </summary>
public static class Helpers
{
/// <summary>
/// Computes the hash of certain parameters used in RSA cer... |
using UnityEngine;
#if UNITY_EDITOR
using UnityEditor;
#endif
/// <summary>
/// (ratio iphone)
/// 562x1000
/// 506x900
/// </summary>
namespace builder
{
[CreateAssetMenu(menuName = "builder/create DataBuildSettingsBridge", order = 100)]
public class DataBuildSettingsBridge : ScriptableObject
{
public D... |
namespace HddFancontrol.ConsoleApp.Tests;
public class GeneralSettingsModelTests
{
[Theory]
[InlineData(-1)]
[InlineData(0)]
public void ShouldHaveInvalidIntervalRange(int interval)
{
var validationErrors = new List<ValidationResult>();
var sut = new GeneralSettings
{
... |
using System.Data.Entity.ModelConfiguration;
using Model;
namespace DataAccess
{
public class LodgingConfiguration : EntityTypeConfiguration<Lodging>
{
public LodgingConfiguration()
{
Property(l => l.Name)
.IsRequired()
.HasMaxLength(200);
}
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using YamlDotNet.Serialization;
namespace FlubuCore.BuildServers.Configurations.Models.AppVeyor
{
public class Build
{
[YamlMember(Alias = "sh")]
public string Shell { get; set; }
[YamlMember(Alias = "ps")]
pub... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace ThePartyReservationFilterModule
{
class Program
{
static void Main(string[] args)
{
var names = Console.ReadLine()
.Split(' ', StringSplitOptions.RemoveEmptyEntries)
.ToList... |
using System;
using System.IO;
using Microsoft.Diagnostics.Tracing;
using System.Collections;
using System.Security.AccessControl;
using System.Security.Principal;
using YaraSharp;
using System.Collections.Generic;
using System.Threading;
namespace SilkService
{
// Enums
public enum CollectorType
{
... |
namespace Simplify
{
public record Point3d : IPoint
{
public Point3d(double x, double y, double z) => Coordinates = (x, y, z);
public (double X, double Y, double Z) Coordinates { get; }
public static implicit operator Point2d(Point3d point) => new (point.Coordinates.X, point.Coordinat... |
using System;
using System.Reflection;
namespace HttpMock.Server.Core
{
public static class VersionHelper
{
public static string GetCurrentAppVersion()
{
Version version = Assembly.GetEntryAssembly()?.GetName().Version;
return version is { } ? version.ToString(2) : string.Empty;
}
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Text.RegularExpressions;
namespace System.Configuration
{
public class RegexStringValidator : Conf... |
namespace BlazorCocoon.Server.Controllers
{
public class CocoonPrincipal
{
public string Name { get; set; }
public bool IsAuthenticated { get; set; }
}
} |
using System.Collections.Generic;
namespace Employees.ViewModels
{
public class EmployeePairViewModel
{
public int EmployeeId { get; set; }
public int EmpoyeeId2 { get; set; }
public int ProjectId { get; set; }
public int DaysWorked { get; set; }
}
}
|
using AutoMapper;
using Picasso2.BLL.BIZ;
using Picasso2.DTO;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace WebApp.Controllers
{
public class TableController : ApiController
{
str... |
//
// (C) Copyright 2003-2019 by Autodesk, Inc.
//
// Permission to use, copy, modify, and distribute this software in
// object code form for any purpose and without fee is hereby granted,
// provided that the above copyright notice appears in all copies and
// that both that copyright notice and the limited war... |
using System;
using System.IO;
using GamePlayer.Botting.CptnCompetent;
using GamePlayer.Botting.SgtStupid;
using GamePlayer.Engine;
using GamePlayer.Engine.Commands;
namespace GamePlayer
{
class Program
{
static void Main(string[] args)
{
//var engine = new GameplayEngine(new SgtSt... |
using System;
using ARComponents;
using UnityEngine;
namespace Common.Dummies {
[CreateAssetMenu(fileName = "DummyPath", menuName = "Custom/DummyPath")]
public class DummyPath :ScriptableObject{
public Coordinate[] coords;
public string key;
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
//
namespace AutoRest.Core {
using Model;
public interface ITransformer<out TResultCodeModel> where TResultCodeModel : CodeModel {
int Priority ... |
using Domain.Repository;
using Domain.Services;
using Domain.Utils;
using Domain.ViewModels;
using System;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
namespace Services
{
public class ImageService : IImageService
{
private readonly IImageRepository _imageRepositor... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace HallOfBeorn.Models.Marvel.ViewModels
{
public class MarvelSearchViewModel
{
private readonly List<MarvelCardViewModel> cards = new List<MarvelCardViewModel>();
publ... |
using System.Linq;
using Grynwald.MdDocs.ApiReference.Configuration;
using Grynwald.MdDocs.ApiReference.Model;
using Grynwald.MdDocs.ApiReference.Model.XmlDocs;
using Grynwald.MdDocs.ApiReference.Templates.Default;
using Microsoft.Extensions.Logging.Abstractions;
namespace Grynwald.MdDocs.ApiReference.Test.Templates.... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.