text stringlengths 1 932k |
|---|
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/d3d10_1shader.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using... |
// Instance generated by TankLibHelper.InstanceBuilder
// ReSharper disable All
namespace TankLib.STU.Types {
[STUAttribute(0xC72310BE)]
public class STU_C72310BE : STU_1260DC1B {
[STUFieldAttribute(0xF3380D02)]
public teStructuredDataAssetRef<STUIdentifier> m_F3380D02;
[STUFieldAttrib... |
using Ascension.Attributes;
using Ascension.Enums;
using Ascension.Internal;
namespace Ascension.Interfaces
{
/// <summary>
/// Indicates that an entity is an ascension entity.
/// </summary>
[CreatedBy(Dev.WaitWhatWolf, 2021, 08, 10)]
public interface IAscensionEntity
{
EntityStats St... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace SIL.Machine.Threading
{
/// <summary>
/// Helper methods for cancellation tokens.
/// </summary>
public static class CancellationTokenHelpers
{
/// <summary>
/// Initializes the ... |
using System;
using System.Xml;
using System.Xml.Linq;
namespace Wordroller.Utility.Xml
{
internal static class MainXmlNamespaceSingleChildAttributesHelper
{
internal static void SetSingleElementAttributeOrRemoveElement(this XElement xml, string element, string attribute, string? value)
{
var e = xml.Element... |
// 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 Internal.JitInterface;
using Internal.TypeSystem;
using Internal.ReadyToRunConstants;
namespace ILCompiler.... |
// Copyright (c). All rights reserved.
//
// Licensed under the MIT license.
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using DWORD = System.UInt32;
using LARGE_INTEGER = System.UInt64;
namespace Microsoft.Wim
{
/// <summary>
/// Specifies options when copying a file fr... |
// *****************************************************************
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the Microsoft Public License.
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANT... |
using System.Threading.Tasks;
using SoftPlayer.Api.Domain.Services;
using Xunit;
namespace SoftPlayer.Test.Controllers
{
public class TaxaControllerShould
{
[Fact]
public async Task CheckTaxa(){
var service = new TaxaService();
var taxa = await service.GetTaxaAsync();
... |
using System.Reflection;
namespace WPS.AutoFileTransform;
class Program
{
private static readonly Dictionary<string, MethodInfo> argMethods = typeof(ArgMethods).GetMethods().ToDictionary(m => m.Name.ToLower(), m => m);
private static readonly List<TransformationInfo> transformationInfos = new();
static void Mai... |
@model IEnumerable<KompetansetorgetServer.Models.Device>
@{
ViewBag.title = "Index";
}
<h2>Index</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>
@Html.DisplayNameFor(model => model.token)
</th>
<th>
@Html.DisplayNameF... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BossTrigger : BaseEnemy
{
[SerializeField] int KeyReq = 0, numOfSwings = 0;
//[SerializeField] float ShakeTime = 0;
[SerializeField] Sprite[] breakeffect = null;
[SerializeField] GameObject BossLevel = null, Pr... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Weapon : MonoBehaviour
{
private GameObject wielder;
private bool isSwinging = false;
private int damage;
public void Initialise(GameObject a_owner, int a_damage)
{
wielder = a_owner;
dama... |
/*
* Copyright (c) 2016 Samsung Electronics Co., Ltd 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 requi... |
using AnagramGameFR.Dependencies;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AnagramGameFR.ThemesWords
{
abstract class Verb
{
public const Themes theme = Themes.VERB;
public static string[] words =
{
"ABATTRE",
"ABIGOTI... |
using HandySub.Common;
using HandySub.Models;
using HtmlAgilityPack;
using Microsoft.UI.Xaml;
using Microsoft.UI.Xaml.Controls;
using Microsoft.UI.Xaml.Navigation;
using System;
using System.Collections.ObjectModel;
using System.Net.Http;
using System.Net;
using SettingsUI.Helpers;
namespace HandySub.Pages
{
publ... |
using System;
namespace Challenge02_ShiftArray
{
class Program
{
//InsertShiftArray();
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
int[] inputArray = { 1, 2, 4, 5 };
int[] result = InsertShiftArray(inputArray, 3);
... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace P01_StudentSystem.Migrations
{
public partial class BugEndFix : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_HomeworkSubmisions_Course... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Saw : MonoBehaviour
{
public float speed;
public float moveTime;
private bool right = false;
private float timer;
// Update is called once per frame
void Update()
{
timer += Time.deltaTim... |
namespace Bitmex.Client.Websocket.Messages
{
public enum MessageType
{
// Do not rename, used in requests
Ping,
Help,
AuthKey,
Subscribe,
Unsubscribe,
CancelAllAfter,
// Can be renamed, only for responses
Error,
Info,
Trad... |
public static class phraseList
{
} |
using System;
using Unity.Builder;
using Unity.Builder.Strategy;
using Unity.Events;
using Unity.Extension;
using Unity.Lifetime;
using Unity.Policy;
using Unity.Storage;
using Unity.Strategies;
namespace Unity.Tests.v5.TestDoubles
{
public class MyExtensionContext : ExtensionContext
{
private UnityCon... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
namespace MineCase.Serialization
{
internal static class BinaryReaderExtensions
{
public static byte ReadAsByte(this BinaryReader br) =>
... |
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("mu... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
public class PanelManager : MonoBehaviour
{
public static PanelManager instance;
public GameObject glossaryObj;
private Location currentLocation;
private Glossary glossary;
... |
namespace BohFoundation.Domain.Dtos.Applicant.Extracurricular
{
public class JobDto
{
public string Employer { get; set; }
public string Position { get; set; }
public string ShortSummaryOfWorkResponsibilities { get; set; }
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//---... |
@model IEnumerable<Xbim.Flex.Client.Model>
@{
ViewBag.Title = "Models";
}
<h2>Models</h2>
<p>
@Html.ActionLink("Create New", "Create")
</p>
<table class="table">
<tr>
<th>Model Name</th>
<th>ID</th>
<th>Asset ID</th>
<th>Uploaded</th>
<th>Processing Stage</th>
... |
// *** 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... |
public class Simple {
static void Main() {
System.Console.WriteLine("Hello, World!");
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SpssLib.SpssDataset
{
public enum MeasurementType
{
Nominal,
Ordinal,
Scale
}
} |
using HDF5CSharp.DataTypes;
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Reflection;
namespace HDF5CSharp.Example.DataTypes
{
[Hdf5GroupName("system_information")]
public class SystemInformati... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class ComponentCopy : MonoBehaviour {
public static T Copy<T>(T original, GameObject destination) where T : Component {
System.Type type = original.GetType();
Component copy = destination.AddComponent(type);
... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>@ViewBag.Title</title>
@RenderSection("head", required: false)
</head>
<body>
<div class="container body-content">
@RenderBody()
</div>
@RenderSectio... |
using System.ComponentModel.DataAnnotations;
namespace B2B.Core.Models.Dtos.Company
{
public class CreateAddresDto
{
[Required]
[MinLength(2)]
public string Country { get; set; }
[Required]
[MinLength(2)]
public string CountryId { get; set; }
[Required... |
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using System.Runtime.InteropServices;
using RefScout.Analyzer.Helpers;
namespace RefScout.Analyzer.Resolvers.Strategies.Framework;
internal class FusionGacResolverS... |
//--------------------------------------------------
// Motion Framework
// Copyright©2020-2021 何冠峰
// Licensed under the MIT license
//--------------------------------------------------
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using MotionFramework.Network;
using Mo... |
using System.IO;
using System.Runtime.Serialization;
using WolvenKit.CR2W.Reflection;
using FastMember;
using static WolvenKit.CR2W.Types.Enums;
namespace WolvenKit.CR2W.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class W3TutorialManagerUIHandlerStateMutationsFirstOpen : W3TutorialManagerUIHandlerState... |
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// - Redistributions of source code must retain the above copyright notice, this
// list o... |
// Copyright (c) .NET Foundation and Contributors (https://dotnetfoundation.org)
// Copyright (c) 2018-2021 Stride and its contributors (https://stride3d.net)
// Copyright (c) 2011-2018 Silicon Studio Corp. (https://www.siliconstudio.co.jp)
// See the LICENSE.md file in the project root for full license information.
u... |
using Microsoft.Owin.Security.Provider;
using Newtonsoft.Json.Linq;
using System.Security.Claims;
namespace Microsoft.Owin.Security.WeiChat.Provider
{
public class WeiChatAuthenticatedContext : BaseContext
{
public WeiChatAuthenticatedContext(IOwinContext context, JObject user, string accessToken)//, ... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using HotChocolate.Data.Sorting;
using HotChocolate.Execution;
using MongoDB.Bson.Serialization.Attributes;
using Squadron;
using Xunit;
namespace HotChocolate.Data.MongoDb.Sorting;
public class MongoDbSortVisitorObjectTests
: SchemaCac... |
using System.Collections.Generic;
using Xunit;
using Exercism.Tests;
public class RemoteControlCompetitionTests
{
[Fact]
[Task(1)]
public void Race()
{
var productionCar = new ProductionRemoteControlCar();
var experimentalCar = new ExperimentalRemoteControlCar();
TestTrack.Race(... |
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("Sc... |
// ship
// by Dave Pape, 5 Oct 2020
//
// Simple Newtonian physics to fly a spaceship. Gravity is pulling the ship downward.
// If the user pushes the joystick forward, a thrust force will push the ship in the direction it is pointing.
// Moving the joystick left or right will turn the ship.
// If the ship reaches a ... |
using System;
using System.Collections.Generic;
using PSK.SmartGarden.Dto.Base;
namespace PSK.SmartGarden.Dto.Measurement
{
public class GetMeasurementListOutputDto : BasePageableListOutputDto
{
public IList<ListItemDto> Data { get; set; }
public class ListItemDto
{
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
namespace DotNetWebApp
{
public class Program
{
public s... |
using System;
public class Topping
{
private string type;
private double weight;
public Topping(string type, double weight)
{
this.Type = type;
this.Weight = weight;
}
public double GetCalories()
{
var calories = 2 * this.Weight;
switch (this.Type.ToLower(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Routing;
namespace StackBot2
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
GlobalConfiguration.Configu... |
// <Snippet4>
using System;
using System.Globalization;
public class Example
{
public static void Main()
{
string[] inputs = { "3", "16:42", "1:6:52:35.0625",
"1:6:52:35,0625" };
string[] formats = { "%h", "g", "G" };
TimeSpan interval;
CultureInfo culture = n... |
using SimpleJSON;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
public class Simulation
{
//Simulation data
public string name, description;
public SimTypeEnum type;
public int id;
public Dictionary<string, dynamic> dimensions = new Dictionary<string, dynamic>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GravitySimulator.Models
{
public class PointInSpace
{
public int Id { get; set; }
public bool IsAlive { get; set; }
public float Mass { get; set; }
pub... |
using System;
using Microsoft.Extensions.DependencyInjection;
namespace StructureMap
{
public sealed class StructureMapServiceProvider : IServiceProvider, ISupportRequiredService
{
public StructureMapServiceProvider(IContainer container)
{
Container = container;
}
... |
using Contractor.Core.Options;
using Contractor.Core.Tools;
using System.IO;
namespace Contractor.Core.Projects.Frontend.Model
{
internal class ApiEntityGeneration : ClassGeneration
{
private static readonly string TemplatePath =
Path.Combine(ModelProjectGeneration.TemplateFolder, "api-ent... |
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2019 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software")... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ScoreManager : MonoBehaviour {
public static ScoreManager Instance { get; private set; }
public Text text;
public float scorePerSecond = 1f;
private float score;
private ... |
using CaseManagement.Common.Responses;
using CaseManagement.HumanTask.Domains;
using CaseManagement.HumanTask.Persistence.Parameters;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
namespace CaseManagement.HumanTask.Persi... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using Windows.UI;
using Windows.UI.Xaml;
using Windows.UI.Xaml.Controls;
using Windows.UI.Xaml.Media;
using Windows.Web;
namespace AppStudio.Controls
{
public class ReadingWebView : UserControl
... |
using System;
using System.Collections.Generic;
using System.IO;
namespace NaturalBandingCS {
public class NaturalBandingTester {
public static void Main() {
var inputList = new List<double>();
using (var fileStream = File.OpenRead("../../data/TIV2020_ByCounty.csv")) {
... |
global using Microsoft.VisualStudio.TestTools.UnitTesting;
global using Tungsten.Compiler.AST;
global using Tungsten.Compiler; |
// Copyright (c) 2012-2021 fo-dicom contributors.
// Licensed under the Microsoft Public License (MS-PL).
using FellowOakDicom.Log;
using Microsoft.Extensions.DependencyInjection;
namespace FellowOakDicom.Imaging.Codec
{
/// <summary>
/// Base class for DICOM codec parameters.
/// </summary>
public ... |
// Copyright (c) 2007, Clarius Consulting, Manas Technology Solutions, InSTEDD, and Contributors.
// All rights reserved. Licensed under the BSD 3-Clause License; see License.txt.
using System;
using Xunit;
namespace Moq.Tests
{
public class OccurrenceFixture
{
[Fact]
[Obsolete]
public void OnceThrowsOnSecon... |
using System;
using Avalonia.Controls.Platform.Surfaces;
using Avalonia.Direct2D1.Media;
using Avalonia.Platform;
using Avalonia.Rendering;
using Avalonia.Win32.Interop;
using SharpDX.WIC;
using PixelFormat = Avalonia.Platform.PixelFormat;
namespace Avalonia.Direct2D1
{
class FramebufferShimRenderTarget : IRender... |
using Unity.Entities;
using UnityEngine;
using Sark.RNG;
namespace DotsRogue
{
public class ItemScrollMagicMissileAuthoring : MonoBehaviour, IConvertGameObjectToEntity
{
public DiceValue DamageDice = new DiceValue(8, 2);
public int Range = 5;
public void Convert(Entity entity, EntityM... |
// FILE AUTOGENERATED. DO NOT MODIFY
using System;
namespace Starfield.Core.Block.Blocks {
[Block("minecraft:dark_oak_door", 489, 8998, 9061, 9009)]
public class BlockDarkOakDoor : BlockBase {
public override ushort State {
get {
if(Facing == "north" && Half == "upper" && ... |
using SuaveKeys.Clients.Services;
using SuaveKeys.Core.Models.Transfer.Keyboard;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Input;
using Xamarin.Forms;
namespace SuaveKeys.Clients.ViewModels
{
public class KeyboardCommandPageViewModel : BaseViewModel... |
namespace Deeproxio.Asset.DAL.Contracts
{
public interface IAssetsDatabaseSettings
{
string CollectionName { get; set; }
string ConnectionString { get; set; }
string DatabaseName { get; set; }
}
} |
namespace KryptonButtonExamples
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
//... |
using Boruc.LabEquip.Services.Equipment.Domain.AggregatesModel.EquipmentAggregateES;
using Boruc.LabEquip.Services.SharedKernelES;
using System;
namespace Boruc.LabEquip.Services.Equipment.EventStore.Repositories
{
public class EquipmentRepository : IEquipmentRepositoryES
{
private readonly IEventStore _eventStor... |
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.18052
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
namespace DX... |
namespace NimbusFox.FoxCore.Classes {
public class VectorData {
public string Code { get; set; }
public uint Rotation { get; set; }
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Photon.Pun;
using Photon.Realtime;
public class WatingRoomManager : MonoBehaviourPunCallbacks
{
public GameObject readyObj;
public Text pingText;
public GameObject goBtn;
public GameObject backBt... |
/*
* 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... |
// ---------------------------------------------------------------------------
// 1234. Replace the Substring for Balanced String
// https://leetcode.com/problems/replace-the-substring-for-balanced-string/
// ---------------------------------------------------------------------------
using System;
namespace CodeKata... |
using UnityEngine;
namespace Cal
{
public class GameStart : MonoBehaviour
{
private void Start()
{
Game.Base = new Game();
Game.Base.Init();
}
private void Update()
{
Game.Base.Update();
}
}
} |
// <copyright file="TestImage.cs" company="James Jackson-South">
// Copyright (c) James Jackson-South and contributors.
// Licensed under the Apache License, Version 2.0.
// </copyright>
using System.IO;
namespace ImageSharp.Tests
{
public class TestFile
{
private readonly Image image;
privat... |
// 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 System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
namespace Microsoft.Xna.Framework.Net
{
[Serializable]
public class NetworkNotAvailableException : NetworkException
{
public NetworkNotAvailableException()
{
}
public Net... |
/*
* Copyright 2010-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Gainzville.Shared
{
public class WeatherForecast
{
public DateTime Date { get; set; }
public int TemperatureC { get; set; }
public string Summary { get; set; }
public int TemperatureF => 32 + (int)(... |
using DulcisX.Core.Enums;
using Microsoft.VisualStudio.Shell.Interop;
using System;
using System.Collections.Generic;
namespace DulcisX.Hierarchy.Events
{
/// <summary>
/// Provides events, which occur on changes to <see cref="ProjectItemNode"/>s within all <see cref="ProjectNode"/>s. Provided by the <see cre... |
#region License
//
// Author: Einar Ingebrigtsen <einar@dolittle.com>
// Copyright (c) 2007-2010, DoLittle Studios
//
// Licensed under the Microsoft Permissive License (Ms-PL), Version 1.1 (the "License")
// you may not use this file except in compliance with the License.
// You may obtain a copy of the license at
/... |
// This file was automatically generated and may be regenerated at any
// time. To ensure any changes are retained, modify the tool with any segment/component/group/field name
// or type changes.
namespace Machete.HL7Schema.V26
{
using HL7;
/// <summary>
/// RPA_I08_OBSERVATION (Group) -
/// </summary... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.IO;
using Xunit;
namespace Microsoft.AspNetCore.Razor.TagHelpers
{
public class NullHtmlEncoderTest
{
[Fact]
public void MaxOutputCharactersPerI... |
using System;
using System.Xml.Serialization;
using System.ComponentModel.DataAnnotations;
using BroadWorksConnector.Ocip.Validation;
using System.Collections.Generic;
namespace BroadWorksConnector.Ocip.Models
{
/// <summary>
/// Request the Receptionist Small Business parameters.
/// The response is eithe... |
// 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.Diagnostics.Contracts;
using System.IO;
using System.Linq;
using System.Net.WebSockets;
using System.Security.Cryptography;
u... |
using System;
namespace Ambacht.HeightmapUpscale.Test
{
public class Class1
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace Core.Utilities.Messages
{
public class AspectMessages
{
public static string WrongValidationType = "Wrong Validation Type";
public static string WrongLoggerType = "Wrong Logger Type";
}
} |
using System;
namespace XamSnap
{
public class Message
{
public string Id { get; set; }
//NOTE: the Id of a Conversation
public string Conversation { get; set; }
public string UserName { get; set; }
public string Text { get; set; }
//NOTE: GPS location of th... |
using NuGet.Packaging;
using System;
using System.Collections.Generic;
using System.Data.Services.Common;
using System.IO;
using System.Linq;
using NuGet.Versioning;
using NuGet.Packaging.Core;
using System.Security.Cryptography.X509Certificates;
namespace NuGetPe
{
[DataServiceKey("Id", "Version")]
[EntityPro... |
/*
* 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 FortnoxApiSDK.Models.Authorization;
using FortnoxNET.Constants.Search;
using FortnoxNET.Constants.Sort;
using System.Collections.Generic;
namespace FortnoxNET.Communication.FinancialYear
{
public class FinancialYearListRequest : FortnoxApiListedResourceRequest
{
public FinancialYearListRequest(s... |
/*
* Created by SharpDevelop.
* User: JHSON
* Date: 2012-08-24
* Time: 오후 4:31
*
* To change this template use Tools | Options | Coding | Edit Standard Headers.
*/
namespace Artn.Ilhwa.View.Common
{
partial class FormGridSelector
{
/// <summary>
/// Designer variable used to keep track of non-visual comp... |
using System.Collections.Generic;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
namespace Nez
{
/// <summary>
/// grid of springs
/// based on the tutorial: http://gamedevelopment.tutsplus.com/tutorials/make-a-neon-vector-shooter-for-ios-the-warping-grid--gamedev-14637
/// ... |
using System;
namespace ArtAuction.Core.Domain.Entities
{
public class Lot
{
public Guid LotId { get; set; }
public Guid CategoryId { get; set; }
public Category Category { get; set; }
public string Name { get; set; }
public string PaintingDate { get; set; }
pub... |
public class Person
{
private string name;
private int age;
public Person()
{
Name = "No name";
Age = 1;
}
public Person(int age)
:this()
{
Age = age;
}
public Person(int age, string name)
: this(age)
{
Name = name;
}
p... |
using BlazorMobile.Common.Serialization;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using System.Text;
[assembly: InternalsVisibleTo("BlazorMobile")]
[assembly: InternalsVisibleTo("BlazorMobile.Web")]
[assembly: InternalsVisibleTo("BlazorMobile.Commo... |
using System;
namespace QFSW.QC
{
/// <summary>
/// Serializer for all types inheriting from a single type.
/// </summary>
/// <typeparam name="T">Base type of the types to serialize.</typeparam>
public abstract class PolymorphicQcSerializer<T> : IQcSerializer where T : class
{
private... |
using UnityEngine;
namespace Assets.Scripts {
public class Bullet : Entity {
public float lifeTime = 5;
public int damage = 1;
public int bounceCount = 0;
private float startTime;
private TrailRenderer trail;
public override void Start() {
base.Start();
startTime = Time.time;
trail = GetCompon... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.