// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Collections.Generic; using Microsoft.CodeAnalysis; namespace Microsoft.ReactNative.Managed.CodeGen.Model { public class ReactModule { public INamedTypeSymbol ModuleType { get; } public string ModuleName { get; } public string EventEmitterName { get; } public ICollection Initializers { get; } = new List(); public ICollection Constants { get; } = new List(); public ICollection ConstantProviders { get; } = new List(); public ICollection GetConstants { get; } = new List(); public ICollection Methods { get; } = new List(); public ICollection Functions { get; } = new List(); public ICollection Events { get; } = new List(); public ReactModule(INamedTypeSymbol moduleType, string moduleName, string eventEmitterName) { ModuleType = moduleType; ModuleName = moduleName; EventEmitterName = eventEmitterName; } } }