text stringlengths 1 932k |
|---|
namespace UniversityStudentSystem.Data.Migrations.Helpers
{
public class RandomEmails : IRandomData
{
public string GetData()
{
return @"alexandra.schГ¶n@example.com
dominik.wahl@example.com
lydia.mГјnch@example.com
marta.walter@example.com
anastasia.fiedler@example.com
julius.werne... |
using CadEditor;
using System;
//css_include metal_mech_man_and_machine/MMUtils.cs;
public class Data
{
public OffsetRec getScreensOffset() { return new OffsetRec(0xc610, 31 , 16*15, 16, 15); }
public bool isBigBlockEditorEnabled() { return false; }
public bool isBlockEditorEnabled() { return true; }
... |
using System;
using System.Collections.Generic;
using System.Text;
using NationalInstruments.DAQmx;
using DAQ.Environment;
using DAQ.HAL;
using EDMConfig;
namespace EDMBlockHead.Acquire.Channels
{
public class AnalogSwitchedChannel : SwitchedChannel
{
public string Channel;
private bool currentState = false;
... |
namespace AMP.Models
{
public interface IValidationDictionary
{
void AddError(string key, string errorMessage);
bool IsValid { get; }
}
} |
using UnityEngine;
namespace Shiroi.Cutscenes.Editor.Util {
public static class RectUtil {
public static Rect SubRectLine(this Rect rect, uint lines) {
var toRemove = ShiroiStyles.SingleLineHeight * lines;
return new Rect(rect.x, rect.y, rect.width, rect.height - toRemove);
... |
using Microsoft.Office.Interop.Access.Dao;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AJMigratorApp.Data
{
class OficiosDAO
{
private DBEngine dbe;
private Database db;
public OficiosDAO()
{
... |
// *****************************************************************************
//
// © Component Factory Pty Ltd, 2006 - 2016. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, PO Box 1504,
// Glen Waverley, Vic... |
using EddiCore;
using EddiEvents;
using Newtonsoft.Json.Linq;
using SimpleFeedReader;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using System.Net;
using System.Resources;
using System.Text.RegularExpressions;
using System.Threading;
using System.Wind... |
using Microsoft.UI;
using Microsoft.UI.Windowing;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Media;
using System;
using System.Diagnostics;
using System.IO;
using Windows.Graphics;
using WinRT.Interop;
using static CollapseLauncher.InnerLauncherConfig;
using static Hi3Helper.Data.ConverterTool;
using static Hi3H... |
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
using MonoMod.InlineRT;
using SDL2;
using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Text;
using XnaToFna.ProxyForms;
namespace XnaToFna {
public static class KeyboardEven... |
using Telerik.UI.Xaml.Controls.Data.DataForm;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Data;
namespace Telerik.UI.Xaml.Controls.Data
{
/// <summary>
/// Represents an EnumEditor control.
/// </summary>
public class EnumEditor : ComboBox, ITypeEditor, IEditor
{
... |
using System;
using System.Collections.Generic;
namespace Dn6Poc.TravalApi.Models
{
public partial class Blog
{
public Blog()
{
BlogPosts = new HashSet<BlogPost>();
}
public int Id { get; set; }
public string Name { get; set; } = null!;
public int R... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Management.Automation;
using PrtgAPI.Attributes;
using PrtgAPI.Parameters;
using PrtgAPI.PowerShell.Base;
using PrtgAPI.Targets;
using PrtgAPI.Utilities;
namespace PrtgAPI.P... |
namespace PlugSharp.Data
{
public struct Score
{
public int grabs; // Amount of grabs
public int listeners; // Amount of listeners
public int negative; // Amount of mehs
public int positive; // Amount of woots
public int skipped; // ... |
using System;
namespace BarterEvolution.Web.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} |
using MahApps.Metro.Controls;
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.Documents;
using System.Windows.Input;
using System.Windows.Media;
using... |
/*
Copyright (C) 2018-2019 de4dot@gmail.com
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SqlOptimizerBenchmark.Controls.BenchmarkTreeView
{
public class ScriptTreeNode : BenchmarkObjectTreeNode
{
public ScriptTreeNode(Benchmark.Script script, BenchmarkTreeView benc... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Response to UserCommunicationBarringAuthorizationCodeGetListRequest.
/// Cont... |
/* Copyright (c) Citrix Systems Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms,
* with or without modification, are permitted provided
* that the following conditions are met:
*
* * Redistributions of source code must retain the above
* copyright notice, this li... |
namespace Validator
{
public enum UuidVersion
{
Any = 0,
Three = 3,
Four = 4,
Five = 5
}
} |
// Copyright 2020 Energinet DataHub A/S
//
// Licensed under the Apache License, Version 2.0 (the "License2");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using EasyMigrator.Extensions;
using Migrator.Framework;
namespace EasyMigrator
{
static public class PrimaryKeyExtensions
{
static public void AddPrimaryKey<TTable>(this ITransformati... |
using Content.Client.GameObjects.Components.Mobs;
using Content.Client.UserInterface;
using Content.Shared.GameObjects.Components.Mobs;
using Content.Shared.GameObjects.EntitySystemMessages;
using Content.Shared.GameObjects.EntitySystems;
using Content.Shared.Input;
using JetBrains.Annotations;
using Robust.Client.Game... |
using DataAccessor.Common;
using System.Collections.Generic;
namespace DataAccessor.Models
{
public class Vendor : Entity
{
public ServiceType ServiceType { get; set; }
public string Name { get; set; }
public double BaseCost { get; set; }
public Dictionary<string, float> Factor... |
using System;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using MoatGate.Models.AspNetIIdentityCore.EntityFramework;
namespace MoatGate.Pages.Account
{
public class ConfirmEmailModel : PageModel
{
private... |
// 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.
/******************************************************************************
* This file is auto-generated from ... |
using System;
using System.Numerics;
using System.Runtime.InteropServices;
using AltV.Net.Data;
using AltV.Net.Native;
using AltV.Net.Shared.Elements.Entities;
namespace AltV.Net.Elements.Entities
{
public class Blip : WorldObject, IBlip
{
public IntPtr BlipNativePointer { get; }
public overrid... |
// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.
namespace System.Data.Entity.Core.Mapping
{
using System.Data.Entity.Core.Metadata.Edm;
using System.Data.Entity.Utilities;
using System.Globalization;
/// <summary>
... |
using Microsoft.Extensions.Logging;
namespace Microsoft.ApplicationInsights.Kubernetes
{
internal class KubeHttpClientFactory
{
public KubeHttpClientFactory(ILogger<KubeHttpClientFactory> logger, ILoggerFactory loggerFactory)
{
_logger = Arguments.IsNotNull(logger, nameof(logger));... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
namespace GeoplacementClicker.Persistence.Migrations
{
public partial class InitialCreate : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrat... |
using System;
using System.Collections.Generic;
using System.Text;
namespace StudioCore
{
public class SavingFailedException : Exception
{
public string Filename;
public Exception Wrapped;
public SavingFailedException(string fname, Exception wrapped)
: base($@"Failed to sa... |
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
#region Usings
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Con... |
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See LICENSE in the project root for license information.
//
using HoloToolkit.Sharing.Spawning;
using HoloToolkit.Sharing.SyncModel;
using HoloToolkit.Sharing.Tests;
namespace HoloToolkit.Sharing
{
/// <summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Configuration;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.Deploy;
using Umbraco.Core.Models;
using Umbra... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
namespace MyServer.ViewComponents.Common.Components.Social.Controllers
{
using Microsoft.AspNetCore.Mvc;
public class SocialViewComponent : ViewComponent
{
public IViewComponentResult Invoke()
{
return this.View();
}
}
} |
namespace Haland.DotNetTrace;
public class TraceHttpMessageHandler : DelegatingHandler
{
private readonly IServiceProvider _serviceProvider;
public TraceHttpMessageHandler(IServiceProvider serviceProvider)
{
_serviceProvider = serviceProvider;
}
protected override Task<HttpResponseMessag... |
using System;
using MarkupExtensionConverter.Base;
namespace MarkupExtensionConverter
{
public class SampleOneWayConverter : GenericMarkupExtensionConverterOneWay<SampleOneWayConverter, int>
{
public override object Convert(int value)
{
throw new NotImplementedException();
}... |
#region Usings
using System;
#endregion
namespace Extend
{
/// <summary>
/// Class containing some extension methods for <see cref="short" />.
/// </summary>
public static partial class Int16Ex
{
/// <summary>
/// Returns a date-time representing the specified day in July... |
using System;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Web.Http.Controllers;
using System.Web.Http.Description;
using System.Xml.XPath;
using LMSAPI.Areas.HelpPage.ModelDescriptions;
namespace LMSAPI.Areas.HelpPage
{
/// <summary>
/// A custom <see cref="IDocumentati... |
using CertificateManager.Entities.Extensions;
using CertificateManager.Entities.Interfaces;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
namespace CertificateManager.Entities
{
public class SetRoleScopesModel : ILoggableEntity
{
public Guid RoleId { get; set; }
public... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
namespace Smellyriver.TankInspector.UIComponents
{
internal interface IAccessoryViewModel : ISlotViewModel, IChangableComponent, IDetailedDataRelatedComponent
{
double GetWeight(double tankWeight);
string Icon { get; }
void NotifyIsEquippedChanged();
}
} |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Collections.Generic;
using System.Threading.Tasks;
using Yarp.ReverseProxy.Model;
namespace Yarp.ReverseProxy.Health
{
/// <summary>
/// Actively monitors destinations health.
/// </summary>
public interface IActiv... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
namespace QarnotCLI.Test
{
public static class HttpPoolObject
{
public const string PoolResponseUuid = "f78fdff8-7081-46e1-bb2f-d9cd4e185ece";
public const string PoolResponseName = "pool_name";
public const string PoolsListUuid = "796a5321-0001-4a5c-2f42-54cce169dff8,796a5321-0002-4a5... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace Tiveria.Common.IO
{
/// <summary>
/// A <see cref="BinaryWriter"/> based class that allows specifying endianess on a individual write level.
/// </summary>
public class IndividualEndianessBinaryWriter : Binar... |
namespace AngleSharp.Html.InputTypes
{
using AngleSharp.Dom.Html;
using System;
class CheckedInputType : BaseInputType
{
#region ctor
public CheckedInputType(IHtmlInputElement input, String name)
: base(input, name, validate: true)
{
}
#endregion
... |
[CompilerGeneratedAttribute] // RVA: 0x157540 Offset: 0x157641 VA: 0x157540
private sealed class AS_MagicController.<>c__DisplayClass12_2 // TypeDefIndex: 6160
{
// Fields
public Transform parent; // 0x10
public AS_MagicController.<>c__DisplayClass12_1 CS$<>8__locals2; // 0x18
// Methods
// RVA: 0x1E66650 Offset... |
namespace _05.BorderControl
{
using _05.BorderControl.Core;
public class StartUp
{
public static void Main()
{
Engine engine = new Engine();
engine.Run();
}
}
} |
using System.Collections.Generic;
using MAVN.Service.AdminAPI.Interfaces.ActionRules;
namespace MAVN.Service.AdminAPI.Interfaces.SmartVouchers.Campaigns
{
public interface ISmartVoucherCampaignWithMobileContentsRequest<T> : ISmartVoucherCampaignBaseRequest where T : IMobileContentRequest
{
IEnumerable... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
using System;
using System.IO;
using System.Windows.Forms;
using Microsoft.Win32;
namespace SMTP_Free_frontend
{
public partial class frmMain : Form
{
string sSettingsPath = Path.Combine(Application.StartupPath, "settings.ini");
string sUUID = "";
public frmMain()
{
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.ComponentModel;
using System.Net;
using System.Net.Http;
using Microsoft.Azure.Cosmos;
using Microsoft.EntityFrameworkCore.Cosmos.Infrastructure.Internal;
... |
using Microsoft.Xna.Framework;
using System;
using Terraria.DataStructures;
namespace Terraria.ModLoader
{
public static class CombinedHooks
{
public static void ModifyWeaponDamage(Player player, Item item, ref StatModifier damage, ref float flat) {
ItemLoader.ModifyWeaponDamage(item, player, ref damage, ref f... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace Telnyx.net.Services.Calls.Models
{
[JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))]
public enum Answer... |
#region License
//
// Copyright (c) 2007-2018, Sean Chambers <schambers80@gmail.com>
//
// 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
//
... |
using System;
namespace ProjectUntitled.Models.ViewModels
{
public class PagingInfo
{
public int TotalItems { get; set; }
public int ItemsPerPage { get; set; }
public int CurrentPage { get; set; }
public int TotalPages => (int)Math.Ceiling((decimal)TotalItems / ItemsPerPage);
... |
namespace Skeleton.Common.Extensions
{
using System;
using System.Collections.Generic;
using System.Linq;
public static class EnumerableExtensions
{
/// <summary>
/// Determines whether sequence is null or contains no elements
/// </summary>
/// <typeparam name="T">... |
using UnityEngine;
using System.Collections;
public class GameController : MonoBehaviour {
public GameObject hazard;
public Vector3 SpawnValues;
public int hazardCount;
public float spawnWait;
public float startWait;
public float waveWait;
public GUIText scoreText;
public GUIText restartText;
public GUITex... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Ej... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web.Http;
using System.Web... |
#region License
// Copyright (c) Jeremy Skinner (http://www.jeremyskinner.co.uk)
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// ... |
// Copyright (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.Collections.Generic;
using Microsoft.AspNetCore.Routing.DecisionTree;
using Microsoft.AspNetCore.Routing.Tree;
namespace Mic... |
using Microsoft.VisualStudio.TestTools.UnitTesting;
using PKISharp.WACS.Clients.IIS;
using PKISharp.WACS.Configuration;
using PKISharp.WACS.Configuration.Arguments;
using PKISharp.WACS.DomainObjects;
using PKISharp.WACS.Extensions;
using PKISharp.WACS.Plugins.TargetPlugins;
using PKISharp.WACS.Services;
using PKISharp... |
@model ServiceViewModel
@{
ViewData["Title"] = "Account creation";
}
@if (!String.IsNullOrWhiteSpace(Model.ServiceDisplayName))
{
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<h1 class="govuk-heading-xl page-title page-title--tight">Account creation</h1>
... |
using System.IO;
using System.Linq;
using System.Net.Sockets;
using Kyru.Core;
using Kyru.Network.Objects;
using Kyru.Utilities;
using ProtoBuf;
namespace Kyru.Network.TcpMessages.ServerState
{
internal sealed class StoreObjectState : IServerState
{
private readonly KyruApplication app;
private readonly StoreO... |
using System.Collections.Generic;
using OCP.Files;
namespace OC.Files.AppData
{
public class Factory {
/** @var IRootFolder */
private IRootFolder rootFolder;
/** @var SystemConfig */
private SystemConfig config;
private IDictionary<string,AppData> folders = new Dictionar... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Response to SystemBroadWorksReceptionistEnterpriseGetRequest.
/// Contains a ... |
namespace MyPlacesBox.Web.ViewModels.Hikes
{
using System.Collections.Generic;
public class HikesListInputModel : PagingViewModel
{
public IEnumerable<HikeInListInputModel> Hikes { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace StuApi
{
public class Program
{
publ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenTK.Graphics.OpenGL;
namespace Minotaur.Graphics
{
public class TextureCube : Texture
{
private int _width;
private int _height;
public override int Width { get { return _width; } }
public override int... |
using System;
namespace TygaSoft.Model
{
[Serializable]
public partial class MesOrderInfo
{
public MesOrderInfo() { }
public MesOrderInfo(Guid id, Guid userId, string oBarcode, string pBarcode, string pdBarcode, string ptBarcode, double qty, DateTime startDate, DateTime endDate, int sort,... |
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using InstructorIQ.Core.Domain.Models;
using InstructorIQ.Core.Domain.Queries;
using InstructorIQ.Core.Multitenancy;
using InstructorIQ.WebApplication.Models;
using MediatR;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Log... |
@using System.Web.Http
@using System.Web.Http.Controllers
@using System.Web.Http.Description
@using System.Collections.ObjectModel
@using api.Areas.HelpPage.Models
@model Collection<ApiDescription>
@{
ViewBag.Title = "ASP.NET Web API Help Page";
// Group APIs by controller
ILookup<HttpControllerDescriptor... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect Corporation.
*
* 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 ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Mono.Cecil;
using Mono.Cecil.Cil;
using Mono.Cecil.Pdb;
using Mono.Cecil.Rocks;
using XamlX.IL;
namespace XamlX.TypeSystem
{
#if !XAMLX_CECIL_INTERNAL
public
#endif
partial class CecilTypeSystem : IXamlTypeSystem... |
using Songhay.Models;
using System;
using System.Net.Http;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Songhay.Extensions
{
/// <summary>
/// Extensions of <see cref="HttpRequestMessage"/>
/// </summary>
public static partial class HttpRequestMessageExtensions
... |
using System;
using Etdb.ReportingService.Domain;
using Etdb.ReportingService.Repositories.Abstractions;
using Etdb.ServiceBase.DocumentRepository;
namespace Etdb.ReportingService.Repositories
{
public class UserAuthenticationsRepository : GenericDocumentRepository<UserAuthentication, Guid>, IUserAuthenticationsRe... |
using System;
using AopCache.Core.Abstractions;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.OpenApi.Models;
namespace AopCache.EventTestWeb
{
pub... |
namespace GraphQL.Relay.StarWars.Api
{
public static class UriListExtensions
{
public static IEnumerable<string> ToIds(this IList<Uri> list)
{
return list
.Select(url => url?.ToString().Split('/')[5]);
}
}
public interface ISwapiResponse { }
publ... |
using System;
using System.Linq;
using System.Collections.Generic;
using UnityEngine;
namespace PubNubAPI
{
public class PublishBuilder
{
private readonly PublishRequestBuilder pubBuilder;
public PublishBuilder(PubNubUnity pn, uint counter){
pubBuilder = new PublishReq... |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... |
namespace TextUml.Models
{
using System.ComponentModel.DataAnnotations;
public class DocumentEdit
{
[Required]
public string Title { get; set; }
public string Content { get; set; }
}
} |
namespace Lyt.World.Engine
{
using Lyt.CoreMvvm.Extensions;
using System;
using System.Diagnostics;
public class Value
{
public readonly Simulator Simulator;
public readonly string Name;
public readonly int Number;
public readonly string Units;
private ... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
using System;
using System.Linq.Expressions;
namespace NuPattern.Runtime.ToolkitInterface
{
internal class AbstractElementProxy<TInterface> : ContainerProxy<TInterface>, IAbstractElementProxy<TInterface>
{
private IAbstractElement element;
public AbstractElementProxy(IAbstractElement element)... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18052
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
//*******************************************************************************************//
// //
// Download Free Evaluation Version From: https://bytescout.com/download/web-installer //
// ... |
//-----------------------------------------------------------------------
// <copyright file="TestableDataPortal.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Basically this test class exposes protected DataPortal const... |
// <auto-generated />
using System;
using BookManagementSystem.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Oracle.EntityFrameworkCore.Metadata;
namespac... |
using System;
using System.IO;
using System.Text;
namespace osq.TreeNode {
[DirectiveAttribute("for")]
internal class ForNode : DirectiveNode {
public string Variable {
get;
private set;
}
public TokenNode Start {
get;
private set;
... |
using System;
namespace Naticon.Tags.Repeaters
{
public class EnumRepeaterDayPortion : RepeaterDayPortion<DayPortion>
{
private static readonly Range AFTERNOON_RANGE = new Range(13 * 60 * 60, 17 * 60 * 60); // 1pm-5pm
private static readonly Range AM_RANGE = new Range(0, 12 * 60 * 60); // 12am-12pm
private sta... |
using System.Collections.Generic;
using System.Data.Common;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.Linq;
using System.Reflection;
using System.Text;
namespace System.Data.Linq.SqlClient {
internal static class SqlTypeSystem {
internal static TypeSystemProvider Cre... |
using System.Linq;
using ETModel;
namespace ETHotfix
{
[MessageHandler]
public class Actor_RoomSmallSettlementHandler : AMHandler<Actor_CowCowRoomOpenCardsAndSettlement>
{
protected override void Run(ETModel.Session session, Actor_CowCowRoomOpenCardsAndSettlement message)
{
UIC... |
using System;
using System.Collections.Generic;
using System.IO;
using System.IO.Compression;
using System.Runtime.InteropServices;
using Microsoft.DotNet.Cli.Build.Framework;
using Microsoft.Extensions.PlatformAbstractions;
using static Microsoft.DotNet.Cli.Build.Framework.BuildHelpers;
namespace Microsoft.DotNet.C... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.