text stringlengths 1 932k |
|---|
namespace Nancy.Routing
{
using System;
/// <summary>
/// A class representing a route resolution result
/// </summary>
public class ResolveResult
{
/// <summary>
/// Gets or sets the route
/// </summary>
public Route Route { get; set; }
/// <summary>
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using Syriatech.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;
namespace Syriatech.Persistence.Configurations
{
public class LinkConfiguration : IEntityTypeConfiguration<Link>
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;
using System.IO;
namespace MixpanelSDK.UnityEditor.iOS.Xcode.PBX
{
internal class GUIDToCommentMap
{
private Dictionary<string, string> m_Dict = new Dictionary<string, string>();
public str... |
// 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 Cake.Common.Tests.Fixtures.Tools.DotNetCore.Test;
using Cake.Testing;
using Xunit;
namespace Cake.Common.Tes... |
/* Yet Another Forum.NET
* Copyright (C) 2003-2005 Bjørnar Henden
* Copyright (C) 2006-2013 Jaben Cargman
* Copyright (C) 2014-2021 Ingo Herbote
* https://www.yetanotherforum.net/
*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* dis... |
using Caliburn.Micro;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using WpfRunBasics.Models;
namespace WpfRunBasics.ViewModels
{
public class ProductsViewModel : ViewModelBase
{
private ObservableCollection<CatalogModel> _products = null;
private CatalogModel _selectedProduct = null;... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - Employees</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css/site... |
using System;
using System.ComponentModel.DataAnnotations;
namespace DeadFishStudio.InfnetDevOps.Shared.ViewModels.ProductViewModels
{
public class PriceViewModel
{
[Required] [Display(Name = "Moeda")] public string Currency { get; set; }
[Required] [Display(Name = "Valor")] public decimal Am... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace TravelSimulator.Migrations
{
public partial class AddStartDateToVoucher : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: ... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DisplayIfPlayerIsInZone : MonoBehaviour
{
[SerializeField] GameObject elemToDisplay;
[SerializeField] TextMesh playerThoughts;
bool isPlayerStayingInZone = false;
void Start() {/*only here to have an enablable script*/}
... |
// Copyright 2019 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
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
//------------------------------------------------------------------------------
// <copyright file="TemplateAction.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
// <owner current="true" primary=... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - BookTube</title>
<environment include="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
</environ... |
/**
* Copyright 2013 Canada Health Infoway, 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://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... |
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 FunderMaps.Core.Identity;
using System.Reflection;
namespace FunderMaps.Core;
/// <summary>
/// Application context to the entire application.
/// </summary>
/// <remarks>
/// The application context carries the full application state per scope. On every scope
/// a new application context is instan... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using HRM.BOL;
namespace HRM.DAL
{
public class EmpTransferDAL
{
public int Save(EmpTransferBOL objEmp)
{
DataAccess objDA = new DataAccess();
List<SqlParameter> objParam = ... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
namespace VsdConverter.Areas.HelpPage.ModelDescriptions
{
public class EnumTypeModelDescription : ModelDescription
{
public EnumTypeModelDescription()
{
Values = new Collection<EnumValueDescription>();
}... |
using System.Collections.Generic;
namespace DataLib
{
public static class Formula1
{
private static List<Racer> s_racers;
private static List<Racer> InitializeRacers() =>
new List<Racer>
{
new Racer("Nino", "Farina", "Italy", 33, 5, new int[] { 1950 }, ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using Azure.Core;
using Azure.ResourceManager;
namespace Azure.ResourceManager.CosmosDB
{
/// <summary> A class to add extension methods to ArmClient. </summary>
public stat... |
using System;
using System.Collections.Generic;
using BrightstarDB.EntityFramework;
namespace BrightstarDB.Samples.EntityFramework.GettingStartedCore
{
[Entity]
public interface IActor
{
string Id { get; }
string Name { get; set; }
DateTime DateOfBirth { get; set; }
IColl... |
using System.Device.Location;
using System.Text.Json;
//dotnet add package System.Device.Location.Portable --version 1.0.0
namespace TD3
{
public class JCDecauxClient
{
static readonly HttpClient client = new HttpClient();
const string URL = "https://api.jcdecaux.com/vls/v3";
const str... |
using System;
using System.Collections.ObjectModel;
using System.Diagnostics;
using System.Reflection;
using System.Threading.Tasks;
using MvvmCross.Forms.Views;
using Xamarin.Forms;
using Xamarin.Forms.BaiduMaps;
namespace Tracking.Core.Views
{
public partial class MapPage : MvxContentPage
{
public MapPage... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.DirectX.Direct3D;
using System.IO;
using Microsoft.DirectX;
using System.Drawing;
namespace ModelScenePlugin
{
/// <summary>
/// Represent a model.
/// </summary>
public class Model : IDisposable
{
/// <summary>
/// DirectX dev... |
// ----------------------------------------------------------------------------------
//
// 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... |
namespace AngleSharp.Dom.Css
{
/// <summary>
/// A list of all pre-defined display settings.
/// </summary>
public enum DisplayMode : byte
{
/// <summary>
/// Turns off the display of an element (it has no effect on layout);
/// all descendant elements also have their displa... |
using DirectorEditor.Presenters;
using DirectorEditor.UILogic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DirectorEditor
{
public static class PresenterStub
{
// 主界面的P层
private static MainPresenter _mainPresente... |
using System.IO;
using CommandLine;
using log4net;
using log4net.Config;
using Ninject;
namespace GitBack.Console
{
public static class Start
{
public static void Main(string[] args)
{
XmlConfigurator.Configure();
var options = new CommandLineOptions();
if ... |
// ----------------------------------------------------------------------------
// <auto-generated>
// This is autogenerated code by CppSharp.
// Do not edit this file or all your changes will be lost after re-generation.
// </auto-generated>
// --------------------------------------------------------------------------... |
using System;
using System.ComponentModel;
using EfsTools.Attributes;
using EfsTools.Utils;
using Newtonsoft.Json;
namespace EfsTools.Items.Efs
{
[Serializable]
[EfsFile("/nv/item_files/rfnv/00021467", true, 0xE1FF)]
[Attributes(9)]
public class LteB13AptCharTblPaRangeList
{
[ElementsCount(... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
using System;
using System.Collections.Generic;
using System.Data.Common;
using Abp.Data;
using Abp.Dependency;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Extensions;
using Abp.MultiTenancy;
using Abp.Runtime.Security;
using AgentPurchaseManagementPlatform.EntityFrameworkCore;
using AgentPurchaseMan... |
using System;
using System.Collections.Generic;
using System.Linq;
using Nop.Core.Caching;
using Nop.Core.Data;
using Nop.Core.Domain.Common;
using Nop.Services.Events;
namespace Nop.Services.Common
{
/// <summary>
/// Address attribute service
/// </summary>
public partial class AddressAttributeServic... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Linq;
namespace ProductServiceClient
{
public static partial class ProductServiceClientExtensions
{
}
} |
/*
* Copyright © 2010, Denys Vuika
*
* 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 agree... |
using System;
using System.Reactive.Linq;
using System.Reactive.Subjects;
using System.Threading.Tasks;
namespace Shiny.Locations
{
public abstract partial class AbstractGpsManager : IGpsManager, IShinyStartupTask
{
readonly Subject<IGpsReading> readingSubj;
protected AbstractGpsManager(IAn... |
using System.Reflection;
using System.Runtime.CompilerServices;
using Foundation;
// This attribute allows you to mark your assemblies as “safe to link”.
// When the attribute is present, the linker—if enabled—will process the assembly
// even if you’re using the “Link SDK assemblies only” option, which is the def... |
namespace Game.Modules
{
public enum Material
{
Glass = 0,
Glowstone = 1,
Metall = 2,
Composite = 3,
Ceramics = 4,
Plastic = 5,
Girder = 6,
Coil = 7,
Computer = 8,
FuelTank = 9,
Pipes = 10,
EngineerBlock2 = 11,
... |
namespace Neos.IdentityServer.Console
{
partial class ProvidersViewControl
{
/// <summary>
/// Variable nécessaire au concepteur.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Nettoyage des ressources utilisées.
... |
using Microsoft.Extensions.Configuration;
using W10Home.NetCoreDevicePortal.DataAccess.Entities;
namespace W10Home.NetCoreDevicePortal.DataAccess.Services
{
public class DevicePluginService : BaseTableService<DevicePluginEntity>
{
public DevicePluginService(IConfiguration configuration) : base(configu... |
using System.Drawing;
using Highcharts4Net.Library.Enums;
using Highcharts4Net.Library.Helpers;
namespace Highcharts4Net.Library.Options
{
/// <summary>
/// A pie chart is a circular chart divided into sectors, illustrating numerical proportion.
/// </summary>
public class OptionsPieBase
{
/// <summary>
... |
using System;
using Csla;
using SelfLoadRO.DataAccess.ERCLevel;
namespace SelfLoadRO.DataAccess.Sql.ERCLevel
{
public partial class D05_SubContinent_ChildDal
{
}
} |
/*
* 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... |
//------------------------------------------------------------------------------
// <auto-generated>
// O código foi gerado por uma ferramenta.
// Versão de Tempo de Execução:4.0.30319.42000
//
// As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se
// o código for gerado... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace EventBus
{
/// <summary>
/// The publisher/subscriber pattern for loose coupling.
/// EventBus enables central communication to decoupled classes
/// with just a few lines of code – simplifying the c... |
using System;
using Xamarin.Forms;
using System.Reflection;
using System.IO;
namespace WorkingWithFiles
{
public class LoadResourceText : ContentPage
{
public LoadResourceText ()
{
var editor = new Label { Text = "loading...", HeightRequest = 300};
#region How to load a text file embedded resource
va... |
using System.Collections;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Windows;
using System.Windows.Input;
using Microsoft.Expression.Interactivity.Core;
using MyWmp.Models;
namespace MyWmp.ViewModel
{
class MenuViewModel
{
private readonly Control control_;
... |
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("06.... |
// Copyright 2016-2020, Pulumi Corporation
namespace Pulumi.Pulumi.Kubernetes.Crds.Operators.StarterKitOperator{
/// <summary>
/// A base class for all Kubernetes resources.
/// </summary>
public abstract class KubernetesResource : CustomResource
{
/// <summary>
/// Standard construc... |
using Handyman.Mediator;
using SoaComposition.Controllers.GetProduct.DataContracts;
namespace SoaComposition.Controllers.GetProduct.Events
{
public class ProductLoadedEvent : IEvent
{
public Product Product { get; set; }
}
} |
using gView.DataSources.Fdb.MSAccess;
using gView.Framework.Data;
using gView.Framework.system;
using gView.Framework.UI;
using gView.Framework.UI.Dialogs;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace gView.DataSources.Fdb.UI
{
intern... |
using UnityEngine;
using System.Collections;
public class SpawnGameObjectAction : ActionBase {
public GameObject prefab;
public bool attachToSelf = false;
public bool isTemporary;
public float lifespan;
public override void Act() {
GameObject instance = GameObject.Instantiate(prefab, transform.position... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team
//
// 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 us... |
using System;
using System.Collections.Generic;
using Skivsoft.TfsExport.Entities;
namespace Skivsoft.TfsExport.Context
{
public class TargetModel
{
public ICollection<PullRequest> PullRequestList { get; set; } = new List<PullRequest>();
public ICollection<Link> LinkList { get; set; } = new L... |
// 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 Dnn.AuthServices.Jwt.Auth
{
using System;
using System.Net.Http;
using System.Security.Princip... |
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//------------------------------------------------------------
namespace Microsoft.Azure.Cosmos.Handlers
{
using System;
using System.Globalization;
using System.IO;
using Syste... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace angular_dotnet_example.Controllers
{
[ApiController]
public class UsersController : Controller... |
using System.Text.Json.Serialization;
namespace Essensoft.Paylink.Alipay.Response
{
/// <summary>
/// AlipayDataDataserviceAdPrincipalConsultResponse.
/// </summary>
public class AlipayDataDataserviceAdPrincipalConsultResponse : AlipayResponse
{
/// <summary>
/// 签约平台地址
///... |
using UnityEditor.AnimatedValues;
using UnityEngine.Events;
namespace UnityEditor.Experimental.Rendering.HDPipeline
{
partial class FrameSettingsUI : BaseUI<SerializedFrameSettings>
{
const int k_AnimBoolsSize = 5;
public AnimBool isSectionExpandedRenderingPasses { get { return m_AnimBools[0];... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class StartMenuButton : MonoBehaviour {
public Sprite inactiveImage;
public Sprite activeImage;
protected Image buttonImage;
public void Start() {
buttonImage = GetComponent<Image>();... |
/*
* 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 System.Collections.Generic;
namespace ItaLog.Api.ViewModels
{
public class PageViewModel<T>
{
public int Total { get; set; }
public int TotalPages { get; set; }
public int PageLength { get; set; }
public int PageNumber { get; set; }
public IEnumerable<T> Results {... |
using Moq;
using System;
namespace doctor_mangle.test
{
public static class TestUtils
{
public static Mock<Random> GetMockRandom_Next(int expected)
{
var mRandom = new Mock<Random>();
mRandom.Setup(x => x.Next(
It.IsAny<int>(),
It.IsAny<i... |
#pragma warning disable 1591
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace MvcMovie.Migrations.Security
{
public partial class CreateIdentitySchema : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
... |
using Beta_3592.Handlers;
using Common.Constants;
using Common.Interfaces;
using Common.Interfaces.Handlers;
namespace Beta_3592
{
public class Sandbox : ISandbox
{
public static Sandbox Instance { get; } = new Sandbox();
public string RealmName => "Beta 1 (0.6.0) Sandbox";
public Exp... |
namespace FakeItEasy.Configuration
{
using System;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
/// <summary>
/// Provides configuration for property setters and allows the user to specify validations for arguments.
/// </summary>
/// <typeparam name="TValue">The va... |
using System;
namespace Biblioteca
{
internal class Program
{
static void Main(string[] args)
{
// Funções de texto
//Trim
//Retira todos os espaços em branco antes e depois de uma expressão.
//Os espaços existentes no meio da expressão são mant... |
// ----------------------------------------------------------------------------------
//
// 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... |
// --------------------------------------------------------------------------------------------
// Version: MPL 1.1/GPL 2.0/LGPL 2.1
//
// The contents of this file are subject to the Mozilla Public License Version
// 1.1 (the "License"); you may not use this file except in compliance with
// the License. You may obta... |
using GalaSoft.MvvmLight;
using GalaSoft.MvvmLight.Command;
using GalaSoft.MvvmLight.Views;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Input;
namespace UWP_SellIt.Views.MVVMLight.ProductPage
{
public class MenuProductPag... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// 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.Collections.Immutable;
using System.Linq;
using System.Threading;
us... |
using Blackboard.Core.Extensions;
using Blackboard.Core.Nodes.Interfaces;
using System.Collections.Generic;
namespace Blackboard.Core.Nodes.Collections {
/// <summary>A comparer which compares the values of the given nodes.</summary>
/// <typeparam name="T">The node type to compare.</typeparam>
sealed pu... |
/*
* 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... |
//------------------------------------------------------------------------------
// <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.Linq.Expressions;
using System.Reflection;
using Core.DI;
using Core.Reflection;
using Development.Logging;
using MVVM.Controls;
namespace MVVM
{
/// <summary>
/// Base logic class that is under each <see cref="View{T}"/>.
/// This class implementations should provides all the functio... |
using System;
using Functional.Currying.Abstractions;
namespace Functional.Currying.Internal.Curried.Actions
{
internal class CurriedAction<T1, T2, T3, T4, T5, T6> : Curried<Action<T1, T2, T3, T4, T5, T6>>,
ICurriedAction<T1, T2, T3, T4, T5, T6>
{
public CurriedAction(Action<T1, T2, T3, T4, T5... |
using System;
namespace XstarS
{
static partial class Validate
{
/// <summary>
/// 验证整数是否在索引的有效范围内。
/// </summary>
/// <param name="valueInfo">要验证的对象的值和名称。</param>
/// <param name="startIndex">索引的开始值。</param>
/// <param name="endIndex">索引的结束值。</param>
//... |
using System.Collections.Generic;
using System.Reflection;
using ExtendedXmlSerializer.Core.Sources;
namespace ExtendedXmlSerializer.ContentModel.Members
{
sealed class AttributeSpecifications
: TableSource<MemberInfo, IAttributeSpecification>,
IAttributeSpecifications
{
public AttributeSpecifications(IDicti... |
using System;
using UnityEngine;
namespace Game.AI
{
[Serializable]
public class ActionAttack : ActionLeaf
{
[SerializeField, Range(0f, 360f)] private float attackAngleRange = 180f;
[SerializeField, Range(0.05f, 50f)] private float maxAttackDistance = 1f;
[SerializeField, Range(0.0... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text;
using Elfie.Serialization;
namespace XForm.Generator.Mappers
{
/// <summary>
/// ComputerNameMapper maps hashes to plausible computer nam... |
using System;
using System.Collections.Generic;
using System.Text;
using Domain.Entity;
using Domain.Contract;
namespace Domain.Service
{
public class Person : Contract.Service.IPerson
{
private IUnitOfWork _unitOfWork;
private Contract.Repository.IPerson _personRepository;
private Con... |
/*
* 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. 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... |
// Painting the borders of a custom control using WM_NCPAINT
// https://www.cyotek.com/blog/painting-the-borders-of-a-custom-control-using-wm-ncpaint
// Copyright © 2022 Cyotek Ltd. All Rights Reserved.
// This work is licensed under the MIT License.
// See LICENSE.TXT for the full text
// Found this example useful... |
// <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 Godot;
using System;
public class Scene1 : Node
{
private PackedScene prefab;
public override void _Ready()
{
// Called every time the node is added to the scene.
// Initialization here
//load the scene containing the sprite we need, I call this prefab
prefab = (Packed... |
using System;
using System.Reflection;
namespace MoreTerra.Utilities
{
public static class Util
{
public static Type GetResourceAssemblyType()
{
foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
{
foreach (Type t in assembly.GetType... |
using System;
using System.Collections.Generic;
namespace WebPatrones.BuilderPattern
{
public class Product
{
private LinkedList<string> parts;
public Product()
{
parts = new LinkedList<string>();
}
public void Add(string part)
{
... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Build.BuildEngine.Shared;
namespace Microsoft.Build.BuildEngine
{
/// <summary>
/// This class is used to store information needed to interpret... |
#pragma checksum "H:\Event_Demo\Authentication\Authentication\Views\Home\About.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "f5989146c20e297d05361cc87bf290b8b98e9284"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(AspNetCore.... |
@using TechDess.Common
@using TechDess.Data.Models
@model TechDess.Web.ViewModels.Home.IndexProductTypesViewModel
@{
this.ViewData["Title"] = "Home Page";
}
<form method="get" asp-controller="Products" asp-action="SearchByTerm" asp-route-searchTerm="@Model.SearchTerm">
<div class="row offset-9">
... |
using System;
using UnityEngine;
namespace KSPModelRocketry
{
public class VariableTexture : PartModule
{
[Persistent]
Color color1 = new Color (1, 1, 1);
[Persistent]
Color color2 = new Color (0, 0, 0);
[KSPField (guiActiveEditor = true, guiName = "Red", guiFormat = "... |
using System.Collections.Generic;
namespace GigHub.Core.Models
{
public class Genre
{
public byte Id { get; set; }
public string Name { get; set; }
public List<Gig> Gigs { get; set; }
}
} |
#region License
// Copyright(c) 2020 GrappTec
//
// 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, modify,... |
// Distrubuted under the MIT license
// ===================================================
// SharpMC uses the permissive MIT license.
//
// 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... |
using System;
class DateAfter5Days
{
static void Main(string[] args)
{
int d = int.Parse(Console.ReadLine());
int m = int.Parse(Console.ReadLine());
int five = 5, tempday = 0, day = 0, month = 0;
int[] tempMonth;
tempMonth = new int[0];
switch (m)
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Sockets;
using System.Numerics;
using System.Security.AccessControl;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Timers;
using System.Windows.Documents;
using PrimeLibrary;
... |
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("Pk... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.