@tsonic/dotnet-types
Version:
TypeScript declarations and metadata for .NET 10.0 assemblies
192 lines (175 loc) • 8.07 kB
TypeScript
// Auto-generated by generatedts on 2025-11-02T09:57:27Z - do not edit by hand.
type int = number & { __brand: "int" };
type uint = number & { __brand: "uint" };
type byte = number & { __brand: "byte" };
type sbyte = number & { __brand: "sbyte" };
type short = number & { __brand: "short" };
type ushort = number & { __brand: "ushort" };
type long = number & { __brand: "long" };
type ulong = number & { __brand: "ulong" };
type float = number & { __brand: "float" };
type double = number & { __brand: "double" };
type decimal = number & { __brand: "decimal" };
declare namespace System.Collections.Specialized {
class BitVector32 implements System.IEquatable<System.Collections.Specialized.BitVector32> {
constructor(data: int);
constructor(value: System.Collections.Specialized.BitVector32);
Item: boolean;
Item: int;
readonly Data: int;
static CreateMask(): int;
static CreateMask(previous: int): int;
static CreateSection(maxValue: short): System.Collections.Specialized.BitVector32.Section;
static CreateSection(maxValue: short, previous: System.Collections.Specialized.BitVector32.Section): System.Collections.Specialized.BitVector32.Section;
}
class DictionaryNode {
constructor();
}
class HybridDictionary implements System.Collections.IDictionary, System.Collections.ICollection, System.Collections.IEnumerable {
constructor();
constructor(initialSize: int);
constructor(caseInsensitive: boolean);
constructor(initialSize: int, caseInsensitive: boolean);
Item: any;
readonly Count: int;
readonly Keys: System.Collections.ICollection;
readonly IsReadOnly: boolean;
readonly IsFixedSize: boolean;
readonly IsSynchronized: boolean;
readonly SyncRoot: any;
readonly Values: System.Collections.ICollection;
Add(key: any, value: any): void;
Clear(): void;
Contains(key: any): boolean;
CopyTo(array: System.Array, index: int): void;
GetEnumerator(): System.Collections.IDictionaryEnumerator;
Remove(key: any): void;
}
interface IOrderedDictionary extends System.Collections.IDictionary, System.Collections.ICollection, System.Collections.IEnumerable {
Item: any;
GetEnumerator(): System.Collections.IDictionaryEnumerator;
Insert(index: int, key: any, value: any): void;
RemoveAt(index: int): void;
}
class KeysCollection implements System.Collections.ICollection, System.Collections.IEnumerable {
readonly Item: string;
readonly Count: int;
Get(index: int): string;
GetEnumerator(): System.Collections.IEnumerator;
}
class ListDictionary implements System.Collections.IDictionary, System.Collections.ICollection, System.Collections.IEnumerable {
constructor();
constructor(comparer: System.Collections.IComparer);
Item: any;
readonly Count: int;
readonly Keys: System.Collections.ICollection;
readonly IsReadOnly: boolean;
readonly IsFixedSize: boolean;
readonly IsSynchronized: boolean;
readonly SyncRoot: any;
readonly Values: System.Collections.ICollection;
Add(key: any, value: any): void;
Clear(): void;
Contains(key: any): boolean;
CopyTo(array: System.Array, index: int): void;
GetEnumerator(): System.Collections.IDictionaryEnumerator;
Remove(key: any): void;
}
class NameObjectCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback {
readonly Count: int;
readonly Keys: System.Collections.Specialized.NameObjectCollectionBase.KeysCollection;
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
OnDeserialization(sender: any): void;
GetEnumerator(): System.Collections.IEnumerator;
}
class NameValueCollection extends System.Collections.Specialized.NameObjectCollectionBase implements System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback {
constructor();
constructor(col: System.Collections.Specialized.NameValueCollection);
constructor(hashProvider: System.Collections.IHashCodeProvider, comparer: System.Collections.IComparer);
constructor(capacity: int);
constructor(equalityComparer: System.Collections.IEqualityComparer);
constructor(capacity: int, equalityComparer: System.Collections.IEqualityComparer);
constructor(capacity: int, col: System.Collections.Specialized.NameValueCollection);
constructor(capacity: int, hashProvider: System.Collections.IHashCodeProvider, comparer: System.Collections.IComparer);
Item: string;
readonly Item: string;
readonly AllKeys: ReadonlyArray<string>;
Add(c: System.Collections.Specialized.NameValueCollection): void;
Clear(): void;
CopyTo(dest: System.Array, index: int): void;
HasKeys(): boolean;
Add(name: string, value: string): void;
Get(name: string): string;
GetValues(name: string): ReadonlyArray<string>;
Set(name: string, value: string): void;
Remove(name: string): void;
Get(index: int): string;
GetValues(index: int): ReadonlyArray<string>;
GetKey(index: int): string;
}
class OrderedDictionary implements System.Collections.Specialized.IOrderedDictionary, System.Collections.IDictionary, System.Collections.ICollection, System.Collections.IEnumerable, System.Runtime.Serialization.ISerializable, System.Runtime.Serialization.IDeserializationCallback {
constructor();
constructor(capacity: int);
constructor(comparer: System.Collections.IEqualityComparer);
constructor(capacity: int, comparer: System.Collections.IEqualityComparer);
readonly Count: int;
readonly IsReadOnly: boolean;
readonly Keys: System.Collections.ICollection;
Item: any;
Item: any;
readonly Values: System.Collections.ICollection;
Add(key: any, value: any): void;
Clear(): void;
AsReadOnly(): System.Collections.Specialized.OrderedDictionary;
Contains(key: any): boolean;
CopyTo(array: System.Array, index: int): void;
Insert(index: int, key: any, value: any): void;
RemoveAt(index: int): void;
Remove(key: any): void;
GetEnumerator(): System.Collections.IDictionaryEnumerator;
GetObjectData(info: System.Runtime.Serialization.SerializationInfo, context: System.Runtime.Serialization.StreamingContext): void;
}
class Section implements System.IEquatable<System.Collections.Specialized.BitVector32.Section> {
readonly Mask: short;
readonly Offset: short;
}
class StringCollection implements System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable {
constructor();
Item: string;
readonly Count: int;
readonly IsReadOnly: boolean;
readonly IsSynchronized: boolean;
readonly SyncRoot: any;
Add(value: string): int;
AddRange(value: ReadonlyArray<string>): void;
Clear(): void;
Contains(value: string): boolean;
CopyTo(array: ReadonlyArray<string>, index: int): void;
GetEnumerator(): System.Collections.Specialized.StringEnumerator;
IndexOf(value: string): int;
Insert(index: int, value: string): void;
Remove(value: string): void;
RemoveAt(index: int): void;
}
class StringDictionary implements System.Collections.IEnumerable {
constructor();
readonly Count: int;
readonly IsSynchronized: boolean;
Item: string;
readonly Keys: System.Collections.ICollection;
readonly SyncRoot: any;
readonly Values: System.Collections.ICollection;
Add(key: string, value: string): void;
Clear(): void;
ContainsKey(key: string): boolean;
ContainsValue(value: string): boolean;
CopyTo(array: System.Array, index: int): void;
GetEnumerator(): System.Collections.IEnumerator;
Remove(key: string): void;
}
class StringEnumerator {
readonly Current: string;
MoveNext(): boolean;
Reset(): void;
}
}