text stringlengths 1 932k |
|---|
//
// MimeParserTests.cs
//
// Author: Jeffrey Stedfast <jestedfa@microsoft.com>
//
// Copyright (c) 2013-2017 Xamarin Inc. (www.xamarin.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 Soft... |
// Licensed under MIT No Attribution, see LICENSE file at the root.
// Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet.
using System;
namespace UnitsNet
{
public partial struct Area
{
#region Static Methods
/// <summar... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;
using System.Data.SqlClient;
using System.Windows.Forms;
namespace Customer_Purchase_Order_System
{
class DbHandler
{
public int Po_no { get; set; }
public str... |
// Copyright 2022 Google LLC
//
// 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
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
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("En... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Azure;
using Azure.Core;
using Azure.Core.Pipeline;
using Azure.ResourceMa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Web;
using Umbraco.Web.PublishedCache;
namespace Umbraco.Tests.PublishedContent
{
class SolidPubli... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("AWSSDK.Mgn")]
[assembly: AssemblyDescripti... |
using Azure.Data.Tables;
using Azure.Storage.Blobs;
using CommonUtils;
using Microsoft.Graph;
using SPOAzBlob.Engine.Models;
namespace SPOAzBlob.Engine
{
/// <summary>
/// Handles Azure blob & table storage
/// </summary>
public class AzureStorageManager : AbstractGraphManager
{
#region Co... |
using System;
using System.ComponentModel;
using System.Collections.Generic;
namespace SimpleLogInSample
{
public class BaseViewModel : INotifyPropertyChanged, IViewModel
{
#region Ctor
public BaseViewModel()
{
}
#endregion
#region Properties
private string title = string.Empty;
public const string... |
using MahApps.Metro.Controls;
namespace GoldSrcSpriteViewer.WPF
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : MetroWindow
{
public MainWindow()
{
InitializeComponent();
}
}
} |
/*<FILE_LICENSE>
* NFX (.NET Framework Extension) Unistack Library
* Copyright 2003-2018 Agnicore Inc. portions ITAdapter Corp. Inc.
*
* 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:/... |
using System;
using System.Threading.Tasks;
using Common;
using Common.Log;
using MarginTrading.Backend.Core;
using MarginTrading.Backend.Services.Infrastructure;
using MarginTrading.Contract.BackendContracts;
using Microsoft.AspNetCore.Http;
namespace MarginTrading.Backend.Middleware
{
public class MaintenanceMo... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/ShObjIdl_core.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.R... |
using System;
using CompanyName.MyMeetings.BuildingBlocks.Application;
namespace CompanyName.MyMeetings.IntegrationTests.SeedWork
{
public class ExecutionContextMock : IExecutionContextAccessor
{
public ExecutionContextMock(Guid userId)
{
UserId = userId;
}
public G... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Yazgelder.Entity.Models
{
public class Newsletter : Base
{
public Newsletter() : base() { }
public string Mail { get; set; }
public string IpAdress { get; set; }
public D... |
namespace Drawmasters.OffersSystem
{
public abstract class BaseOfferTriggerDecorator : BaseOfferTrigger, IInitializable, IDeinitializable
{
protected BaseOfferTrigger trigger;
public override bool IsActive =>
trigger.IsActive;
public BaseOfferTriggerDecorator(BaseOfferTrig... |
using System.Xml.Serialization;
using VertSoft.ubl21.common.UnqualifiedDataTypes_2;
namespace VertSoft.ubl21.common.CommonBasicComponents_2
{
[System.Serializable()]
[System.Diagnostics.DebuggerStepThrough()]
[System.ComponentModel.DesignerCategory("code")]
[XmlType(Namespace = "urn:oasis:names:specif... |
namespace C4Sharp.Models.Containers;
public record ShellScript(string Alias, string Label, string Technology, string? Description = null)
: Container(Alias, Label, ContainerType.ShellScript, Technology, Description);
public record ShellScript<T>(string Technology, string? Description = null)
: Container<T>(Co... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
abstract public class CurvedGround : MonoBehaviour {
public enum curveType
{
Lagrange,
Bezier
}
[SerializeField]private List<CurvedGroundPoint> __anchorPoints = new List<CurvedGroundPoint>();
public Li... |
// -- FILE ------------------------------------------------------------------
// name : QuarterTimeRange.cs
// project : Itenso Time Period
// created : Jani Giannoudis - 2011.02.18
// language : C# 4.0
// environment: .NET 2.0
// copyright : (c) 2011-2012 by Itenso GmbH, Switzerland
// -----------------... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class animate : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update ()
{
transform.Rotate (0,50*Time.deltaTime,0)... |
namespace MagazineProject.Web.Areas.Users.Controllers
{
using System.Linq;
using System.Web.Mvc;
using AutoMapper.QueryableExtensions;
using MagazineProject.Common;
using MagazineProject.Services.Common.User;
using MagazineProject.Web.Controllers.Base;
using MagazineProject.Web.Models.Are... |
using Cosmos.Common.Extensions;
using ZLibrary.Machine.Opcodes;
namespace ZLibrary.Machine
{
public class ZInterpreter
{
public int Finished;
private Opcode[] OP0Opcodes;
private Opcode[] OP1Opcodes;
private Opcode[] OP2Opcodes;
private Opcode[] VAROpcodes;
... |
// <auto-generated>
// 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
// re... |
using UnityEngine;
using System.Collections;
public class UnityBlendShapeAnimation {
public UnityCurveContainer[] curves;
public SkinnedMeshRenderer skinMeshObj;
string[] blendShapeNames;
int blendShapeCount = 0;
public string pathName = "";
public UnityBlendShapeAnimation( string hierarchyPath, SkinnedMeshRe... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlatformScript : MonoBehaviour {
[SerializeField]
public float jumpForce = 1000000f;
//A call-back method* for whenever an object collides with another object
void OnCollisionEnter2D(Collision2D collision){
if (collisi... |
// Copyright 2013 Cultural Heritage Agency of the Netherlands, Dutch National Military Museum and Trezorix bv
//
// 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:... |
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace ActionConstraints
{
public class Program
{
public static void Main(string[] args)
{
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args)... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool
// Changes to this file will be lost if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namesp... |
namespace IntoTheCode.Read.Structure.Structure
{
//internal abstract class GrammarClass : ElementBase
//{
// //public string Seperator
// //{
// // get { return Props.GetValue<string>(() => Seperator); }
// // set { Props.SetValue(() => Seperator, value); }
// //}
... |
// 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 Microsoft.ML.Core.Data;
using Microsoft.ML.Runtime;
using Microsoft.ML.Runtime.CommandLine;
using Microsoft.ML... |
// Copyright 2020 Maintainers of NUKE.
// Distributed under the MIT License.
// https://github.com/nuke-build/nuke/blob/master/LICENSE
using System;
using System.Linq;
using Nuke.Common.Execution;
namespace Nuke.Common.CI
{
public class SerializeBuildServerStateAttribute
: BuildServerConfigurationGenerat... |
using System.Collections.Generic;
public class SortLoops3 : IComparer<Loop3>
{
protected readonly Vec3[ ] coords;
public SortLoops3 (in Vec3[ ] coords)
{
this.coords = coords;
}
public int Compare (Loop3 a, Loop3 b)
{
Vec3 aAvg = new Vec3 ( );
Index3[ ] aIdcs = a.Indic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
public class Program
{
public static void Main()
{
var task1 = Task.Factory.StartNew(()=> {
Console.WriteLine("task1 body");
var innerTask1 = Tas... |
using Innovative.SolarCalculator;
using System;
namespace HouseControl.Sunset
{
public class SolarTimesSunsetProvider : ISunsetProvider
{
public DateTimeOffset GetSunset(DateTime date)
{
var solarTimes = new SolarTimes(date, 33.8361, -117.8897);
return new DateTimeOffse... |
@using YesNoWebApp.Areas.HelpPage.ModelDescriptions
@model CollectionModelDescription
@if (Model.ElementDescription is ComplexTypeModelDescription)
{
@Html.DisplayFor(m => m.ElementDescription)
} |
using System.Data;
namespace Ffsti.Library.Database
{
/// <summary>
/// Extension Methods for IDbCommand
/// </summary>
public static class CommandExtensionMethods
{
/// <summary>
/// Add a parameter to the IDbCommand
/// </summary>
/// <param name="command">The IDbCommand to add a parameter</param>
//... |
// <auto-generated />
using System.CodeDom.Compiler;
using System.Data.Entity.Migrations.Infrastructure;
using System.Resources;
namespace CcAcca.DemoDownstreamMigrations.Migrations
{
[GeneratedCode("EntityFramework.Migrations", "6.1.1-30610")]
public sealed partial class AddAssetCreatedBy : IMigrationMetadat... |
namespace PANDA.Web.ViewModels.Users
{
using SIS.MvcFramework.Attributes.Validation;
public class UserLoginInputModel
{
private const string UsernameErrorMessage = "Invalid username length! Must be between 5 and 20 symbols!";
[RequiredSis]
[StringLengthSis(5, 20, UsernameErrorMess... |
// 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.Immutable;
using System.Composition;
using System.Linq;
using Microsoft.CodeAnalysis.CodeF... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using T3DSharpFramework.Engine;
using T3DSharpFramework.Engine.Util;
using T3DSharpFramework.Generated.Classes.Global;
using T3DSharpFramework.Generated.Classes.Reflection;
using T3DSharpFramework.Generated.Classes.Sim;
using T3DSharp... |
// Copyright (c) 2012-2021 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using FellowOakDicom.Network;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using System.Threading;
using System.Threading.Tasks;
namespace FellowOakDicom.AspNetCore.Server
{
... |
#region License
// Copyright (c) 2009, ClearCanvas 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,
//... |
@model EditCategoryPageViewModel
@{
ViewData["Title"] = "Create Category";
}
<section class="banner_area">
<div class="banner_inner d-flex align-items-center">
<div class="container">
<div class="banner_content text-center">
<h2>Edit Category</h2>
<div clas... |
using System;
namespace Wrox.ProCSharp.Assemblies
{
public class Demo
{
public Demo(int val1, int val2)
{
Console.WriteLine("Constructor with the values {0}, {1}" +
" in domain {2} called", val1, val2,
AppDomain.CurrentDomain.FriendlyName);
... |
using FluentAssertions;
using FluentAssertions.Extensions;
using NUnit.Framework;
using Vostok.Clusterclient.Core.Model;
using Vostok.Clusterclient.Core.Strategies.DelayProviders;
using Vostok.Clusterclient.Core.Tests.Helpers;
namespace Vostok.Clusterclient.Core.Tests.Strategies.DelayProviders
{
[TestFixture]
... |
using Microsoft.AspNetCore.Http;
using System.Collections.Generic;
namespace GraphQL.Tool.Embedded.Playground
{
public class PlaygroundOptions : ToolOptions
{
public PathString SubscriptionsEndPoint { get; set; } = "/graphql";
public Dictionary<string, object> Config { get; set; }
pu... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LevelController : MonoBehaviour
{
[SerializeField] float waitToLoad = 5f;
[SerializeField] GameObject winLabel;
[SerializeField] GameObject loseLabel;
int numberOfAttackers = 0;
bool levelTimerFinished = fa... |
using Abp.Runtime.Caching;
using System;
namespace Abp.Domain.Entities.Caching
{
public interface IEntityCache<TCacheItem> : IEntityCache<TCacheItem, Guid>
{
}
public interface IEntityCache<TCacheItem, TPrimaryKey> : IEntityCacheBase<TCacheItem, TPrimaryKey>
{
ITypedCache<TPrimaryKey, TCac... |
using System.Collections;
using System.Collections.Generic;
using JournalCli.Infrastructure;
using NodaTime;
namespace JournalCli.Core
{
public class ReadmeJournalEntryCollection : IEnumerable<ReadmeJournalEntry>
{
private readonly LocalDate _earliestDate;
private readonly bool _includeFuture;... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Twitter - @ViewBag.Title</title>
@Styles.Render("~/Content/css")
@Styles.Render("~/Content/kendo/css")
@Scripts.Render("~/bundles/modernizr")
@Scripts.Rende... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Net.Http.Headers;
namespace MyFirstGetAPI.Areas.HelpPage
{
/// <summary>
/// This is used to identify the place where the sample should be applied.
/// </summary>
public class HelpPageSampleKey
{
/// <... |
//using System;
//using UnityEngine.Rendering;
//using UnityEngine.Experimental.Rendering.RenderGraphModule;
using UnityEngine.Experimental.Rendering;
using UnityEngine.Experimental.Rendering.RenderGraphModule;
namespace UnityEngine.Rendering.HighDefinition
{
public partial class HDRenderPipeline
{
str... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Linq;
using NUnit.Framework;
namespace Azure.AI.TextAnalytics.Samples
{
public partial class TextAnalyticsSamples
{
[Test]
public void E... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... |
using System;
namespace Tunetoon.BZip2
{
/*
Copyright © 2000-2018 SharpZipLib Contributors
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 ... |
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
namespace OpenDart.Models
{
public class ReqDisclosureSearch
{
public string corp_code { get; set; } // 고유번호 STRING(8) N 공시대상회사의 고유번호(8자리)
// ※ 개발가이드 > 공시정보 > 고유번호 A... |
// *** 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.Azur... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT License.
// See the LICENSE file in the project root for more information.
namespace System.Linq.Expressions
{
/// <summary>
/// An interface for serialization and deserialization of... |
using System;
using Microsoft.IdentityModel.Tokens;
namespace Metech.SimpleTaskApp.Authentication.JwtBearer
{
public class TokenAuthConfiguration
{
public SymmetricSecurityKey SecurityKey { get; set; }
public string Issuer { get; set; }
public string Audience { get; set; }
p... |
using Abp.Application.Services.Dto;
using System;
namespace Blog_Test_Petros_Ohanyan.Users.Dto
{
//custom PagedResultRequestDto
public class PagedUserResultRequestDto : PagedResultRequestDto
{
public string Keyword { get; set; }
public bool? IsActive { get; set; }
}
} |
using System;
using System.Collections.Generic;
using Dopple.InstructionWrapperMembers;
namespace Dopple.InstructionNodes
{
public class SingleUnitBackRelated : CoupledList
{
public SingleUnitBackRelated(InstructionNode containingNode) : base(containingNode)
{
}
internal overr... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
namespace MathsLibrary_MultipleEndpoints_Different_Adress
{
// REMARQUE : vous pouvez utiliser la commande Renommer du menu Refactoris... |
using System;
using System.Collections.Generic;
using System.Text;
namespace ImageTagger.Domain.Models
{
public class TaggedImage
{
public string FileName { get; set; }
public string Path { get; set; }
public long SizeInKb { get; set; }
public string PresignedUrl { get; set; }
... |
namespace VRChatLauncher.UI
{
partial class ChatWindow
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
namespace InteriorPlatform.Web.ViewModels.Image
{
using System.ComponentModel.DataAnnotations;
using Microsoft.AspNetCore.Http;
public class CloudinaryImageInputModel
{
[Required]
public IFormFile Image { get; set; }
}
} |
using Abp.Application.Navigation;
namespace dgPower.KMS.Web.Views.Shared.Components.SideBarMenu
{
public class SideBarMenuViewModel
{
public UserMenu MainMenu { get; set; }
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc.Infrastructure;
namespace Microsoft.AspNetCore.Mvc;
/// <summary>
/// A <see cref="StatusCodeResult"/> that when ex... |
// <Snippet2>
using System;
using Microsoft.VisualStudio.Data.Core;
[DataClientObject("1520C77F-09AF-40b4-B1FE-53C30A177C59")]
public interface IVsDataSupportEntity
{
void DoSomething();
}
// </Snippet2> |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
namespace AEMManager {
public partial class ConsoleWindow : Form {
private readonly AemInstance mAemInstance;
publi... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Diagnostics.ContractsLight;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using BuildXL.Processe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QFramework.GraphDesigner;
using Invert.Data;
using QFramework.GraphDesigner.Unity.WindowsPlugin;
namespace QFramework.GraphDesigner.Unity.KoinoniaSystem.ViewModels
{
public class PackageManagerWindow : WindowViewModel
... |
using DragonFly.Client.Base;
using DragonFly.Razor.Pages.ContentItems;
using DragonFly.Models;
using Microsoft.AspNetCore.Components;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DragonFly.Content;
namespace DragonFly.Client.Pages.ContentItems
{
public cla... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/dwrite_3.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtim... |
//-----------------------------------------------------------------------
// <copyright file="WaveFormatExtensibleTests.cs" company="Larry Olson">
// (c) Copyright Larry Olson.
// This source is subject to the Microsoft Public License (Ms-PL)
// See http://code.msdn.microsoft.com/ManagedMediaHelpers/Project/License.as... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using Android.App;
// 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... |
// 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.
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System... |
using System;
using Alba.CsConsoleFormat.Fluent;
using ChakraCore.NET.API;
using CommandLine;
namespace AElf.CLI.Commands
{
[Verb("get-blk-height", HelpText = "Get the block height.")]
public class GetBlockHeightOption : BaseOption
{
}
public class GetBlockHeightCommand : Command
{
pri... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Screens;
using osu.Game.Beatmaps;
using osu.Game.Overlays;
using osu.Game.Screens.Play;
namespace osu.Game.Screens.Ed... |
/*
* Licensed under the Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
* See https://github.com/openiddict/openiddict-core for more information concerning
* the license and the contributors participating to this project.
*/
using Microsoft.Extensions.DependencyInjection;
using Microsoft.E... |
using System;
namespace GR.Processes.Abstractions.Models
{
public class STIncomingTransition
{
public Guid ProcessTransitionId { get; set; }
public STProcessTransition IncomingTransition { get; set; }
public Guid IncomingTransitionId { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace devdap_bitapp.Controllers
{
public class HomeController : Controller
{
// GET: Home
public ActionResult Index()
{
return View();
}
}
} |
using System.Collections.Generic;
using NightlyCode.Scripting;
using NightlyCode.Scripting.Data;
using NightlyCode.Scripting.Extensions;
using NightlyCode.Scripting.Parser;
using NUnit.Framework;
using Scripting.Tests.Extensions;
namespace Scripting.Tests {
[TestFixture, Parallelizable]
public class IndexerT... |
/*
* 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 System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Microsoft.CSharp;
namespace puck.core.CodeGenerator
{
public static class PuckCompiler
{
private static volatile Dictionary<... |
// *****************************************************************************
//
// © 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... |
// 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.Diagnostics;
using System.Diagnostics.Contracts;
using System.Globali... |
#nullable enable
using System;
using System.Collections.Generic;
using Microsoft.Maui.Graphics;
namespace Microsoft.Maui.Layouts
{
public class GridLayoutManager : LayoutManager
{
GridStructure? _gridStructure;
public GridLayoutManager(IGridLayout layout) : base(layout)
{
Grid = layout;
}
public IGri... |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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,... |
namespace GifLib
{
public struct Color
{
public byte R { get; set; }
public byte G { get; set; }
public byte B { get; set; }
}
} |
namespace ESFA.DAS.ProvideFeedback.Apprentice.Bot.Dialogs.Feedback.Components
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using ESFA.DAS.ProvideFeedback.Apprentice.Core.Models.Conversation;
using ESFA.DAS.ProvideF... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// 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 ConfigManagementDemo.Models;
namespace ConfigManagementDemo
{
public class ReportManager
{
private readonly AppDbContext _dbContext;
private readonly ConfigItemManager _configItemManager;
private readonly ConsoleMa... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace HealthCenter.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class LoginTwitterPage : ContentPage
{
public LoginTw... |
using System;
using System.Collections.Generic;
using System.Text;
namespace kanimal
{
public enum ChildType
{
Sprite,
Bone
}
} |
// Copyright (c) 2013 Rocco Romeo
// Use, modification and distribution are subject to the
// Boost Software License, Version 1.0. (See accompanying file
// LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
// Ported to .NET based on the original:
// Copyright (c) John Maddock 2006, Boost Sof... |
using Hatra.Common.GuardToolkit;
using Hatra.Services.Contracts;
using Microsoft.AspNetCore.Mvc;
using System.Threading.Tasks;
namespace Hatra.ViewComponents
{
public class UsefulLinkViewComponent : ViewComponent
{
private readonly IUsefulLinkService _usefulLinkService;
public UsefulLinkViewC... |
/*
* Copyright (c) 2013-present, SteamDB. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SteamDatabaseBackend
{
internal class HelpComman... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.