text stringlengths 1 932k |
|---|
using System;
using System.Windows;
using System.Windows.Navigation;
using System.Data;
using System.Xml;
using System.Configuration;
namespace GroupBoxExample
{
/// <summary>
/// Interaction logic for app.xaml
/// </summary>
public partial class app : Application
{
}
} |
using System;
using System.Linq;
namespace CD048
{
class Program
{
static void Main()
{
string result = String.Empty;
while (true)
{
int input = int.Parse(Console.ReadLine());
if (input == 0) { break; }
result ... |
// 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 Modern.Forms
{
/// <summary>
/// Provides data for the Scroll event.
/// This enumeration g... |
using System;
using System.Collections.Generic;
using System.Linq;
using HarmonyLib;
using RimWorld;
using UnityEngine;
using Verse;
using Verse.AI;
namespace JecsTools
{
[StaticConstructorOnStartup]
static class JobDefMaker
{
static JobDefMaker()
{
if (DefDatabase<JobDef>.AllD... |
// *** 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 Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Optimization;
using System.Web.UI;
namespace RentMyWrox
{
public class BundleConfig
{
// For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkID=303951
public static voi... |
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("10... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace Bonsai.Design
{
static class TypeVisitor
{
static IEnumerable<PropertyInfo> GetProperties(Type type, BindingFlags bindingAttr)
{
va... |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentValidation.Results;
namespace Ordering.Application.Exceptions
{
public class ValidationException : ApplicationException
{
public ValidationException()
: base("One or more validation failures have occurred.")
... |
// Amplify Shader Editor - Visual Shader Editing Tool
// Copyright (c) Amplify Creations, Lda <info@amplify.pt>
using System;
namespace AmplifyShaderEditor
{
[Serializable]
[NodeAttributes( "Time", "Time", "Time in seconds with a scale multiplier" )]
public sealed class SimpleTimeNode : ShaderVariablesNode
{
pro... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
namespace SqlSugar
{
public class SubOrderBy : ISubOperation
{
public bool HasWhere
{
get; set;
}
public string Name
{
get { ret... |
using System;
namespace R5T.S0030.T003.N009
{
public interface IHasProjectContext
{
IProjectContext ProjectContext_N009 { get; }
}
} |
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("Sp... |
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... |
#pragma warning disable CS1591
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using PostmarkDotNet.Model;
namespace PostmarkDotNet.Legacy
{
/// <summary>
/// A legacy shim, proxying the 1.x IAsyncResult style client calls.
/// </summary>
/// <remarks>This shim is provide... |
// Copyright (c) Bottlenose Labs Inc. (https://github.com/bottlenoselabs). All rights reserved.
// Licensed under the MIT license. See LICENSE file in the Git repository root directory for full license information.
namespace C2CS.Feature.ExtractAbstractSyntaxTreeC;
public class Output : UseCaseOutput
{
} |
using System;
using System.Collections;
using System.Collections.Generic;
// TODO: Unique key integrity check across collections
namespace Ludiq.PeekCore
{
public class MergedKeyedCollection<TKey, TItem> : IMergedCollection<TItem>, IKeyedCollection<TKey, TItem>
{
public MergedKeyedCollection() : base()
{
co... |
using System;
using System.Diagnostics;
using System.Numerics;
using Box2DSharp.Common;
namespace Box2DSharp.Dynamics.Joints
{
/// A revolute joint constrains two bodies to share a common point while they
/// are free to rotate about the point. The relative rotation about the shared
/// point is the joint ... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... |
using System.Security.Claims;
using AutoMapper;
using MessageQueue.Domain.Infrastructure;
using MessageQueue.Domain.InputModels;
using MessageQueue.Domain.Interfaces.Commands;
using MessageQueue.Domain.Interfaces.Repositories;
using MessageQueue.Domain.Models;
using MessageQueue.Domain.OutputModels;
using Serilog;
na... |
using System.Collections.Concurrent;
namespace CHD.Common.KeyValueContainer
{
public sealed class InMemoryKeyValueContainer : IKeyValueContainer
{
private readonly ConcurrentDictionary<string, string> _dict = new ConcurrentDictionary<string, string>();
public InMemoryKeyValueContainer()
... |
/*! @file
@brief HierarchyDumper: Camera 情報取得
@author NullPopPoLab
@sa https://github.com/NullPopPoLab/PluggableVR_Unity
*/
using UnityEngine;
namespace HierarchyDumper
{
//! Camera 情報取得
public struct Dumper_Camera
{
private Camera _obj;
public Dumper_Camera(object obj) { _obj = obj as Camera; }
publi... |
namespace SimpleCommandLine.Tokenization.Tokens
{
/// <summary>
/// Represents a command-line value.
/// </summary>
public interface IValueToken : IArgumentToken
{
}
} |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiInterface(nativeType: typeof(ISesDomainIdentityConfig), fullyQualifiedName: "aws.SesDomainIdentityConfig")]
public interface ISesDomainIdentityConfig : HashiCorp.Cdktf.ITerraformMetaArguments
{
[Jsi... |
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using System;
namespace EnvironmentalStressor.Controllers
{
public class HealthChecksController : Controller
{
private readonly ILogger logger;
public HealthChecksController(ILoggerFactory loggerFactory)
{
... |
using System;
using System.Collections.Generic;
namespace WorldEditor
{
public enum Direction
{
Left,
Right,
Top,
Bottom
}
public class RiverGroup
{
public List<River> Rivers = new List<River>();
}
public class River
{
public int myLength;
public List... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using internal_data_api.Context;
#nullable disable
namespace internal_data_api.Migr... |
using System;
using System.Configuration;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Security.Cryptography;
using System.Text;
using System.Web.Http.Controllers;
using System.Web.Http.Filters;
using log4net;
namespace PRTracker.Web.Components
{
/// <summary>
/// Authorization fil... |
//
// Copyright (C) 2015 crosire & contributors
// License: https://github.com/crosire/scripthookvdotnet#license
//
using System;
using System.IO;
namespace SHVDN
{
public static class Log
{
public enum Level
{
Error,
Warning,
Info,
Debug,
}
static string FilePath => Path.ChangeExtension(typeof... |
using FluentAssertions;
using Xunit;
using Xunit.Abstractions;
namespace CommandDotNet.Tests.FeatureTests
{
public class CustomReturnCodeTests
{
public CustomReturnCodeTests(ITestOutputHelper output)
{
Ambient.Output = output;
}
[Theory]
[InlineData("VoidMe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Infrastructure.Tests.Data.Domain;
using System.Data.Entity.ModelConfiguration;
namespace Infrastructure.Tests.Data.Domain.Mapping
{
public class OrderMapping : EntityMappingBase<Order>
{
public OrderMapping()
... |
namespace SourcemapToolkit.CallstackDeminifier
{
internal interface IStackFrameDeminifier
{
/// <summary>
/// This method will deminify a single stack from from a minified stack trace.
/// </summary>
/// <returns>Returns a StackFrameDeminificationResult that contains a stack trace that has been translated to... |
namespace TeaTime.Slack.Models.Responses
{
using Newtonsoft.Json;
public class OAuthTokenResponseIncomingWebhook
{
[JsonProperty("channel")]
public string Channel { get; set; }
[JsonProperty("channel_id")]
public string ChannelId { get; set; }
[JsonProperty("confi... |
using System.Reflection;
using System.Threading.Tasks;
using CLAP;
namespace Icm.TagManager.CommandLine
{
internal class AsyncMethodInvoker : IMethodInvoker
{
public void Invoke(MethodInfo method, object obj, object[] parameters)
{
(method.Invoke(obj, parameters) as Task)?.Wait();
... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ControllerAssemblyInfo.cs" company="Chromely Projects">
// Copyright (c) 2017-2019 Chromely Projects
// </copyright>
// <license>
// See the LICENSE.md file in the project ... |
// 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 DotNetNuke.Web.DDRMenu.TemplateEngine
{
using System;
using System.Collections.Generic;
using ... |
using Ray.Serilog.Sinks.Batched;
using Serilog.Events;
namespace Ray.Serilog.Sinks.MicrosoftTeamsBatched
{
public class MicrosoftTeamsBatchedSink : BatchedSink
{
private readonly string _webhook;
public MicrosoftTeamsBatchedSink(
string webhook,
Predicate<LogEvent> pre... |
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Lightning.Core.Utils
{
public static class LoggerExtensions
{
private static readonly Action<ILogger, int, long, int, DateTime, Exception?> _reportTimer... |
// <auto-generated />
using System;
using ItLinksBot.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace ItLinksBot.Migrations
{
[DbContext(typeof(ITLin... |
/**
* Copyright (c) blueback
* Released under the MIT License
* https://github.com/bluebackblue/fee/blob/master/LICENSE.txt
* @brief 入力。マウス。
*/
/** Fee.Input
*/
namespace Fee.Input
{
/** Mouse
*/
public class Mouse
{
/** カーソル。
*/
public Status_Mouse_Cursor cursor;
/** ボタン。
*/
public Status_Mouse_... |
using System;
using SLua;
using System.Collections.Generic;
[UnityEngine.Scripting.Preserve]
public class Lua_UnityEngine_CapsuleCollider2D : LuaObject {
[SLua.MonoPInvokeCallbackAttribute(typeof(LuaCSFunction))]
[UnityEngine.Scripting.Preserve]
static public int get_size(IntPtr l) {
try {
UnityEngine.CapsuleC... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using A... |
/*
* 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 © Jason Curl 2021
// Sources at https://github.com/jcurl/SerialPortStream
// Licensed under the Microsoft Public License (Ms-PL)
// This file is only for .NET Core
namespace RJCP.IO.Ports.Trace
{
using System;
using Microsoft.Extensions.Logging;
internal sealed class SerialLogger : ILogger
... |
#region Copyright 2010 by Apache Harmony, Licensed under the Apache License, Version 2.0
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF l... |
#pragma checksum "..\..\..\UI\Wifi.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "0AFE9A9EEF93A05CE21E1D0A32C73EA3"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to... |
using LNF.Data;
using System;
namespace LNF.Impl.Repository.Data
{
/// <summary>
/// A base class for subclasses that share common Client and Account data
/// </summary>
public abstract class ClientAccountInfoBase : ClientOrgInfoBase, IClientAccount
{
/// <summary>
/// The unique i... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CSharpZorkMachine;
using Xunit;
namespace CSharpZorkMachine.Tests
{
public class TestWord
{
[Fact]
public void WordAllOnesIsTerminal()
{
Word terminal =... |
using Arenaii.Data;
namespace Arenaii.AIGames.LightRiders.Data
{
public class LightRidersCompetition : Competition<LightRidersSettings> { }
} |
using NUnit.Framework;
using System;
using akarnokd.reactive_extensions;
namespace akarnokd.reactive_extensions_test.observablesource
{
[TestFixture]
public class ObservableSourceFilterTest
{
[Test]
public void Regular_Basic()
{
ObservableSource.Range(1, 10)
... |
#region CVS Version Header
/*
* $Id$
* Last modified by $Author$
* Last modified at $Date$
* $Revision$
*/
#endregion
using RssBandit.Resources;
using RssBandit.WinGui.Controls;
namespace RssBandit.WinGui.Dialogs
{
/// <summary>
/// DialogBase can be inherited from to get the right
/// icon, OK/Cancel, Line s... |
using System.Reflection;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("2.3.20")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("2.3.20")]
[assembly: AssemblyCopyrigh... |
using System;
using System.Collections.Immutable;
using System.IO;
using System.Linq;
using Microsoft.Build.Construction;
using MSBuild.Abstractions;
using MSBuild.Conversion.Facts;
using MSBuild.Conversion.Package;
namespace MSBuild.Conversion.Project
{
public static class ProjectRootElementExtensions
{
... |
using System;
using Newtonsoft.Json;
using System.Xml.Serialization;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayDataDataexchangeDtmorseSyncModel Data Structure.
/// </summary>
[Serializable]
public class AlipayDataDataexchangeDtmorseSyncModel : AlipayObject
{... |
namespace Se7en.OpenCl.Api.Enum
{
public enum ContextProperties : uint // cl_uint
{
Platform = 0x1084,
};
} |
@using BandRegister
@using BandRegister.Models
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
using System;
using System.Collections.Generic;
using System.Text;
namespace CursoCSharp.EstruturaDeControle
{
class EstruturaWhile
{
public static void Executar()
{
int palpite = 0;
Random random = new Random();
int numeroSecreto = random.Next(1, 16);
... |
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision: 1.1 $</version>
// </file>
using System;
using System.Drawing;
using System.Diagnostics;
using System.Collections.Speci... |
using AutoMapper;
using Hangman.Mappings;
using Hangman.Models;
using System.ComponentModel.DataAnnotations;
namespace Hangman.Shared.InputModels.User
{
public class UserRegisterInputModel : IMapTo<ApplicationUser>
{
private const int UsernameMinLength = 5;
private const int PasswordMinLength = 5;
[Required]... |
using System;
using System.Linq;
using System.Text;
using Microsoft.AspNet.Razor.TagHelpers;
using Microsoft.SqlServer.Server;
namespace WebApp.TagHelpers
{
[HtmlTargetElement("alphabet-pager", Attributes = "letter, link-url, query-params")]
public class AlphabetPagingTagHelper : TagHelper
{
publi... |
// ReSharper disable All
using Lumina.Text;
using Lumina.Data;
using Lumina.Data.Structs.Excel;
namespace Lumina.Excel.GeneratedSheets
{
[Sheet( "DynamicEventSingleBattle", columnHash: 0xe760c985 )]
public class DynamicEventSingleBattle : ExcelRow
{
public int ActionIcon { get; set; }
... |
// Copyright (c) 2017 Alachisoft
//
// 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 by applicable law or agreed t... |
using System;
using ICSharpCode.NRefactory.CSharp;
namespace Raven.Database.Linq
{
[CLSCompliant(false)]
public class StringLiteralExpression : PrimitiveExpression
{
public StringLiteralExpression(string value)
: base(value, '"' + value + '"')
{
}
}
[CLSComplian... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Linq;
using EuriborSharp.Enums;
using EuriborSharp.Properties;
using MoreLinq;
using System.Xml.Serialization;
namespace EuriborSharp.Model
{
[Serializable]
public static class TheEuribors
{
p... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigati... |
using System.Collections.Generic;
using FlatRedBall.Math;
using FlatRedBall.Math.Geometry;
using Gum.Wireframe;
using RenderingLibrary.Graphics;
using System.Linq;
using Microsoft.Xna.Framework;
using RenderingLibrary;
using ShmupInvaders.GumRuntimes;
namespace FlatRedBall.Gum
{
public class GumPositionedObject ... |
using GVFS.Common.FileSystem;
using GVFS.Common.Git;
using GVFS.Common.Tracing;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
namespace GVFS.Common.Maintenance
{
// Performs LooseObject Maintenace
// 1. Removes loose objects that appear in packfiles
// 2. Packs loose ... |
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("Al... |
using Newtonsoft.Json;
namespace DigitalOcean.API.Models.Requests {
public class DatabaseUser {
/// <summary>
/// The name to give the database user.
/// </summary>
[JsonProperty("name")]
public string Name { get; set; }
}
} |
// <copyright file="IUserDataService.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// </copyright>
namespace Microsoft.Teams.Apps.CompanyCommunicator.Common.Services.User
{
using Microsoft.Bot.Schema;
using System.Threading.Tasks;
/// <summary>
//... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Management.Automation;
using Dbg = System.Management.Automation;
namespace Microsoft.PowerShell.Commands
{
/// <summary>
/// The get-childitem command class.
/// This command lists th... |
using System;
using System.Text;
using Microsoft.Practices.RecipeFramework;
using Microsoft.Practices.Common;
namespace SPALM.SPSF.Library.ValueProviders
{
public class DefaultNameValueCollectionProvider : ValueProvider
{
public override bool OnBeginRecipe(object currentValue, out object newValue)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace JokesApp.Web.Areas.Identity.Pages.Account
{
[AllowAnonymous]
public class ResetPasswordConfirmationModel : PageModel
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using Boa.Constrictor.WebDriver;
using OpenQA.Selenium;
using static Boa.Constrictor.WebDriver.WebLocator;
namespace BigHealthTakeHomeTest.Pages
{
public static class SleepScorePage
{
public static IWebLocator SleepReportScore = L("Sleep Report Score", By.ClassName("sl-score"));
public static ... |
// Copyright (c) Microsoft Open Technologies, Inc. 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.IO;
using Moq;
using Moq.Language.Flow;
namespace Microsoft.Azure.WebJobs.Host.UnitTests.Blobs
{
inter... |
// Copyright (c) 2012-2018 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using System.IO;
using System.Linq;
using System.Text;
using Xunit;
namespace Dicom.Bugs
{
public class GH597
{
[Fact]
public void DicomFileSave_LargeData16BitLength_ConvertsVRToUN()
... |
namespace Plugin.PayCards
{
public class PayCard
{
public PayCard(string holderName, string cardNumber, string expirationDate)
{
HolderName = holderName;
CardNumber = cardNumber;
ExpirationDate = expirationDate;
}
public string HolderName { g... |
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("07.... |
namespace TeisterMask.Controllers
{
using Microsoft.AspNetCore.Mvc;
using Models;
using System.Collections.Generic;
using System.Linq;
public class TaskController : Controller
{
private readonly TeisterMaskDbContext dbContext;
public TaskController(TeisterMaskDbContext dbConte... |
using CleanArchitecture.Domain.Entities.Todo;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace CleanArchitecture.Infrastructure.Persistence.Configurations
{
public class TodoListConfiguration : IEntityTypeConfiguration<TodoList>
{
public void Config... |
#region LGPL License
/*
Axiom Game Engine Library
Copyright (C) 2003 Axiom Project Team
The overall design, and a majority of the core engine and rendering code
contained within this library is a derivative of the open source Object Oriented
Graphics Engine OGRE, which can be found at http://ogre.sourceforge.net. ... |
// 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.Windows.Controls;
namespace MetroDemo.Navigation
{
/// <summary>
/// Interaction logic for Ho... |
using PPDFramework;
using PPDMultiCommon.Data;
using PPDMultiCommon.Model;
using PPDShareComponent;
using SharpDX;
using System;
namespace PPDMulti
{
class GameRuleComponent : FocusableGameComponent
{
public event EventHandler RuleChanged;
PPDFramework.Resource.ResourceManager resourceManager... |
using Content.Client.CharacterInterface;
using Robust.Client.UserInterface;
namespace Content.Client.CharacterInfo.Components
{
/// <summary>
/// An interface which is gathered to assemble the character window from multiple components
/// </summary>
public interface ICharacterUI
{
/// <sum... |
using System;
using System.Text;
using System.IO;
using System.Runtime.InteropServices;
namespace Demo
{
internal class Config
{
public static string AccessKeyId = "<your access key id>";
public static string AccessKeySecret = "<your access key secret>";
public static string Region... |
#pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "75DC5344623283334A38B565342C8233"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34209
//
// Changes to... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using MediaBrowser.Common.Net;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Controller.Entities.Movies;
using MediaBrowser.C... |
using CefSharp;
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Threading.Tasks;
using System.Windows;
namespace Tenduke.SsoClient.WPF.WebBrowserTest
{
//... |
using System;
using System.Diagnostics;
namespace Orleans.Metadata
{
/// <summary>
/// Describes a grain interface.
/// </summary>
[DebuggerDisplay("{" + nameof(InterfaceType) + "}")]
public class GrainInterfaceMetadata
{
/// <summary>
/// Initializes an instance of the <see cr... |
using System;
namespace Leptonica
{
/// <summary>
/// BMP file header
/// </summary>
public class BMP_FileHeader : LeptonicaObjectBase
{
public BMP_FileHeader(IntPtr pointer) : base(pointer) { }
}
} |
using System;
using System.Buffers;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Threading.Tasks;
using HotChocolate.Configuration;
using HotChocolate.Language;
using HotChocolate.Properties;
using HotChocolate.Resolvers;
using HotChocolate.Resolvers.Expressions;
using H... |
// *** 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... |
/*
* 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 LibDotNetParser.PE;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LibDotNetParser.DotNet.Tabels.Defs
{
public class MethodSpec : IMetadataTableRow
{
public ushort Method { get; set; }
public ushort Instantiat... |
using System.Collections;
using UnityEngine;
namespace NMJToolBox.Demos
{
public class ButtonTestOne : MonoBehaviour
{
public int myInt;
[ButtonBeginHorizontal, ButtonBeginVertical]
[Button(enabledMode: EButtonEnableMode.Always)]
private void IncrementMyInt()
{
... |
#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,
//... |
using UnityEngine;
namespace Zenject.Tests.Factories.PrefabFactory
{
public class Foo2 : MonoBehaviour
{
[Inject]
public string Value
{
get; private set;
}
public class Factory : PlaceholderFactory<Object, string, Foo2>
{
}
public cl... |
using Coevery.ContentManagement;
using Coevery.Events;
using Coevery.Security.Permissions;
namespace Coevery.Security {
public interface IAuthorizationServiceEventHandler : IEventHandler {
void Checking(CheckAccessContext context);
void Adjust(CheckAccessContext context);
void Complete(Chec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.