content stringlengths 23 1.05M |
|---|
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using OCM.API.Common.Model;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.IO;
using System.Linq;
using System.Text;
using System.Web.Script.Serialization;
namespace OCM.Import.Providers
{
public class ImportProvider_PS :... |
using System;
using System.Linq;
using System.Windows;
using System.Windows.Controls;
using ModelBazy;
using UI;
using WypozyczalniaElektronarzedzi;
namespace WypozyczalniaElektronarzedzi
{
/// <summary>
/// Logika interakcji dla klasy DodawaniePracownika.xaml
/// </summary>
public partial class Dodaw... |
//
// Please make sure to read and understand README.md and LICENSE.txt.
//
// This file was prepared in the research project COCOP (Coordinating
// Optimisation of Complex Industrial Processes).
// https://cocop-spire.eu/
//
// Author: Petri Kannisto, Tampere University, Finland
// File created: 3/2019
// Last modif... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using Azure.Core;
namespace Azure.Storage.Blobs.Models
{
/// <summary>
/// Optional parameters for downloading a range of a blob.
/// </summary>
public class BlobDownloadOptions
{
... |
namespace Gang.State.Commands
{
public interface IGangCommand
{
object Data { get; }
GangAudit Audit { get; }
}
} |
using System;
using System.Collections.Generic;
namespace Observer
{
internal class CentralBank : IObservable
{
private readonly List<IObserver> _observers;
private ExchangeRates _rates;
public CentralBank()
{
_observers = new List<IObserver>();
_rates = new ExchangeRates
{
UsdRub = 60,
E... |
namespace SampleApp.DatabaseObjects.Oracle
{
public class CustomerCountryByID_SP : OracleDatabaseObject
{
public override string ExecuteSqlCreateString(string defaultSchema)
{
return
$"CREATE OR REPLACE PROCEDURE {defaultSchema}.GETCOUNTRYBYCUSTOMERID(\n" +
... |
// 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.
namespace Owin.Scim.Patching.Operations
{
using System;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
public class Operatio... |
using System;
using System.Reflection;
using GHIElectronics.TinyCLR.Devices.SecureStorage;
namespace Bytewizer.Playground
{
public class SettingsProvider
{
private static bool _initialized;
private static readonly object _lock = new object();
public static SecureStorageController ... |
using System;
namespace Account.Service.Domain.Entities
{
public class Account
{
/// <summary>
/// Gets or sets the account id
/// </summary>
public int AccountId { get; set; }
/// <summary>
/// Gets or sets the user
/// </summary>
public virtua... |
using Circle.Game.Beatmaps;
using osu.Framework.Graphics;
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Sprites;
using osuTK;
namespace Circle.Game.Screens.Select.Carousel
{
public class PanelContent : Container
{
public PanelContent(BeatmapInfo info)
{
Rela... |
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace GitDependencies
{
public class WorkingFile
{
[XmlAttribute]
public string Name;
[XmlAttri... |
using NUnit.Framework;
using Sanatana.Notifications.DAL.Entities;
using Sanatana.Notifications.DAL.EntityFrameworkCore;
using Sanatana.Notifications.DAL.EntityFrameworkCore.Context;
using Sanatana.Notifications.DAL.EntityFrameworkCoreSpecs.TestTools.Interfaces;
using SpecsFor;
using System;
using System.Collections.Ge... |
namespace FluentLinqToSql.Tests {
using System.Linq;
using System.Xml.Linq;
using Mappings;
using NUnit.Framework;
[TestFixture]
public class BelongsToTester {
private BelongsToMapping<Order, Customer> mapping;
[SetUp]
public void Setup() {
mapping = new BelongsToMapping<Order, Customer>(typeof(Order).... |
using System;
using System.Windows;
namespace ArtZilla.Wpf {
public interface IFormStorage {
Boolean Save(Window window);
Boolean Restore(Window window);
}
} |
using System;
using System.Collections.Generic;
using System.IO;
namespace _200oker
{
public class FlatFileProvider
{
public List<UrlToCheck> GetChecks(string filename)
{
var checks = new List<UrlToCheck>();
if (!File.Exists(filename))
throw new Argumen... |
using pjsip4net.Core.Data;
using pjsip4net.Core.Interfaces;
using pjsip4net.IM;
namespace pjsip4net.Interfaces
{
public interface IBuddy : IInitializable
{
int Id { get; }
string Uri { get; set; }
bool Subscribe { get; set; }
string Contact { get; }
BuddyStat... |
using System.Reflection;
using Newtonsoft.Json;
namespace LiveObjects.ModelDescription
{
public class PropertyDescriptor
{
[JsonIgnore]
public PropertyInfo PropertyInfo { get; set; }
public string Name => PropertyInfo.Name;
public string CsTypeName => PropertyInfo.Pr... |
public class ProfiBrainSettings
{
public int codeLength = 4;
public int numberOfColors = 4;
public bool emptyInputs = false;
public bool onlyUsedColors = false;
public bool orderedEval = false;
}
|
using UnityEngine;
using System.Collections;
namespace BlGame.Resource
{
//这是场景的环境光和雾效等设定
public class EnviromentSetting : MonoBehaviour
{
public bool isFogOn;
public Color fogColor;
public FogMode fogMode;
public float fogDensity;
public float linearFogStart;
... |
using NQuery.Syntax;
namespace NQuery.Authoring.Selection.Providers
{
internal sealed class ArgumentListSelectionSpanProvider : SeparatedSyntaxListSelectionSpanProvider<ArgumentListSyntax, ExpressionSyntax>
{
protected override SeparatedSyntaxList<ExpressionSyntax> GetList(ArgumentListSyntax node)
... |
using System.Threading.Tasks;
namespace PurviewAutomation.Clients;
internal interface ILineageOnboardingClient
{
internal Task AddLineageManagedPrivateEndpointsAsync();
internal Task OnboardLineageAsync(string principalId);
}
|
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//
using System;
namespace Raytracer
{
static class Surfaces
{
// Only works with X-Z plane.
public static readonly Surface CheckerBoard... |
// ======================================
// Copyright © 2019 Vadim Prokopchuk. All rights reserved.
// Contacts: mailvadimprokopchuk@gmail.com
// License: http://opensource.org/licenses/MIT
// ======================================
using System;
using System.Collections.Generic;
using System.Windows.Media;
using PR... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;
namespace SocialApis.Mastodon
{
[DataContract]
public class Attachment
{
[DataMember(Name = "id")]
[Utf8Json.JsonFormatter(typeof(Formatte... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
class Program
{
static void Main(string[] args)
{
string[] line = Console.ReadLine().Split();
int n = int.Parse(line[0]);
int s = int.Parse(line[1]);
int x = int.Parse(line[2]);
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class OgreMeleeState : IOgreState
{
private Ogre enemy;
private float attackTimer;
private float attackCoolDown = 1.5f;
private bool canExit = true;
bool preattack = false;
float timer;
float delay = 0.1... |
using System;
using System.Collections.Generic;
namespace PeefyLeetCode.GenerateParenthesis
{
public class Solution {
public IList<string> GenerateParenthesis(int n) {
List<string> res = new List<string>();
recursive(n, 0, 0, res, "");
return res;
}
void recursive(int n, int c... |
using UnityEngine;
using System.Collections.Generic;
public class CityGenerator : MonoBehaviour
{
// Use this for initialization
void Start()
{
//Random.InitState(123);
float[,] heightmap = new float[1024, 1024];
for (int x=0; x<1024; x++)
{
for (int y=0; y<102... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Mercury.Clients.Mvc.Views.Forms {
public class FormRenderEngine {
#region Private Properties
#endregion
#region Public Properties
#endregion
#region Constructors
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace zertoBulkCreate.Models
{
public class ZvmConnection
{
public static string zvm;
public static string zvm_username;
public static string zvm_password;
}
}
|
/*
* Database message model.
*
* @author Michel Megens
* @email michel@michelmegens.net
*/
using System;
using System.ComponentModel.DataAnnotations;
using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Driver.GeoJsonObjectModel;
using Newtonsoft.Json;
using SensateIoT.Platform.Netw... |
using System;
using System.Collections.Generic;
using System.Text;
namespace JieDDDFramework.Core.EntitySpecifications
{
public interface ICreatedTimeState
{
DateTime CreatedTime { get; }
}
}
|
using System;
namespace funkyBot.Objects
{
[Serializable]
public class LuisResult
{
public string query { get; set; }
public Topscoringintent topScoringIntent { get; set; }
public Intent[] intents { get; set; }
public Entity[] entities { get; set; }
}
... |
namespace MovieLibrary.Models
{
/// <summary>
/// oqiasjf;ojas;odfh
/// </summary>
/// <remarks></remarks>
/// <example></example>
public class Director : IDirector
{
public string Name { get; set; }
public override string ToString()
{
return "<< " + Nam... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FireBreath : FireZone {
/// <summary>
/// Initial radius the breath will have
/// </summary>
public float initialRadius;
/// <summary>
/// Final radius the breath will have
/// </... |
//
// Gendarme.Rules.Design.UseFlagsAttributeRule
//
// Authors:
// Jesse Jones <jesjones@mindspring.com>
//
// Copyright (C) 2009 Jesse Jones
//
// 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 S... |
using PulsarPluginLoader.Chat.Commands.CommandRouter;
namespace PulsarPluginLoader.Chat.Commands
{
class ClearCommand : ChatCommand
{
public override string[] CommandAliases()
{
return new string[] { "clear" };
}
public override string Description()
{
... |
using System.Collections.Generic;
using System.Runtime.Serialization;
namespace Eciton
{
/// <summary>登録された処理を複文のスタイルで順に実行し、最後に実行した値を返却する関数を表します。</summary>
[DataContract]
public class EcitonSequence : EcitonObject
{
//TODO: ほんとはList相当な処理が欲しい?
[DataMember]
private readonly List... |
using GoogleApi.Attributes;
using GoogleApi.Places.Search.Types;
using GoogleApi.Places.Types;
using GoogleApi.QueryBuilder;
namespace GoogleApi.Places.Search.ParameterBuilder.QueryBuilder
{
internal class SearchQueryBuilderBase : QueryBuilderBase
{
public SearchQueryBuilderBase(string baseUrl, string apiKey) ... |
using EnvDTE;
namespace EnvDTE80
{
public delegate void _dispCodeModelEvents_ElementDeletedEventHandler(
object Parent,
CodeElement Element);
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace ADTeam5.Models
{
public partial class Department
{
public Department()
{
DisbursementList = new HashSet<DisbursementList>();
EmployeeRequestRecord = new HashSet<Employ... |
@using ApiaryDiary.Controllers.Models.QueenBees
@model AddQueenBeePostModel
<div class="container-fluid">
<form asp-action="Create" method="post" class="form">
<div class="form-group">
<label asp-for="QueenType"></label>
<select asp-for="QueenType" class="form-control col-md-4"
... |
using System;
using Xunit;
namespace AzureDevOps.WikiPDFExport.Test
{
public class PDFTests
{
[Fact]
public void FlatFileTest()
{
}
}
}
|
// 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;
using Xunit;
using FluentAssertions;
namespace Microsoft.DotNet.Interactive.SqlServer.Tests
{
public class MsSqlServiceClientT... |
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Cimbalino.Toolkit.Extensions;
using KursyWalut.Cache;
using KursyWalut.Extensions;
using KursyWalut.Model;
using KursyWalut.Progress;
using KursyWalut.Pro... |
using System.Reflection;
namespace CouchPotato.Odm {
/// <summary>
/// Contain information for loading related entities using view(s).
/// </summary>
internal class LoadRelatedWithViewInfo {
private readonly PropertyInfo propInfo;
private readonly string viewName;
public LoadRelatedWithViewInfo(P... |
using PS.Patterns.Aware;
namespace PS.WPF.Controls.BusyContainer
{
public class BusyState : BaseNotifyPropertyChanged,
IMutableTitleAware,
IMutableDescriptionAware
{
private string _description;
private string _title;
#region C... |
namespace SmartConnect.Web.ViewModels.Deals
{
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Common;
using Data.Models;
using Infrastructure.Mappings;
public class DealViewModel : BaseViewModel<Deal, int>, IMapFrom<Deal>
{
[Required]
[... |
using BookFast.SeedWork;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Formatters;
using Microsoft.Extensions.Options;
using Newtonsoft.Json;
using System;
using System.Text;
using System.Threading.Tasks;
namespace BookFast.Api.Formatters
{
internal class Business... |
using System;
namespace StackCalculatorProgram
{
public class StackArray<T> : IStack<T>
{
private T[] arr;
private int size = 0;
private int capacity = 100;
public StackArray()
{
arr = new T[capacity];
}
private void SizeUp()
{
T[] newArr = new T[capacity * 2];
for (int i = 0; i < capacit... |
using System.Drawing;
using System.Runtime.Versioning;
using System.Windows.Forms;
namespace MagicalNuts.UI.Base
{
/// <summary>
/// Controlの拡張を表します。
/// </summary>
[SupportedOSPlatform("windows")]
public static class ControlExtensions
{
/// <summary>
/// Controlを左寄せします。
/// </summary>
//... |
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Car.BLL.Services.Interfaces;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Drive.v3;
using Google.Apis.Services;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using File = Google.Apis.Drive.v3.Data... |
using DesignPattern.Observer.Subject;
namespace DesignPattern.Observer.Observer
{
/// <summary>
/// 抽象观察类 - IObserver接口
/// </summary>
public interface IObserver
{
string Name { get; set; }
void Help(); // 声明支援盟友的方法
... |
namespace gs.FillTypes
{
public class BridgeFillType : BaseFillType
{
private readonly double bridgeSpeed;
public BridgeFillType(double volumeScale = 1, double speed = 1) : base(volumeScale)
{
bridgeSpeed = speed;
}
public static string Label => "bridge";
... |
using HarmonyLib;
using RimWorld;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using System.Text;
using System.Threading.Tasks;
using Verse;
using static HarmonyLib.AccessTools;
namespace RimThreaded
{
class WorkGiver_DoBill_Transpile
{... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine.UI;
using UnityEngine;
public class MainCol : MonoBehaviour {
GameObject Player1Obj;
GameObject Player2Obj;
GameObject CameraObj;
GameObject FadeObj;
GameObject BgmObj;
GameObject WinObj;
GameObject StageObj;
... |
@{
ViewData["Title"] = "Configuration Data refreshed from Config Server";
}
<h2>Configuration refresh complete!</h2>
|
//=============================================================================
// System : ASP.NET Web Control Library
// File : NumericTextBox.cs
// Author : Eric Woodruff (Eric@EWoodruff.us)
// Updated : Fri 02/20/04
// Note : Copyright 2002-2004, Eric Woodruff, All rights reserved
// Compiler: Microsoft Vi... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System;
using System.Windows;
using System.Windows.Markup;
using System.Windows.Media;
namespace ModernWpf.T... |
using UnityEngine;
public abstract class EnemyBase : MonoBehaviour, IShootable {
public enum EnemyTypes
{
Undefined, Ground, Air
}
public EnemyTypes Type;
public event System.Action<EnemyBase> OnDeath = delegate { };
/// <summary>
/// Animations and additional effects to go here... |
namespace WinTerMul
{
internal interface ITerminalFactory
{
ITerminal CreateTerminal();
}
}
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
#pragma warning disable 1591
namespace CoreAngular.Model
{
public class ProductViewModel
{
public long ProductId { get; set; }
public string Name { get; set; }
public string ProductNumber {... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using GuruDataModel;
using GuruBO;
namespace Admin.Areas.Administrador.Controllers
{
public class CategoriaController : Controller
{
CategoriaBO bo = new CategoriaBO();
//
// GET: /Administr... |
namespace fmdev.ArgsParser
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
[AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)]
public sealed class CommandArgAttribute : Attribute... |
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;
using System.Linq;
using System.Text.RegularExpressions;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public class DatabaseModel: Observable
{
public SqlConnection ModelCon... |
using System;
using System.Drawing;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WinSync.Controls
{
public class AnimatedProgressBar : ProgressBar
{
const int frameRate = 200; //in frames per second
const float animationStep = 1; //in percent
float _value = 0;
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace WikiLibs.Models
{
public abstract class PatchModel<Model, DataModel>
where Model : PatchModel<Model, DataModel>, new()
where DataModel : new()
{
public abstract DataModel CreatePatch(in DataModel current);
... |
using io.rong.models.response;
using io.rong.methods.chatroom;
using io.rong.methods.chatroom.demotion;
using io.rong.models.chatroom;
using io.rong.util;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Newtonsoft.Json;
using io.rong.models.conversation;
nam... |
using UnityEngine;
using System.Collections;
public class TumbleweedMotion : MonoBehaviour {
float wind = 7;
// Use this for initialization
void Start () {
rigidbody.velocity = new Vector3(0,Random.value * 2,0);
}
void Update () {
rigidbody.AddForceAtPosition(new Vector3(wind, 2, 0), transform.positio... |
@{
Layout = null;
}
Origin: cydia.kemmis.info
Label: cydia.kemmis.info
Suite: stable
Version: 1.3
Codename: ios
Architectures: iphoneos-arm
Components: main
Description: cydia.kemmis.info
|
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
namespace Draco.Api.Proxies
{
/// <summary>
/// Shared configuration object needed to create internal API proxies.
/// </summary>
public class ProxyConfiguration
{
public ProxyConfiguration() { }
public Pro... |
using Serilog.Configuration;
namespace Serilog.Sinks.Prometheus
{
public static class LoggerSincConfigurationExtensions
{
public static LoggerConfiguration Prometheus(this LoggerSinkConfiguration sinkConfiguration)
{
return sinkConfiguration.Sink(new PrometheusLogLevelEventSink());
}
}
} |
using System;
namespace HttpService.Interface
{
public interface IHttpServer
{
Uri Uri { get; }
void Close();
void Start();
}
} |
//
// Copyright (c) 2003-2006 Jaroslaw Kowalski <jaak@jkowalski.net>
// Copyright (c) 2006-2014 Piotr Fusik <piotr@fusik.info>
//
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//... |
namespace ScriptableObjects.ScriptableArchitecture.Framework.Utility
{
public class GenericValueWrapper < T >
{
public T Value { get; set; }
#region Public
public GenericValueWrapper( T value )
{
Value = value;
}
public override string ToString()
{
return $"{nameof( Valu... |
@model COMCMS.Core.Member
@{
ViewBag.title = "查看/编辑用户详情";
}
<div class="wrapper wrapper-content">
<div class="ibox float-e-margins">
<div class="ibox-title">
<h5>@ViewBag.title</h5>
<div class="ibox-tools">
</div>
</div>
<div class="ibox-content">
... |
using iHRS.Domain.Common;
namespace iHRS.Domain.Models
{
public class CommunicationMethod : Enumeration
{
public static readonly CommunicationMethod Email = new CommunicationMethod(1, "Email");
public static readonly CommunicationMethod Sms = new CommunicationMethod(2, "Sms");
public ... |
@using MichaelBrandonMorris.Extensions.Web.HtmlHelper.Bootstrap.Display.Horizontal
@model MichaelBrandonMorris.KingsportMillSafetyTraining.Models.CompanyViewModel
@{
Layout = null;
}
@Html.BootstrapHorizontalDefinitionListFor(model => model.Name)
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Integration.Heartbeats {
public class Vibrate {
public const string Type = "vibrate";
public uint Index;
public double? Speed;
public double[]? Speeds;
public Dictionary<uint, doub... |
using System;
using Delta.CapiNet.Logging;
namespace Delta.SmartCard.Logging
{
internal interface ILogService : CapiNetLogger.ILogService { }
}
|
using Umbraco.Cms.Core.Persistence.Repositories;
using Umbraco.Extensions;
namespace Umbraco.Cms.Infrastructure.Persistence.Repositories.Implement
{
internal static class LanguageRepositoryExtensions
{
public static bool IsDefault(this ILanguageRepository repo, string culture)
{
if... |
using System;
using System.Threading.Tasks;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using BusinessForms;
using Microsoft.AspNetCore.Mvc;
namespace PalvelutoriModel.PassthroughControllers
{
public class ChangePasswordController : PassthroughBaseController
{
public ChangePasswordCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using Charlotte.Flowertact.Tools;
using Charlotte.Satellite.Tools;
namespace Charlotte.Flowertact
{
public class Fortewave : IDisposable
{
private object SYNCROOT = new object();
private PostOfficeBox _... |
//*********************************************************************
//xCAD
//Copyright(C) 2021 Xarial Pty Limited
//Product URL: https://www.xcad.net
//License: https://xcad.xarial.com/license/
//*********************************************************************
using System;
using System.Collections.Generic;
... |
using dnsl48.SGF.Attributes;
namespace dnsl48.SGF.Model.Property
{
/// <summary>
/// A property containing a move (position on the board) and a colour.
/// The colour should be assigned by the class attributes <see cref="ColourAttribute" />
/// </summary>
public class ColouredMove<T>: APositionValu... |
namespace System.Web.ModelBinding {
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
public class CollectionModelBinder<TElement> : IModelBinder {
// Used when the ValueProvider contains the collection to be bound as multiple elements, e.g. foo[0], foo[1... |
namespace Inshapardaz.Domain.Models
{
public static class MimeTypes
{
public const string Json = "application/json";
public const string Markdown = "text/markdown";
public const string Pdf = "application/pdf";
public const string Jpg = "image/jpeg";
public const stri... |
using System.Collections;
using System.Collections.Generic;
using System;
using ilPSP;
using BoSSS.Platform;
namespace BoSSS.Foundation.Grid.Voronoi.Meshing.Cutter
{
class Divider<T>
{
Mesh<T> mesh;
InsideCellEnumerator<T> insideCells;
public Divider(Mesh<T> mesh, Bound... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Forum.Core;
using Forum.Transfer.Post.Command;
using Forum.Transfer.Post.Query;
using Forum.Transfer.Shared;
using Forum.Web.Infrastructure;
using MediatR;
using Microsoft.AspNetCore.A... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
namespace ABBConfigMaker
{
class MainChecker
{
private bool hasError;
private List<Delegate> checkers;
... |
// Licensed to Finnovation Labs Limited under one or more agreements.
// Finnovation Labs Limited licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using AutoMapper;
namespace FinnovationLabs.OpenBanking.Library.Connector.Converters
{
public class I... |
using System;
using System.IO;
namespace RECOM_Toolkit
{
internal static class Extension
{
public static string extractName(this byte[] data)
{
string text = string.Empty;
for (int i = 0; i < data.Length; i++)
{
byte b = data[i];
if (b == 0)
{
break;
}
text += Convert.ToChar(b);
... |
public class RoundInfoArgs
{
public int MonsterIndex;
public int RoundIndex;
}
|
namespace SharemundoBulgaria.Areas.Administration.Services.RemovePart
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Threading.Tasks;
using CloudinaryDotNet;
using Microsoft.EntityFrameworkCore;
usin... |
using Castle.DynamicProxy;
namespace MikyM.Autofac.Extensions;
/// <summary>
/// Interceptor adapter that allows registering asynchronous interceptors
/// </summary>
public sealed class AsyncInterceptorAdapter<TAsyncInterceptor> : AsyncDeterminationInterceptor
where TAsyncInterceptor : IAsyncInterceptor
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace FPS.ViewModels.Timekeeping
{
public class TimeAttendance
{
public int EmployeeId { get; set; }
public string EmployeeTitle { get; set; }
public string EmployeeName { get; set; }... |
using CommandDotNet;
using CommandDotNet.Rendering;
using System;
using System.ComponentModel.DataAnnotations;
using System.Threading;
namespace aggregator.cli.Commands.Mapping
{
[Command(Description = "Manages Aggregator Mapping in Azure DevOps.")]
public class Local
{
[Command(Description = "Lis... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Xml.Linq;
namespace Lauo {
static class XMLExtensions {
public static bool ReadBoolean(this XElement element, string key, bool @default = false) {
var child = element.Element(key);
r... |
using System.Linq;
using BethanysPieShop.API.Models;
using Microsoft.AspNetCore.Mvc;
// For more information on enabling Web API for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
namespace BethanysPieShop.API.Controllers
{
[Route("api/[controller]")]
public class OrderController : Cont... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.