Home
last modified time | relevance | path

Searched refs:ObservableCollection (Results 1 – 25 of 148) sorted by relevance

123456

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ObjectModel/tests/ObservableCollection/
H A DObservableCollection_MethodsTest.cs26 ObservableCollection<string> col = new ObservableCollection<string>(anArray); in AddTest()
42 ObservableCollection<string> col = new ObservableCollection<string>(anArray); in RemoveTest()
80 ObservableCollection<string> col = new ObservableCollection<string>(anArray); in ClearTest()
101ObservableCollection<Guid> col0 = new ObservableCollection<Guid>((IEnumerable<Guid>)anArray); in RemoveAtTest()
102ObservableCollection<Guid> col1 = new ObservableCollection<Guid>((IEnumerable<Guid>)anArray); in RemoveAtTest()
124 ObservableCollection<string> col = new ObservableCollection<string>(anArrayString); in RemoveAtTest()
138 ObservableCollection<Guid> collection = new ObservableCollection<Guid>(anArray); in RemoveAtTest_Negative()
186ObservableCollection<string> collection = new ObservableCollection<string>(anArrayString); in MoveTest()
284 ObservableCollection<Guid> collection = new ObservableCollection<Guid>(anArray); in InsertTest_Negative()
356 ObservableCollection<int> intCol = new ObservableCollection<int>(); in IndexOfTest()
[all …]
H A DObservableCollection_ConstructorAndPropertyTests.cs24 var col = new ObservableCollection<string>(); in ParameterlessConstructorTest()
36 var actual = new ObservableCollection<string>(collection); in IEnumerableConstructorTest()
71 var col = new ObservableCollection<string>(new string[] { }); in IEnumerableConstructorTest_Empty()
91 …var col = new ObservableCollection<Guid>(new[] { Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid() }); in ItemTestSet()
109 var col = new ObservableCollection<int>(new int[size]); in ItemTestSet_Negative_InvalidIndex()
117 …var col = new ObservableCollection<Guid>(new[] { Guid.NewGuid(), Guid.NewGuid(), Guid.NewGuid() }); in IsReadOnlyTest()
127 ObservableCollection<int> col = new ObservableCollection<int>(new[] {1, 2, 3, 4}); in DebuggerAttributeTests()
143 private partial class ObservableCollectionSubclass<T> : ObservableCollection<T>
156 …AssertExtensions.Throws<ArgumentNullException>("list", () => new ObservableCollection<string>((Lis… in ListConstructorTest_Negative()
163 var actual = new ObservableCollection<string>(collection); in ListConstructorTest()
[all …]
H A DObservableCollection_Serialization.cs16 yield return new object[] { new ObservableCollection<int>() }; in SerializeDeserialize_Roundtrips_MemberData()
17 yield return new object[] { new ObservableCollection<int>() { 42 } }; in SerializeDeserialize_Roundtrips_MemberData()
18 yield return new object[] { new ObservableCollection<int>() { 1, 5, 3, 4, 2 } }; in SerializeDeserialize_Roundtrips_MemberData()
23 public void SerializeDeserialize_Roundtrips(ObservableCollection<int> c) in SerializeDeserialize_Roundtrips()
25 ObservableCollection<int> clone = BinaryFormatterHelpers.Clone(c); in SerializeDeserialize_Roundtrips()
34 var observableCollection = new ObservableCollection<int>(); in OnDeserialized_MonitorNotInitialized_ExpectSuccess()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Collections.ObjectModel/
H A DObservableCollectionTest.cs48 var col = new ObservableCollection<int> (list); in Constructor()
61 new ObservableCollection<int> ((List<int>) null); in Constructor_Invalid()
67 new ObservableCollection<int> ((IEnumerable<int>) null); in Constructor_Invalid()
77 ObservableCollection<int> col = new ObservableCollection<int> (); in Insert()
95 ObservableCollection<int> col = new ObservableCollection<int> (); in RemoveAt()
114 ObservableCollection<int> col = new ObservableCollection<int> (); in Move()
136 ObservableCollection<char> collection = new ObservableCollection<char> (); in Add()
162 ObservableCollection<char> collection = new ObservableCollection<char> (); in Remove()
192 ObservableCollection<char> collection = new ObservableCollection<char> (); in Set()
221 ObservableCollection<char> collection = new ObservableCollection<char> (); in Reentrant()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainEditor2/Models/Panels/
H A DTouchElement.cs96 internal ObservableCollection<SoundEntry> SoundEntries;
97 internal ObservableCollection<CommandEntry> CommandEntries;
99 internal ObservableCollection<ListViewColumnHeaderModel> ListColumns;
100 internal ObservableCollection<ListViewItemModel> ListItems;
219 SoundEntries = new ObservableCollection<SoundEntry>(); in TouchElement()
220 CommandEntries = new ObservableCollection<CommandEntry>(); in TouchElement()
223 ListColumns = new ObservableCollection<ListViewColumnHeaderModel>(); in TouchElement()
224 ListItems = new ObservableCollection<ListViewItemModel>(); in TouchElement()
233 …touch.SoundEntries = new ObservableCollection<SoundEntry>(SoundEntries.Select(x => (SoundEntry)x.C… in Clone()
236 touch.ListColumns = new ObservableCollection<ListViewColumnHeaderModel>(); in Clone()
[all …]
H A DScreen.cs38 internal ObservableCollection<PanelElement> PanelElements;
39 internal ObservableCollection<TouchElement> TouchElements;
45 PanelElements = new ObservableCollection<PanelElement>(); in Screen()
46 TouchElements = new ObservableCollection<TouchElement>(); in Screen()
52 …screen.PanelElements = new ObservableCollection<PanelElement>(PanelElements.Select(e => (PanelElem… in Clone()
53 …screen.TouchElements = new ObservableCollection<TouchElement>(TouchElements.Select(e => (TouchElem… in Clone()
H A DPanel.cs72 internal ObservableCollection<Screen> Screens;
73 internal ObservableCollection<PanelElement> PanelElements;
75 internal ObservableCollection<ListViewColumnHeaderModel> ListColumns;
76 internal ObservableCollection<ListViewItemModel> ListItems;
83 Screens = new ObservableCollection<Screen>(); in Panel()
84 PanelElements = new ObservableCollection<PanelElement>(); in Panel()
86 ListColumns = new ObservableCollection<ListViewColumnHeaderModel>(); in Panel()
87 ListItems = new ObservableCollection<ListViewItemModel>(); in Panel()
97 panel.Screens = new ObservableCollection<Screen>(Screens.Select(s => (Screen)s.Clone())); in Clone()
100 panel.ListColumns = new ObservableCollection<ListViewColumnHeaderModel>(); in Clone()
[all …]
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainEditor2/Models/Trains/
H A DDelay.cs48 internal ObservableCollection<Entry> DelayPower;
49 internal ObservableCollection<Entry> DelayBrake;
50 internal ObservableCollection<Entry> DelayLocoBrake;
54 DelayPower = new ObservableCollection<Entry>(); in Delay()
55 DelayBrake = new ObservableCollection<Entry>(); in Delay()
56 DelayLocoBrake = new ObservableCollection<Entry>(); in Delay()
70 DelayPower = new ObservableCollection<Entry>(DelayPower.Select(x => (Entry)x.Clone())), in Clone()
71 DelayBrake = new ObservableCollection<Entry>(DelayBrake.Select(x => (Entry)x.Clone())), in Clone()
72 DelayLocoBrake = new ObservableCollection<Entry>(DelayLocoBrake.Select(x => (Entry)x.Clone())) in Clone()
H A DMotor.cs251 internal ObservableCollection<Line> PitchLines;
254 internal ObservableCollection<Line> VolumeLines;
256 internal ObservableCollection<Area> SoundIndices;
261 PitchLines = new ObservableCollection<Line>(); in Track()
264 VolumeLines = new ObservableCollection<Line>(); in Track()
266 SoundIndices = new ObservableCollection<Area>(); in Track()
582 internal ObservableCollection<Track> Tracks;
583 internal ObservableCollection<TrackState> PrevTrackStates;
584 internal ObservableCollection<TrackState> NextTrackStates;
979 Tracks = new ObservableCollection<Track>(); in Motor()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/WindowsBase/Test/System.Collections.ObjectModel/
H A DObservableCollectionTest.cs49 ObservableCollection<int> col = new ObservableCollection<int> (); in Insert()
67 ObservableCollection<int> col = new ObservableCollection<int> (); in RemoveAt()
86 ObservableCollection<int> col = new ObservableCollection<int> (); in Move()
108 ObservableCollection<char> collection = new ObservableCollection<char> (); in Add()
134 ObservableCollection<char> collection = new ObservableCollection<char> (); in Remove()
164 ObservableCollection<char> collection = new ObservableCollection<char> (); in Set()
193 ObservableCollection<char> collection = new ObservableCollection<char> (); in Reentrant()
235 private class ObservableCollectionTestHelper : ObservableCollection<char> {
298 ObservableCollection<char> collection = new ObservableCollection<char> (initial); in Clear()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ObjectModel/tests/ReadOnlyObservableCollection/
H A DReadOnlyObservableCollection_EventsTests.cs24 ObservableCollection<string> col = new ObservableCollection<string>(anArray); in AddTest()
42 ObservableCollection<string> col = new ObservableCollection<string>(anArray); in RemoveTest()
49 col = new ObservableCollection<string>(anArray); in RemoveTest()
86 ObservableCollection<string> col = new ObservableCollection<string>(anArray); in ClearTest()
99 ObservableCollection<string> col = new ObservableCollection<string>(anArrayString); in RemoveAtTest()
115 ObservableCollection<Guid> collection = new ObservableCollection<Guid>(anArray); in RemoveAtTest_Negative()
143ObservableCollection<string> collection = new ObservableCollection<string>(anArrayString); in MoveTest()
163 ObservableCollection<string> collection = new ObservableCollection<string>(anArray); in MoveTest_Negative()
194ObservableCollection<string> collection = new ObservableCollection<string>(anArrayString); in InsertTest()
212 ObservableCollection<Guid> collection = new ObservableCollection<Guid>(anArray); in InsertTest_Negative()
[all …]
H A DReadOnlyObservableCollection_SerializationTests.cs15 …eld return new object[] { new ReadOnlyObservableCollection<int>(new ObservableCollection<int>()) }; in SerializeDeserialize_Roundtrips_MemberData()
16 …d return new object[] { new ReadOnlyObservableCollection<int>(new ObservableCollection<int>() { 1 … in SerializeDeserialize_Roundtrips_MemberData()
17 …d return new object[] { new ReadOnlyObservableCollection<int>(new ObservableCollection<int>() { 1,… in SerializeDeserialize_Roundtrips_MemberData()
18 …d return new object[] { new ReadOnlyObservableCollection<int>(new ObservableCollection<int>() { 1,… in SerializeDeserialize_Roundtrips_MemberData()
H A DReadOnlyObservableCollectionTests.cs23 new ReadOnlyObservableCollection<string>(new ObservableCollection<string>(anArray)); in Ctor_Tests()
42 new ReadOnlyObservableCollection<string>(new ObservableCollection<string>(anArray)); in GetItemTests()
52 new ReadOnlyObservableCollection<string>(new ObservableCollection<string>(anArray)); in GetItemTests_Negative()
66 new ReadOnlyObservableCollection<string>(new ObservableCollection<string>(anArray)); in ContainsTests()
86 new ReadOnlyObservableCollection<string>(new ObservableCollection<string>(anArray)); in CopyToTest()
125 new ReadOnlyObservableCollection<string>(new ObservableCollection<string>(anArray)); in CopyToTest_Negative()
158 new ReadOnlyObservableCollection<string>(new ObservableCollection<string>(anArray)); in IndexOfTest()
167 ObservableCollection<int> intCol = new ObservableCollection<int>(); in IndexOfTest()
189 new ReadOnlyObservableCollection<string>(new ObservableCollection<string>(anArray)); in CannotModifyDictionaryTests_Negative()
207 …leCollection<int> col = new ReadOnlyObservableCollection<int>(new ObservableCollection<int>(new[] … in DebuggerAttribute_Tests()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainEditor2/Models/Sounds/
H A DSound.cs58 internal ObservableCollection<SoundElement> SoundElements;
60 internal ObservableCollection<ListViewColumnHeaderModel> ListColumns;
61 internal ObservableCollection<ListViewItemModel> ListItems;
67 SoundElements = new ObservableCollection<SoundElement>(); in Sound()
69 ListColumns = new ObservableCollection<ListViewColumnHeaderModel>(); in Sound()
70 ListItems = new ObservableCollection<ListViewItemModel>(); in Sound()
80 …sound.SoundElements = new ObservableCollection<SoundElement>(SoundElements.Select(x => (SoundEleme… in Clone()
82 sound.ListColumns = new ObservableCollection<ListViewColumnHeaderModel>(); in Clone()
83 sound.ListItems = new ObservableCollection<ListViewItemModel>(); in Clone()
281 …ListViewItemModel newItem = new ListViewItemModel { Texts = new ObservableCollection<string>(new s…
[all …]
/dports/multimedia/handbrake/HandBrake-1.4.2/win/CS/HandBrakeWPF/Services/Encode/Model/
H A DEncodeTask.cs43 this.AudioTracks = new ObservableCollection<AudioTrack>(); in EncodeTask()
44 this.SubtitleTracks = new ObservableCollection<SubtitleTrack>(); in EncodeTask()
45 this.ChapterNames = new ObservableCollection<ChapterMarker>(); in EncodeTask()
64 this.AudioTracks = new ObservableCollection<AudioTrack>(); in EncodeTask()
71 this.ChapterNames = new ObservableCollection<ChapterMarker>(); in EncodeTask()
81 this.SubtitleTracks = new ObservableCollection<SubtitleTrack>(); in EncodeTask()
300 public ObservableCollection<AudioTrack> AudioTracks { get; set; }
306 public ObservableCollection<SubtitleTrack> SubtitleTracks { get; set; }
314 public ObservableCollection<ChapterMarker> ChapterNames { get; set; }
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.ObjectModel/src/System/Collections/ObjectModel/
H A DObservableCollection.cs24 …public class ObservableCollection<T> : Collection<T>, INotifyCollectionChanged, INotifyPropertyCha… class
50 public ObservableCollection() { } in ObservableCollection() method in System.Collections.ObjectModel.ObservableCollection
63 …public ObservableCollection(IEnumerable<T> collection) : base(CreateCopy(collection, nameof(collec… in ObservableCollection() method in System.Collections.ObjectModel.ObservableCollection
75 public ObservableCollection(List<T> list) : base(CreateCopy(list, nameof(list))) { } in ObservableCollection() method in System.Collections.ObjectModel.ObservableCollection
405 internal ObservableCollection<T> _collection;
407 public SimpleMonitor(ObservableCollection<T> collection) in SimpleMonitor()
/dports/lang/mono/mono-5.10.1.57/mcs/class/WindowsBase/System.ComponentModel/
H A DGroupDescription.cs34 readonly ObservableCollection<object> groupNames;
38 groupNames = new ObservableCollection<object> (); in GroupDescription()
41 public ObservableCollection<object> GroupNames {
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities.Core.Presentation/System/Activities/Core/Presentation/
H A DCaseKeyBox.ViewModel.cs29 …DependencyProperty.Register("ComboBoxItems", typeof(ObservableCollection<string>), typeof(CaseKeyB…
56 public ObservableCollection<string> ComboBoxItems
58 get { return (ObservableCollection<string>)GetValue(ComboBoxItemsProperty); }
185 this.ComboBoxItems = new ObservableCollection<string> { "True", "False" }; in OnValueTypeChanged()
189 … this.ComboBoxItems = new ObservableCollection<string>(Enum.GetNames(this.ValueType).ToList()); in OnValueTypeChanged()
203 this.ComboBoxItems = new ObservableCollection<string> { Null }; in OnValueTypeChanged()
H A DReorderableListEditor.xaml.cs18 …roperty ListProperty = DependencyProperty.Register("List", typeof(ObservableCollection<ExpandableI…
32 public ObservableCollection<ExpandableItemWrapper> List
34 get { return (ObservableCollection<ExpandableItemWrapper>)this.GetValue(ListProperty); }
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.Dispatcher/
H A DBug652331_2Test.cs103 ObservableCollection<object> result = null; in RunClient()
186 public ObservableCollection<object> GetCollectionData() in GetCollectionData()
188 …return new ObservableCollection<object> { new DataType1 { Id = "B" }, new DataType1 { Id = "C" } }; in GetCollectionData()
191 Func<ObservableCollection<object>> gcd;
194 gcd = new Func<ObservableCollection<object>> (GetCollectionData); in BeginGetCollectionData()
198 public ObservableCollection<object> EndGetCollectionData (IAsyncResult result) in EndGetCollectionData()
294 private System.Collections.ObjectModel.ObservableCollection<object> ItemsField;
297 public System.Collections.ObjectModel.ObservableCollection<object> Items {
337 …System.Collections.ObjectModel.ObservableCollection<object> EndGetCollectionData(System.IAsyncResu… in EndGetCollectionData()
419 public System.Collections.ObjectModel.ObservableCollection<object> Result {
[all …]
/dports/games/openra/OpenRA-release-20200503/OpenRA.Game/Primitives/
H A DObservableCollection.cs19 public class ObservableCollection<T> : Collection<T>, IObservableCollection class
31 public ObservableCollection() { } in ObservableCollection() method in OpenRA.Primitives.ObservableCollection
32 public ObservableCollection(IList<T> list) in ObservableCollection() method in OpenRA.Primitives.ObservableCollection
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainEditor2/IO/IntermediateFile/
H A DParser.cs42 … Cars = new ObservableCollection<Car>(parent.XPathSelectElements("Cars/Car").Select(ParseCarNode)), in ParseTrainNode()
43 …Couplers = new ObservableCollection<Models.Trains.Coupler>(parent.XPathSelectElements("Couplers/Co… in ParseTrainNode()
171 …DelayPower = new ObservableCollection<Delay.Entry>(parent.XPathSelectElements("DelayPower/Entry").… in ParseDelayNode()
172 …DelayBrake = new ObservableCollection<Delay.Entry>(parent.XPathSelectElements("DelayBrake/Entry").… in ParseDelayNode()
173 …DelayLocoBrake = new ObservableCollection<Delay.Entry>(parent.XPathSelectElements("DelayLocoBrake/… in ParseDelayNode()
224 …Entries = new ObservableCollection<Acceleration.Entry>(parent.Elements("Entry").Select(n => new Ac… in ParseAccelerationNode()
239 Tracks = new ObservableCollection<Motor.Track>(parent.Elements("Track").Select(ParseTrackNode)) in ParseMotorNode()
254 …exLineNode(XElement parent, out Motor.VertexLibrary vertices, out ObservableCollection<Motor.Line>… in ParseVertexLineNode()
268 private static void ParseAreaNode(XElement parent, out ObservableCollection<Motor.Area> areas) in ParseAreaNode()
288 …Screens = new ObservableCollection<Screen>(parent.XPathSelectElements("Screens/Screen").Select(Par… in ParsePanelNode()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities.Core.Presentation/System/ServiceModel/Activities/Presentation/
H A DInitializeCorrelationDesigner.xaml.cs99ObservableCollection<CorrelationDataWrapper> GetCorrelationDataWrapperCollection(ModelItem modelIt… in GetCorrelationDataWrapperCollection()
101 ObservableCollection<CorrelationDataWrapper> wrapperCollection = null; in GetCorrelationDataWrapperCollection()
104 wrapperCollection = new ObservableCollection<CorrelationDataWrapper>(); in GetCorrelationDataWrapperCollection()
115 …ic EditorWindow(ModelItem activity, ModelItem correlationHandler, ObservableCollection<Correlation… in EditorWindow()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities.Core.Presentation/System/Activities/Presentation/
H A DDynamicArgumentDesigner.xaml.cs45 typeof(ObservableCollection<DynamicArgumentWrapperObject>),
47 new PropertyMetadata(new ObservableCollection<DynamicArgumentWrapperObject>()));
213 public ObservableCollection<DynamicArgumentWrapperObject> DynamicArguments
217 … return (ObservableCollection<DynamicArgumentWrapperObject>)GetValue(DynamicArgumentsProperty);
374 …internal static ObservableCollection<DynamicArgumentWrapperObject> ModelItemToWrapperCollection(Mo… in ModelItemToWrapperCollection()
412ObservableCollection<DynamicArgumentWrapperObject> wrappers = new ObservableCollection<DynamicArgu… in ModelItemToWrapperCollection()
421ObservableCollection<DynamicArgumentWrapperObject> wrappers = new ObservableCollection<DynamicArgu… in ModelItemToWrapperCollection()
430 …internal static void WrapperCollectionToModelItem(ObservableCollection<DynamicArgumentWrapperObjec… in WrapperCollectionToModelItem()
/dports/games/openbve/OpenBVE-1.8.2.1/source/TrainEditor2/Systems/
H A DInterface.cs8 …internal static ObservableCollection<LogMessage> LogMessages = new ObservableCollection<LogMessage…

123456