text stringlengths 1 932k |
|---|
// 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.
///////////////////////////////////////////////////////////////////////////////
//
// jit-format -
//
using System... |
/*
* 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... |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ------------------------------... |
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace GameFramework
{
public class GameEntry : MonoBehaviour
{
#region 组件属性
public static DataComponent DataComponent { get; private set; }
public static DataTableComponent DataTableComp... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class portalManager : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
} |
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Oqtane.Databases.Interfaces;
using Oqtane.Migrations.EntityBuilders;
using Oqtane.Repository;
using Oqtane.Shared;
namespace Oqtane.Migrations.Tenant
{
[DbContext(typeof(TenantDBContext))]
[Migration("Tena... |
using Service.AuditLog.Grpc.Models;
namespace Service.AuditLog.Mappers
{
public static class GrpcToDomainMapper
{
public static Domain.AuditLog ToDomain(this AuditLogGrpcModel request)
{
return new Domain.AuditLog
{
TraderId = request.TraderId,
... |
//
// This file was generated by the BinaryNotes compiler.
// See http://bnotes.sourceforge.net
// Any modifications to this file will be lost upon recompilation of the source ASN.1.
//
using System;
using org.bn.attributes;
using org.bn.attributes.constraints;
using org.bn.coders;
using org.bn.types;
using org.bn;
... |
using FluentValidation;
using LoanCalculator.Domain.Models;
namespace LoanCalculator.Domain.Validations
{
public class CalculationValidator : AbstractValidator<Calculation>
{
public CalculationValidator()
{
RuleFor(c => c.Amount)
.GreaterThan(0).WithMessage("Amount ... |
#pragma warning disable 108 // new keyword hiding
#pragma warning disable 114 // new keyword hiding
namespace Windows.Storage
{
#if __ANDROID__ || __IOS__ || NET46 || __WASM__ || __MACOS__
[global::Uno.NotImplemented]
#endif
public partial interface IStorageItemPropertiesWithProvider : global::Windows.Storage.ISto... |
using MdsLibrary.Helpers;
using Plugin.Movesense;
using Plugin.Movesense.Api;
using System;
using System.Diagnostics;
using System.Threading.Tasks;
#if __ANDROID__
using Com.Movesense.Mds;
#endif
#if __IOS__
using Foundation;
#endif
namespace MdsLibrary.Api
{
/// <summary>
/// Makes an APICall to MdsLib for t... |
using System;
using System.Web.Mvc;
using System.Web.Routing;
using SuperOffice.DevNet.Online.Login;
using SuperOffice.CRM.Services;
namespace SuperOffice.DevNet.Online.SystemUser.Mvc.Controllers
{
public class ContactEntityController : Controller
{
[SuperOfficeAuthorize]
public ActionResult I... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
using System.Web.Routing;
namespace WebApi.NetFx
{
public class WebApiApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
GlobalConfiguration.Conf... |
using Microsoft.AspNetCore.Mvc;
namespace TwitterWidgetPlugin
{
[Route("twitter")]
// The name of the Views folder must be TwitterWidget
public class TwitterWidgetController : Controller
{
public IActionResult Index()
{
return View("Index");
}
}
} |
using Microsoft.Azure.Documents;
using PackageService.Models;
namespace PackageService.Services
{
public static class DocumentExtensions
{
public static Package ToPackage(this Document document)
{
Package package = new Package(
document.GetPropertyValue<string>(... |
using AutoMapper;
using MSFramework.Domain;
using Template.Application.DTO;
using Template.Domain.AggregateRoot;
namespace Template.API.ViewObject
{
public class AutoMapperProfile : Profile
{
public AutoMapperProfile()
{
CreateMap<CreateProductViewObject, CreateProductIn>().ForMember(x => x.Type, opt =>
o... |
// 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 JetBrains.Annotations;
using System.Data.SqlClient;
using Microsoft.Data.Entity.Utilities;
namespace Microsoft.Data.Entity.SqlS... |
using System;
using System.Diagnostics;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security;
using static HookingAssembly.MinHook.NativeMethods;
namespace HookingAssembly
{
//
// An AppDomainManager derived class used to be loaded automat... |
using iNGen.ViewModels;
using MahApps.Metro.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using Sys... |
using System;
namespace ReactNative.Modules.Core
{
/// <summary>
/// A class for JavaScript exceptions.
/// </summary>
public class JavaScriptException : Exception
{
/// <summary>
/// Instantiates the <see cref="JavaScriptException"/>.
/// </summary>
/// <param name... |
using Adnc.Core.Shared.Entities;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq.Expressions;
using System.Text;
namespace Adnc.Core.Shared.IRepositories
{
public static class RepositoryExtentions
{
public static Expression<Func<TEntity, object>... |
using System;
using System.Linq;
using Windows.Security.Credentials;
namespace DL444.Ucqu.App.WinUniversal.Services
{
internal class UserCredentialService : ICredentialService
{
public string Username
{
get
{
try
{
Pas... |
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license.
//
// Microsoft Cognitive Services: http://www.microsoft.com/cognitive
//
// Microsoft Cognitive Services Github:
// https://github.com/Microsoft/Cognitive
//
// Copyright (c) Microsoft Corporation
// All rights reserved.
//
//... |
namespace Lexs4SearchRetrieveWebService
{
/// <remarks/>
[System.CodeDom.Compiler.GeneratedCodeAttribute("WscfGen", "1.0.0.0")]
[System.SerializableAttribute()]
[System.Diagnostics.DebuggerStepThroughAttribute()]
[System.ComponentModel.DesignerCategoryAttribute("code")]
[System.Xml.Ser... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Microsoft.DotNet.CoreSetup.Test.HostActivation
{
internal static class Constants
{
public const string MicrosoftNETCoreApp = "Microsoft.NETCore.App";
... |
// *** 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... |
//------------------------------------------------------------------------------
// <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 System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
namespace NLogExtension
{
public class MvcApplication : System.Web.HttpApplication
{
protected void Application_Start()
{
... |
using Joyride.Platforms;
namespace Joyride.Interfaces
{
public interface IDetectModalDialog
{
IModalDialog DetectModalDialog();
IModalDialog DetectModalDialog(string modalDialogName);
Screen AcceptModalDialog(bool accept, string modalDialogName, bool throwException = false);
Sc... |
// Copyright (c) Josef Pihrt. All rights reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Roslynator.CSharp.CodeFixes;
using Roslynator.Testing.CSharp;
using Xunit;
namespace Roslyn... |
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("ExportAttendanceColumnsCsv")]
[assembly: ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
#nullable disable
using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Text.Encodings.Web;
using... |
using System.IdentityModel.Tokens.Jwt;
using System.Threading.Tasks;
namespace ITfoxtec.Identity
{
/// <summary>
/// Extension methods for JWT.
/// </summary>
public static class JwtExtensions
{
/// <summary>
/// Converts a JwtSecurityToken to a JWT string.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IntegrationTool.DBAccess
{
public class DbMetadataColumn
{
public string ColumnName { get; set; }
}
} |
using Swashbuckle.AspNetCore.Filters;
namespace WebApi30_Swashbuckle5.Models.Examples
{
internal class TitleExample : IExamplesProvider<Title?>
{
public Title? GetExamples()
{
return Title.Miss;
}
}
} |
namespace Uno.Extensions.Navigation.Navigators;
public class FrameNavigator : ControlNavigator<Frame>
{
protected override FrameworkElement? CurrentView => Control?.Content as FrameworkElement;
public override bool CanGoBack => Control?.BackStackDepth > 0;
public FrameNavigator(
ILogger<FrameNavigator> logger,... |
// 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.
////////////////////////////////////////////////////////////////////////////////
// Empty
// This class represents... |
using HarmonyLib;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows;
using BannerlordTwitch.Overlay;
using BannerlordTwitch.Rewards;
using BannerlordTwitch.Util;
using TaleWorlds.CampaignSystem;
using Tale... |
/* Copyright (c) Citrix Systems, 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, this l... |
using System;
using System.Diagnostics.Contracts;
namespace SystemDot.Messaging.Hooks
{
[ContractClass(typeof (IMessageHookContract<>))]
public interface IMessageHook<T>
{
void ProcessMessage(T toInput, Action<T> toPerformOnOutput);
}
[ContractClassFor(typeof(IMessageHook<>))]
public a... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UnityEngine;
using Verse;
using Verse.AI;
using RimWorld;
namespace DSFI.JobGivers
{
public class IdleJobGiver_PracticeMelee : IdleJobGiver<IdleJobGiverDef>
{
public override float Get... |
namespace AnthStat.Statistics
{
public enum InterpolationMode
{
Ones,
Tenths,
}
} |
//# Author of original code ([Decompiled] MIT-License): Copyright (c) 2009-2015 Robert Giesecke
//# Use Readme & LICENSE files for details.
//# Modifications: Copyright (c) 2016-2021 Denis Kuzmin <x-3F@outlook.com> github/3F
//$ Distributed under the MIT License (MIT)
using System;
using System.ComponentModel.Desi... |
using UnityEngine;
using UnityEditor;
[InitializeOnLoad]
public class HR_InitOnLoad {
static HR_InitOnLoad(){
if(!EditorPrefs.HasKey("HR_Installed")){
EditorPrefs.SetInt("HR_Installed", 1);
EditorUtility.DisplayDialog("Regards from BoneCracker Games", "Thank you for purchasing Highway Racer Complete... |
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*---------------------------------------------------------------... |
using System;
using System.Collections.Generic;
using System.Text;
namespace FreeChat.Services.Navigation
{
public class Constants
{
public const string MessagesPageUrl = "MessagesPage";
}
} |
/* Copyright 2010-2014 MongoDB 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 applicable law or agreed to in writi... |
using UnityEngine;
using System.Collections.Generic;
using System.Threading.Tasks;
using System.Linq;
namespace BlissfulMaze.Common.Maze
{
public enum PlacementState
{
Down,
Up
}
public class MazePlacementService : IMazePlacementService
{
private bool _isMoving;
pr... |
using System;
using System.Linq;
using System.Runtime.Serialization;
using System.Reflection;
using System.ComponentModel.DataAnnotations;
using Fonlow.Reflection;
namespace Fonlow.Poco2Client
{
/// <summary>
/// Pick a type or a member field or property
/// </summary>
public static class CherryPick... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class rocketFire : MonoBehaviour
{
public GameObject Rocket;
public float rocSpeed;
// Start is called before the first frame update
void Start()
{
float waitSeconds = 0.5f;
float firstCall = 1.0f... |
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("Me... |
using System.Reflection;
namespace Yuki_Theme.Core.Themes;
public class DefaultThemesHeader : IThemeHeader
{
public static string CoreThemeHeader = "Yuki_Theme.Core.Themes";
public string GroupName => "Default";
public string [] ThemeNames => new []
{
"Darcula",
"Dracula",
"Github Dark",
"Github Light... |
using System;
using System.Collections.Generic;
using System.Text;
using Comet.Skia;
namespace Comet.Samples.Skia
{
public class SkiaSample4 : View
{
readonly State<float> _strokeSize = 2;
readonly State<string> _strokeColor = "#000000";
[Body]
View body()
{
... |
//------------------------------------------------------------------------------
// <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>
//--... |
#region MigraDoc - Creating Documents on the Fly
//
// Authors:
// Stefan Lange (mailto:Stefan.Lange@pdfsharp.com)
// Klaus Potzesny (mailto:Klaus.Potzesny@pdfsharp.com)
// David Stephensen (mailto:David.Stephensen@pdfsharp.com)
//
// Copyright (c) 2001-2009 empira Software GmbH, Cologne (Germany)
//
// http://ww... |
/*
* 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>
// 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>
//--... |
using System;
using System.Collections;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Input;
using ErpApp.Models;
using MvvmCross.Commands;
using MvvmCross.Navigation;
using MvvmCross.ViewModels;
using Xamarin.Forms;
namespace ErpApp.ViewModels
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Support.V4.View;
using Android.Views;
using Android.Widget;
using ImageViews.Photo;
using Java.Lang;
using MobileSecondHand.App.Infrastr... |
using System.Collections.Generic;
using System.Linq;
using SharpX.Compiler.Composition.Abstractions;
using SharpX.Compiler.Composition.Interfaces;
namespace SharpX.Compiler.ShaderLab.Models.HLSL.Statements
{
internal class ElseStatement : INestableStatement
{
private readonly List<IStatement> _statem... |
/*
* 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 may ... |
namespace Meraki.Api.Data;
/// <summary>
/// The details of the audio detection config.
/// </summary>
public class AudioDetection
{
/// <summary>
/// Boolean indicating if audio detection is enabled(true) or disabled(false) on the camera
/// </summary>
[DataMember(Name = "enabled")]
public bool Enabled { get; s... |
namespace Nager.Country.Translation.CountryInfos
{
/// <summary>
/// Pitcairn Islands
/// </summary>
public class PitcairnIslandsCountryTranslation : ICountryTranslation
{
///<inheritdoc/>
public TranslationInfo[] Translations => new []
{
new TranslationInfo(Langu... |
/*
* Licensed to Jasig under one or more contributor license
* agreements. See the NOTICE file distributed with this work
* for additional information regarding copyright ownership.
* Jasig licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file
* except in co... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// La información general sobre un ensamblado se controla mediante el siguiente
// conjunto de atributos. Cambie estos atributos para modificar la información
// asociada con un ensamblado.
[assembly: AssemblyTitle(... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Text.Json;
using System.Net.Http;
namespace GanzAdmin.API.LinkTranslation
{
public class LinkTranslatorDefinitions
{
public class Result
{
public string Url { get; set; }
... |
using System;
using System.Threading.Tasks;
using Deepgram.Common;
namespace Deepgram.Keys
{
public interface IKeyClient
{
/// <summary>
/// Returns all Deepgram API keys associated with the project provided
/// </summary>
/// <param name="projectId">Unique identifier of the pr... |
/*
* 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;
using System.Collections.Generic;
using System.Linq;
namespace MongoTypeRepository.Wrapper
{
public class WrappingHelper
{
public static IEnumerable<TDb> Wrap<T, TDb>(IEnumerable<T> objectsToWrap) where TDb : AnyTypeWrapper<T> => objectsToWrap.Select(item => (TDb)Activator.CreateInstance... |
// This file was generated by CSLA Object Generator - CslaGenFork v4.5
//
// Filename: DocContentInfo
// ObjectType: DocContentInfo
// CSLAType: ReadOnlyObject
using System;
using System.Data;
using System.Data.SqlClient;
using Csla;
using Csla.Data;
using DocStore.Business.Util;
using UsingLibrary;
namespace... |
using System;
using System.Data.SqlClient;
using EasyADO.NET;
using NUnit.Framework;
namespace Tests.Unit_Tests.FindTests
{
[TestFixture]
public class FindAllByColumnsTests : BaseTestFixture
{
[SetUp]
public void Init()
{
_easyAdoNet = new EasyAdoNet(ConnectionString);
... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text.RegularExpressions;
namespace MangaChecker.Core.Defines.Parser
{
public abstract class BasicParser
{
protected List<(float, string)> ParseChapterList(IReadOnlyCollection<string>? list, stri... |
using Autofac;
using PKISharp.WACS.Acme;
using PKISharp.WACS.Clients;
using PKISharp.WACS.Clients.IIS;
using PKISharp.WACS.Configuration;
using PKISharp.WACS.DomainObjects;
using PKISharp.WACS.Extensions;
using PKISharp.WACS.Services;
using PKISharp.WACS.Services.Legacy;
using System;
using System.Collections.Generic;... |
using ShellPerformance.Extensions;
using System;
namespace ShellPerformance.Models
{
public class Timing
{
public Timing(string eventName, TimeSpan? elapsedTime)
{
EventName = eventName;
ElapsedTime = elapsedTime?.ToCanonicString();
}
public string Even... |
using Elastic.Installer.Domain.Properties;
using FluentValidation;
namespace Elastic.Installer.Domain.Model.Elasticsearch.XPack
{
public class XPackModelValidator : AbstractValidator<XPackModel>
{
public static readonly string ElasticPasswordRequired = TextResources.XPackModelValidator_ElasticPasswordRequired;
... |
using GuardChain.Extensions;
using GuardChain.Tests.Data;
using GuardChain.Utils;
using System;
using System.Collections.Generic;
using System.Text;
using Xunit;
namespace GuardChain.Tests.GuardAgainstEqualTests
{
public class AgainstEqualForDateTime
{
#region no custom exception
[Fact]
... |
using System;
using System.Text;
namespace Microsoft.LiveLabs.PE
{
public class BlobWriter
{
private byte[] data;
// Following offsets are w.r.t. above data array
private readonly uint baseOffset; // Which byte corresponds to external offset 0
private uint currOffset; // Next b... |
/*
* 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.Threading.Tasks;
using Pidget.AspNet.Setup;
using Xunit;
namespace Pidget.AspNet.Test.Setup
{
public class CallbackSetupTests
{
[Fact]
public void SetsBeforeSendCallback()
{
var options = new SentryOptions();
var initialCallback = options.BeforeSend... |
// --------------------------------------------------------------------------
// Tethys.Logging.Controls
// ==========================================================================
//
// A logging library for .NET Framework 4.5+ and .NET Core.
//
// ===================================================================... |
// This software is part of the Autofac IoC container
// Copyright © 2011 Autofac Contributors
// https://autofac.org
//
// 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
// restric... |
/* This file describes the ScottPlot back-end control module.
*
* Goals for this module:
* - Interact with the Plot object so controls don't have to.
* - Wrap/abstract mouse interaction logic so controls don't have to implement it.
* - Use events to tell controls when to update the image or change the ... |
#region LICENSE
// Copyright (c) 2019, Contrast Security, 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, t... |
using UnityEngine;
using UnityEngine.Rendering;
namespace Popcron.SceneStaging
{
public class SpriteRendererProcessor : ComponentProcessor<SpriteRenderer>
{
[RuntimeInitializeOnLoadMethod]
private static void AutoRegister()
{
RegisterProcessor<SpriteRendererProcessor>();
... |
/*
* 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.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("Co... |
namespace cadastro_series_app
{
public abstract class EntidadeBase
{
public int Id {get, protected set;}
}
} |
namespace Rg.ApiTypes
{
/// <summary>
/// Properties set when creating or modifying an album.
/// </summary>
public class AlbumDefinition
{
/// <summary>
/// Plain text album title.
/// </summary>
public string Title { get; set; }
/// <summary>
/// A... |
namespace RapidCMS.Core.Models.Response
{
public class ListViewCommandResponseModel : ViewCommandResponseModel
{
}
} |
/*
* 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 Microsoft.Extensions.Logging;
using System;
using System.Xml.Linq;
using Helsenorge.Messaging.Abstractions;
namespace Helsenorge.Messaging.ServiceBus
{
internal static class ServiceBusLoggingExtensions
{
private static readonly Action<ILogger, QueueType, string, int, int, string, Exception> Star... |
namespace StitcherBoy.Utility
{
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
/// <summary>
/// Arguments helper
/// </summary>
public static class Arguments
{
/// <summary>
/// Injects the specifie... |
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using System.Text.RegularExpressions;
using System.Threading;
namespace Refit
{
[DebuggerDisplay("{MethodInfo}")]
public c... |
using System;
using System.Threading;
using NLua;
namespace CSharpCallsToLua {
public class Program {
private static Lua luaState;
public static void Main(string[] args) {
Console.WriteLine("Welcome to a demo program that calls Lua code from C#!");
luaState = new Lua();
... |
using UnityEngine;
namespace TournamentMod
{
/// <summary>
/// Contains all necessary information about a fleet colorscheme
/// </summary>
public struct FleetColor
{
/// <summary>
/// The Main-Color, usually the one which is seen the most.
/// </summary>
public Color Main { get; set; }
/// <summary>
/... |
// Copyright (c) Microsoft Corporation and contributors. All Rights Reserved. See License.txt in the project root for license information.
using System;
using System.Runtime.InteropServices;
using TorchSharp.Tensor;
namespace TorchSharp.NN
{
/// <summary>
/// This class is used to represent a ConstantPad3d m... |
namespace Fluxera.Spatial.MongoDB
{
using System.Collections.Generic;
using System.Linq;
using global::MongoDB.Bson;
using global::MongoDB.Bson.Serialization;
using global::MongoDB.Bson.Serialization.Serializers;
using global::MongoDB.Driver.GeoJsonObjectModel;
using global::MongoDB.Driver.GeoJsonObjectModel.Se... |
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
namespace DDay.iCal.Serialization
{
public interface ISerializer :
IServiceProvider
{
ISerializationContext SerializationContext { get; set; }
Type TargetType { get; }
void S... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/sapi.h in the Windows SDK for Windows 10.0.19041.0
// Original source is Copyright © Microsoft. All rights reserved.
using System;
using System.Runtime.Co... |
using System;
using System.Diagnostics;
using System.Text;
using time_t = System.Int64;
using sqlite3_int64 = System.Int64;
using i64 = System.Int64;
using u64 = System.UInt64;
namespace winPEAS._3rdParty.SQLite.src
{
using sqlite3_value = CSSQLite.Mem;
public partial class CSSQLite
{
/*
** 2003 October... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.