forked from reactiveui/ReactiveUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContractStubs.cs
More file actions
51 lines (43 loc) · 1.26 KB
/
ContractStubs.cs
File metadata and controls
51 lines (43 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MS-PL license.
// See the LICENSE file in the project root for more information.
using System;
using System.Collections.Specialized;
namespace ReactiveUI
{
public class PropertyChangingEventArgs : EventArgs
{
public PropertyChangingEventArgs(string PropertyName)
{
this.PropertyName = PropertyName;
}
public string PropertyName { get; protected set; }
}
public delegate void PropertyChangingEventHandler(
Object sender,
PropertyChangingEventArgs e
);
public interface INotifyPropertyChanging {
event PropertyChangingEventHandler PropertyChanging;
}
}
namespace ReactiveUI
{
public interface INotifyCollectionChanging {
event NotifyCollectionChangedEventHandler CollectionChanging;
}
}
#if PORTABLE || NETFX_CORE
namespace ReactiveUI
{
[AttributeUsage(AttributeTargets.All, Inherited = false, AllowMultiple = true)]
public sealed class LocalizableAttribute : Attribute
{
// This is a positional argument
public LocalizableAttribute(bool isLocalizable)
{
}
}
}
#endif
// vim: tw=120 ts=4 sw=4 et :