text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using Perpetuum.Accounting.Characters;
using Perpetuum.Data;
namespace Perpetuum.Services.MarketEngine
{
public interface IMarketOrderRepository : IRepository<int,MarketOrder>
{
void UpdatePrice(MarketOrder order);
... |
using System.Collections.Generic;
using System.Dynamic;
using System.Web.Routing;
namespace Web.Infrastructure.Helpers
{
public static class ObjectExtensions
{
/// <summary>
/// Convert an anonymous object into <see cref="ExpandoObject"/>
/// </summary>
/// <remarks>http://stackoverflow.com/a/5670899/59563<... |
using AutoMapper;
using Crossroads.Utilities.Services.Interfaces;
using Crossroads.Web.Common.MinistryPlatform;
using FluentAssertions;
using MinistryPlatform.Translation.Models.DTO;
using MinistryPlatform.Translation.Repositories.Interfaces;
using Moq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using NUnit.Fra... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HeaderSerializer.cs" company="SmokeLounge">
// Copyright © 2013 SmokeLounge.
// This program is free software. It comes without any warranty, to
// the extent permitted by a... |
#pragma checksum "..\..\ViewService.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C8B742AF55EC566F6F533BCF31D86F1D"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.18010
//
// Changes t... |
/*
* Copyright 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 "license" fi... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Linq;
using System.Xml;
using NUnit.Framework;
namespace Azure.Data.Tables.Tests
{
public class QueryFilterTests
{
private const int SomeInt = 10;
private const double So... |
namespace Nancy.Metadata.Module.Tests.Modules
{
public class FakeNancyModule : NancyModule
{
}
} |
/*
* 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... |
//-----------------------------------------------------------------------
// <copyright file="ExceptionUnit.cs" company="Junle Li">
// Copyright (c) Junle Li. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Vsxmd.Units
{
using System;
... |
using Microsoft.Azure.WebJobs;
using Microsoft.Extensions.Logging;
using Microsoft.ML;
using Newtonsoft.Json;
using System.IO;
using System.Threading.Tasks;
namespace FraudPredictionFunction
{
public static class FraudPredictionFunction
{
[FunctionName("FraudPredictionFunction")]
[return: Event... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace SwmSuite.Utils {
/// <summary>
/// Class that holds static methods to do XmlSerialization operations.
/// </summary>
public static ... |
using System;
using System.Collections.Generic;
namespace XYZToDo.Models
{
public partial class ConnectionXyzeki
{
public string Username { get; set; }
public string ConnectionId { get; set; }
public string UserAgent { get; set; }
public bool Connected { get; set; }
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Entidades
{
public class E_Grafica
{
private string totalVentas;
private string totalCategorias;
private string totalMarcas;
private string totalProduct... |
// Copyright (c) 2008-2018, Hazelcast, Inc. 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... |
/*
* 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... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.AwsN... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Szlem.AspNetCore.Options
{
public class JwtOptions
{
public string Secret { get; set; }
public NodaTime.Duration TokenLifetime { get; set; }
}
} |
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Logging.Abstractions;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using wde = Windows.Devices.Enumeration;
namespace Device.Net.UWP
{
pu... |
using System.Collections.Generic;
using System.Web.Http;
namespace ReusableWebAPI.Controllers
{
[AllowAnonymous]
public class PingController : ApiController
{
// GET: api/Ping
public IEnumerable<string> Get()
{
return new string[] { "MRO", "is", "working!" };
}
... |
using System;
using System.Web.UI.HtmlControls;
namespace Codentia.Common.WebControls.HtmlElements
{
/// <summary>
/// Basic control encapsulating an HtmlGenericControl Div
/// </summary>
public class H3 : CEHtmlGenericControl
{
/// <summary>
/// Initializes a new instance of the <s... |
using System;
using System.Threading.Tasks;
using DDDSouthWest.Domain.Features.Account.Admin.ManageEvents.CreateNewEvent;
using DDDSouthWest.Domain.Features.Account.Admin.ManageEvents.ListEvents;
using Shouldly;
using Xunit;
namespace DDDSouthWest.UnitTests.ManageEvents.ListEventsTests
{
public class ListEvents
... |
using System;
using System.Collections.Generic;
using System.Windows.Input;
using Bisner.Mobile.Core.Models.Booking;
using Bisner.Mobile.Core.ViewModels.Booking;
using Bisner.Mobile.iOS.Views.Layout;
using CoreGraphics;
using Foundation;
using MvvmCross.Binding.BindingContext;
using MvvmCross.Binding.iOS.Views;
using M... |
using BLD.SettingsPanelHUD;
using BLD.SettingsPanelHUD.Sections;
using NSubstitute;
using System.Collections;
using UnityEngine;
using UnityEngine.TestTools;
namespace SettingsPanelTests
{
public class SettingsPanelShould_PlayMode
{
private const string SECTION_VIEW_PREFAB_PATH = "Sections/DefaultSetti... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace b
{
class Program
{
static long n;
static void Main(string[] args)
{
long[] nx = Console.ReadLine().Split().Select(long.Parse).ToArray();
long[] a = Console.ReadLine(... |
using Blade.Util;
using EFCore.Sharding;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Linq.Dynamic.Core;
using System.Linq.Expressions;
using System.Threading.Tasks;
namespace Blade.Service
{
/// <summary>
/// 描述:业务处理基类... |
// 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.
/*=============================================================================
**
**
**
** Purpose: IConnectionPoin... |
using System;
using System.Net.Http;
using System.Reflection;
using System.Threading.Tasks;
using Elastic.Apm.Model.Payload;
using Elastic.Apm.Tests.Mocks;
using FluentAssertions;
using Microsoft.AspNetCore.Mvc.Testing;
using SampleAspNetCoreApp;
using Xunit;
using Xunit.Sdk;
namespace Elastic.Apm.AspNetCore.Tests
{
... |
using System;
namespace Tiger.Build.Compiler.Ast
{
public class IntLiteralExpression : Expression
{
private readonly int _value;
public IntLiteralExpression(int value)
{
_value = value;
}
public IntLiteralExpression(string value) : this(int.Parse(value))
... |
using System;
using System.Collections.Generic;
using System.IO;
using AssemblyImporter.CLR;
namespace AssemblyImporter.CppExport
{
public class CppCilExporter
{
public static VType.ValTypeEnum ValTypeForTypeSpec(CppBuilder cppBuilder, CLRTypeSpec typeSpec)
{
if (typeSpec is CLRTy... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="InMemoryDirectoryInfo.cs" company="Appccelerate">
// Copyright (c) 2008-2015
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this fi... |
/*
* Apache License, Version 2.0
* Copyright 2019-2021 NVIDIA 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 the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unl... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft 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 the License at
// http://www.apa... |
using System.Linq;
namespace Demo.LearnByDoing.Tests.Chapter01
{
public class Chapter1_6
{
public string CompressText(string text)
{
// To save time.
if (string.IsNullOrWhiteSpace(text) || text.Length == 1) return text;
string[] compressed = new string[text... |
using System;
namespace Pacco.Services.Availability.Infrastructure.Mongo.Documents
{
internal sealed class ReservationDocument
{
public int TimeStamp { get; set; }
public int Priority { get; set; }
}
} |
using System;
using System.Reflection;
namespace Rhea.API.Areas.HelpPage.ModelDescriptions
{
public interface IModelDocumentationProvider
{
string GetDocumentation(MemberInfo member);
string GetDocumentation(Type type);
}
} |
using JDRE.JVM.classfile;
using System.IO;
using System;
namespace JDRE.JVM.runtime.Heap
{
class Method : ClassMember
{
int maxStack;
int maxLocals;
byte[] code;
int argSlotCount;
public bool IsBridge { get => (AccessFlag & (int)Heap.AccessFlag.ACC_BRIDGE) != 0; }
... |
using System;
using UnityEngine;
namespace UnityEditor.Timeline
{
class StyleNormalColorOverride : IDisposable
{
readonly GUIStyle m_Style;
readonly Color m_OldColor;
public StyleNormalColorOverride(GUIStyle style, Color newColor)
{
m_Style = style;
m_Ol... |
using System;
using Xunit;
namespace Fidget.Dataflow.Test
{
public class UnitTest1
{
[Fact]
public void Test1()
{
}
}
} |
using System;
namespace StoreWebUI.Models
{
public class ErrorViewModel
{
public string RequestId { get; set; }
public bool ShowRequestId => !string.IsNullOrEmpty(RequestId);
}
} |
using LYtest.LinearRepr.Values;
namespace LYtest.LinearRepr
{
public interface IThreeAddressCode
{
Operation Operation { get; set; }
IValue LeftOperand { get; set; }
IValue RightOperand { get; set; }
StringValue Destination { get; set; }
LabelValue Label { get; set; }
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace PetriPrinter.Model
{
[Serializable]
public struct PrinterConfig
{
public double Temperature { get; set; }
public double Zoff { get; set; }
public PrinterConfig(double temp, double z)
... |
using MQTTnet.Diagnostics;
using System;
using System.Collections.Generic;
using System.Text;
namespace EP94.LgSmartThinq.Utils
{
public static class MqttNetConsoleLogger
{
static readonly object _lock = new object();
public static void ForwardToConsole()
{
MqttNetGlobalLo... |
using System;
using System.Drawing;
using UnityEngine;
using Color = System.Drawing.Color;
using Font = System.Drawing.Font;
namespace ConsoleApplication1
{
public class Settings
{
public Pen playerP,
friendP,
autoturretP,
resourceP,
storageBoxP = new Pe... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
namespace Microso... |
using Abp.AutoMapper;
using System;
namespace EventCloud.Speakers.Dtos
{
[AutoMapFrom(typeof(Speaker))]
public class SpeakerListDto
{
public virtual Guid EventId { get; set; }
public virtual string profilePic { get; set; }
public virtual string Name { get; set; }
public ... |
using UdemyProje3.Abstracts.States;
using UdemyProje3.Abstracts.Controllers;
using UnityEngine;
namespace UdemyProje3.States.EnemyStates
{
public class AttackState : IState
{
IEnemyController _enemyController;
public AttackState(IEnemyController enemenyController)
{
_enemyCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading.Tasks;
namespace Refit
{
public abstract class HttpMethodAttribute : Attribute
{
public HttpMethodAttribute(string path)
{
Path = path;
}
public abstrac... |
using System;
using System.IO;
using AnygramProcessor.Interfaces;
namespace AnygramProcessor
{
/// <summary>
/// Utility class to read a file given a physical path.
/// </summary>
public class FileLoader : IDataLoader
{
public string SourceFile { get; private set; }
/// <summary>
... |
using TMDb.Client.Attributes;
namespace TMDb.Client.Api.V3.Models.People
{
[ApiGetEndpoint("/person/{person_id}/movie_credits")]
public class PeopleMovieCreditsRequest : PeopleBaseRequest
{
/// <include file='tmdb-api-comments.xml' path='doc/members/member[@name="LanguageAbbreviation"]/*' />
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class GlobalPosition : MonoBehaviour {
public Vector3 globalPosition;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
globalPosition = transform... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace XF_PopupIndicator
{
public partial class AbsolutePageXaml : ContentPage
{
ObservableCollection<ListItem> listItems =... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using SpaceClaim.Api.V10;
using SpaceClaim.Api.V10.Extensibility;
using SpaceClaim.Api.V10.Geometry;
using SpaceClaim.Api.V10.Modeler;
using SpaceClaim.AddInLibrary;
using Unfold.Properties;
namespace SpaceClaim.AddIn.Unfold {... |
using System;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
using UIKit;
using Xamarin.Forms;
using Xamarin.Forms.Platform.iOS;
namespace DuGu.XFLib.iOS.Extensions
{
public static class UIImageViewExtension
{
public static void SetFormsImageSourceButNotUrl(this UIImageView imageView, Im... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DAPNet
{
/// <summary>
/// Represents an adaptive deviation gate with double treshold.
/// </summary>
public class AdaptiveDoubleGate : DetectionGate
{
/// <summary>
/// Holds the defaul... |
using System;
using System.Collections.Generic;
using System.Linq;
using Kentico.Kontent.Delivery;
using Kentico.Kontent.Delivery.Abstractions;
using Kentico.Kontent.Delivery.ContentItems;
namespace Kentico.Web.Models
{
public partial class NewsArticle
{
public IAsset LinkedImageAsset => Image.FirstOrD... |
using System.Reflection;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("RuduenMod")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: Assemb... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Baffa.Helpers
{
public class Statistics
{
private static int denFormatConst = 8;
public static String status(String sMethod, String sName, ... |
// *****************************************************************************
//
// © Component Factory Pty Ltd 2012. All rights reserved.
// The software and associated documentation supplied hereunder are the
// proprietary information of Component Factory Pty Ltd, 17/267 Nepean Hwy,
// Seaford, Vic 3198, A... |
using System.Reflection;
using System.Runtime.CompilerServices;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle("Spinnaker.Bridge.Tests")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration(""... |
namespace sjs
{
public class HttpHandler : System.Web.IHttpHandler
{
public System.Web.Routing.RequestContext RequestContext { get; set; }
public HttpHandler(System.Web.Routing.RequestContext requestContext)
{
this.RequestContext = requestContext;
}
public... |
// 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.Collections.Generic;
using System.IO;
using System.Xml.Serialization;
using System.Xml.Schema;
using Sy... |
/*
* Copyright 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 "license" fi... |
using System;
using Xamarin.Forms.CustomAttributes;
using Xamarin.Forms.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Xamarin.Forms.Controls.Issues
{
#if UITEST
[NUnit.Framework.Category(Core.UITests.UITestCategories.Github5000)]
[NUnit.Framework.Category(Core.UITests.UITestC... |
#region netDxf library licensed under the MIT License, Copyright © 2009-2021 Daniel Carvajal (haplokuon@gmail.com)
//
// netDxf library
// Copyright © 2021 Daniel Carvajal (haplokuon@gmail.com)
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
... |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using AcTools.Utils.Helpers;
using Microsoft.Win32;
namespace AcTools.Utils {
public static class SteamRunningHelper {
private static string GetSteamDirectory() {
var regKey = Registry.CurrentUser.OpenSubKey(@"Sof... |
using System;
using Abp;
using Abp.Authorization;
using Abp.Dependency;
using Abp.UI;
namespace ClubTest.Authorization
{
public class AbpLoginResultTypeHelper : AbpServiceBase, ITransientDependency
{
public AbpLoginResultTypeHelper()
{
LocalizationSourceName = ClubTestConsts.Locali... |
using System;
namespace EpicTransport {
public struct Packet {
public const int headerSize = sizeof(uint) + sizeof(uint) + 1;
public int size => headerSize + data.Length;
// header
public int id;
public int fragment;
public bool moreFragments;
// body
... |
using TwitchIrcHub.Model;
using TwitchIrcHub.ExternalApis.Twitch.Helix.Auth;
using TwitchIrcHub.ExternalApis.Twitch.Helix.Auth.DataTypes;
using TwitchIrcHub.IrcBot.Helper;
namespace TwitchIrcHub.IrcBot.Bot;
public class BotInstanceData : IBotInstanceData
{
private readonly ILogger<BotInstanceData> _logger;
p... |
using System;
using System.Configuration;
namespace EasyNetQ.Scheduler
{
public class ConfigurationBase
{
public static short GetShortAppSetting(string settingKey)
{
var appSetting = ConfigurationManager.AppSettings[settingKey];
short value;
if (!short.TryParse(appSetting, out value))
{
th... |
// 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 System.Globalization;
using System.Linq.Expressions;
using System.Reflection;
using System.Thread... |
using Discord.Commands;
using NadekoBot.Extensions;
using System;
using System.Collections.Concurrent;
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using NadekoBot.Common.Attributes;
using NadekoBot.Modules.Games.Common.Hangman;
namespace NadekoBot.Modules.Games
{
public partial class Gam... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------... |
using System;
using System.Collections.Generic;
using System.Linq;
using Carnac.Logic.Models;
namespace Carnac.Logic
{
public class ShortcutAccumulator
{
List<KeyShortcut> possibleKeyShortcuts;
Message[] messages;
readonly List<KeyPress> keys;
public ShortcutAccumulator()
... |
using System.Threading.Tasks;
using Mdl.HostedConsoleApplication;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace ConsoleApp
{
class Program
{
static async Task Main(string[] args)
{
var builder = new HostB... |
using Epsilon.Logic.Constants.Enums;
using Epsilon.Logic.Services.Interfaces;
using Epsilon.Logic.SqlContext.Interfaces;
using System.Threading.Tasks;
namespace Epsilon.Logic.Services
{
public class NewUserService : INewUserService
{
private readonly IEpsilonContext _dbContext;
private readonl... |
// This file is part of Core WF which is licensed under the MIT license.
// See LICENSE file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows.Markup;
// General Information about an assembly is controlled t... |
using System;
using System.Collections.Generic;
using System.Text;
namespace BlazorApp.Shared
{
public class NotificationSubscription : CosmosDBEntity
{
public string PlannerUrl { get; set; }
public string UserFirstName { get; set; }
public string UserLastName { get; set; }
pub... |
using SparkyTestHelpers.Scenarios;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace SparkyTestHelpers.Mapping
{
/// <summary>
/// This class is for testing that properties were succ... |
// Copyright (c) 2012-2017 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
namespace Dicom.Bugs
{
using Xunit;
[Collection("General")]
public class GH179
{
[Theory]
[InlineData(@".\Test Data\GH179A.dcm")]
public void DicomFile_Contains_CommentsOn... |
@page
@model littlebreadloaf.Pages.Blog.BlogDeleteModel
@{
ViewData["Title"] = $"Delete blog:{Model.Blog.Title}";
ViewData["ReturnURL"] = Url.Page("/Blog/BlogDelete", new { Model.Blog.BlogID });
}
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a asp-page="/Blog/... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections.Generic;
using System.Linq;
using Microsoft.DotNet.XUnitExtensions;
using Test.Cryptography;
using Xunit;
namespace System.Security.Cryptography.Algorithms.... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.ServiceFab... |
// <auto-generated/>
// Contents of: hl7.fhir.r4.core version: 4.0.1
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using Hl7.Fhir.Introspection;
using Hl7.Fhir.Serialization;
using Hl7.Fhir.Specification;
using Hl7.Fhir.Utility;
using Hl7.Fhir.Validation;
/*
... |
// 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 Xunit;
namespace System.Linq.Expressions.Tests
{
public static class BinaryNullableAddTests
{
... |
namespace Capoala.CmdLine
{
/// <summary>
/// Represents a command line violation.
/// </summary>
public struct CommandLineViolation
{
/// <summary>
/// The violation.
/// </summary>
public string Violation { get; set; }
/// <summary>
/// The message... |
using System;
using Microsoft.AspNetCore.Hosting;
using System.IO;
namespace NerdDinner.Web
{
public class Program
{
public static void Main(string[] args)
{
var host = new WebHostBuilder()
.UseKestrel()
.UseContentRoot(Directory.GetCurrentDirectory(... |
// 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.Collections.Generic;
using System.Linq;
using NUnit.Framework;
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Framework.Utils;
using... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using Prime;
using Prime.Models... |
// This is an open source non-commercial project. Dear PVS-Studio, please check it.
// PVS-Studio Static Code Analyzer for C, C++ and C#: http://www.viva64.com
// ReSharper disable CheckNamespace
// ReSharper disable ClassNeverInstantiated.Global
// ReSharper disable CommentTypo
// ReSharper disable IdentifierTypo
// ... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;
using IO.Swagger.Model;
namespace Summary.API.Models
{
public class User
{
[Key]
[DatabaseGenerated(... |
/*
* 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 OpenNetcode.Shared.Systems;
using Unity.Entities;
namespace OpenNetcode.Server.Systems
{
[DisableAutoCreation]
[UpdateInGroup(typeof(TickPreSimulationSystemGroup), OrderFirst = true)]
public class TickServerReceiveSystem : SystemBase
{
private IServerNetworkSystem _server;
public... |
// **********************************************************************
//
// LinearAlgebraExtensions.cs
//
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
//
// Copyright (c) 2017, Sylvain Gravel
//
// *****************... |
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("Con... |
#region License
/*
* All content copyright Terracotta, Inc., unless otherwise indicated. 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.a... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
internal static partial class Interop
{
private static partial class Libraries
{
internal const string LibCurl = "libcurl"; // Curl HTTP cli... |
namespace SqlStreamStore.HAL.Resources
{
using System.Net.Http;
internal interface IResource
{
HttpMethod[] Allowed { get; }
}
} |
using System.Reflection;
using System.Runtime.InteropServices;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die einer Assembly zugeordnet sind.
[assembly: AssemblyTitle("CitaviAddOnEx")]
[assembly: A... |
using DryIoc;
namespace VersION.Core.Extensibility
{
/// <summary> Interface for plugins extending VersIONs base functionality. </summary>
public interface IPlugin
{
string Name { get; }
Task Initialize(IContainer container);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.