e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
32 lines
807 B
C#
32 lines
807 B
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="IndexedString.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Web.UI {
|
|
|
|
using System;
|
|
|
|
[Serializable]
|
|
public sealed class IndexedString {
|
|
|
|
private string _value;
|
|
|
|
|
|
public IndexedString (string s) {
|
|
if (String.IsNullOrEmpty(s)) {
|
|
throw new ArgumentNullException("s");
|
|
}
|
|
_value = s;
|
|
}
|
|
|
|
|
|
public string Value {
|
|
get {
|
|
return _value;
|
|
}
|
|
}
|
|
}
|
|
}
|