diff options
Diffstat (limited to 'mcs/class/System.ComponentModel.Composition/src/ComponentModel/System/LazyOfTTMetadata.cs')
-rw-r--r-- | mcs/class/System.ComponentModel.Composition/src/ComponentModel/System/LazyOfTTMetadata.cs | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/mcs/class/System.ComponentModel.Composition/src/ComponentModel/System/LazyOfTTMetadata.cs b/mcs/class/System.ComponentModel.Composition/src/ComponentModel/System/LazyOfTTMetadata.cs deleted file mode 100644 index 287babe3abd..00000000000 --- a/mcs/class/System.ComponentModel.Composition/src/ComponentModel/System/LazyOfTTMetadata.cs +++ /dev/null @@ -1,51 +0,0 @@ -// -----------------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// -----------------------------------------------------------------------
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-
-namespace System
-{
-#if CLR40 && !SILVERLIGHT
- [Serializable]
-#endif
- public class Lazy<T, TMetadata> : Lazy<T>
- {
- private TMetadata _metadata;
-
- public Lazy(Func<T> valueFactory, TMetadata metadata) :
- base(valueFactory)
- {
- this._metadata = metadata;
- }
-
- public Lazy(TMetadata metadata) :
- base()
- {
- this._metadata = metadata;
- }
-
-
- public Lazy(TMetadata metadata, bool isThreadSafe) :
- base(isThreadSafe)
- {
- this._metadata = metadata;
- }
-
- public Lazy(Func<T> valueFactory, TMetadata metadata, bool isThreadSafe) :
- base(valueFactory, isThreadSafe)
- {
- this._metadata = metadata;
- }
-
- public TMetadata Metadata
- {
- get
- {
- return this._metadata;
- }
- }
- }
-}
|