|
| 1 | +<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> |
| 2 | + |
| 3 | + |
| 4 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/@KeyIndexDefined">True</s:Boolean> |
| 5 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Applicability/=Live/@EntryIndexedValue">True</s:Boolean> |
| 6 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Description/@EntryValue">Equals for base class</s:String> |
| 7 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Field/=type_005Fname/@KeyIndexDefined">True</s:Boolean> |
| 8 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Field/=type_005Fname/Expression/@EntryValue">typeName()</s:String> |
| 9 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Field/=type_005Fname/InitialRange/@EntryValue">-1</s:Int64> |
| 10 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Field/=type_005Fname/Order/@EntryValue">0</s:Int64> |
| 11 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/@KeyIndexDefined">True</s:Boolean> |
| 12 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String> |
| 13 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/Type/@EntryValue">InCSharpTypeMember</s:String> |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Shortcut/@EntryValue">eq</s:String> |
| 18 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/ShortenQualifiedReferences/@EntryValue">True</s:Boolean> |
| 19 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=020B98D17DF67944A12E1EE5B68E5A81/Text/@EntryValue"> public override bool Equals(object obj) => |
| 20 | + Equals(obj as $type_name$); |
| 21 | + |
| 22 | + public bool Equals($type_name$ other) |
| 23 | + { |
| 24 | + if (object.ReferenceEquals(other, null)) { return false; } |
| 25 | + if (object.ReferenceEquals(this, other)) { return true; } |
| 26 | + return |
| 27 | + GetType().Equals(other.GetType()) && |
| 28 | + // compare members here. |
| 29 | + $END$; |
| 30 | + }</s:String> |
| 31 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CAB0A567F30704CA99AA3EC249E3153/Field/=CLASS/Order/@EntryValue">0</s:Int64> |
| 32 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CAB0A567F30704CA99AA3EC249E3153/Field/=HEADER/@KeyIndexDefined">False</s:Boolean> |
| 33 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CAB0A567F30704CA99AA3EC249E3153/Field/=NAMESPACE/Order/@EntryValue">1</s:Int64> |
| 34 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=2CAB0A567F30704CA99AA3EC249E3153/Text/@EntryValue">/* Copyright 2010-present MongoDB Inc. |
| 35 | +* |
| 36 | +* Licensed under the Apache License, Version 2.0 (the "License"); |
| 37 | +* you may not use this file except in compliance with the License. |
| 38 | +* You may obtain a copy of the License at |
| 39 | +* |
| 40 | +* http://www.apache.org/licenses/LICENSE-2.0 |
| 41 | +* |
| 42 | +* Unless required by applicable law or agreed to in writing, software |
| 43 | +* distributed under the License is distributed on an "AS IS" BASIS, |
| 44 | +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 45 | +* See the License for the specific language governing permissions and |
| 46 | +* limitations under the License. |
| 47 | +*/ |
| 48 | + |
| 49 | +namespace $NAMESPACE$ |
| 50 | +{ |
| 51 | + public class $CLASS$ {$END$} |
| 52 | +}</s:String> |
| 53 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=37AB964D6E4D424BBE2530F92DA37EEB/Field/=HEADER/@KeyIndexDefined">False</s:Boolean> |
| 54 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=37AB964D6E4D424BBE2530F92DA37EEB/Field/=NAMESPACE/Order/@EntryValue">1</s:Int64> |
| 55 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=37AB964D6E4D424BBE2530F92DA37EEB/Field/=RECORD/Order/@EntryValue">0</s:Int64> |
| 56 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=37AB964D6E4D424BBE2530F92DA37EEB/Text/@EntryValue">/* Copyright 2010-present MongoDB Inc. |
| 57 | +* |
| 58 | +* Licensed under the Apache License, Version 2.0 (the "License"); |
| 59 | +* you may not use this file except in compliance with the License. |
| 60 | +* You may obtain a copy of the License at |
| 61 | +* |
| 62 | +* http://www.apache.org/licenses/LICENSE-2.0 |
| 63 | +* |
| 64 | +* Unless required by applicable law or agreed to in writing, software |
| 65 | +* distributed under the License is distributed on an "AS IS" BASIS, |
| 66 | +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 67 | +* See the License for the specific language governing permissions and |
| 68 | +* limitations under the License. |
| 69 | +*/ |
| 70 | + |
| 71 | +namespace $NAMESPACE$ |
| 72 | +{ |
| 73 | + public record $RECORD$($END$); |
| 74 | +}</s:String> |
| 75 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/@KeyIndexDefined">True</s:Boolean> |
| 76 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Applicability/=Live/@EntryIndexedValue">True</s:Boolean> |
| 77 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Description/@EntryValue">Equals for derived class</s:String> |
| 78 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Field/=type_005Fname/@KeyIndexDefined">True</s:Boolean> |
| 79 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Field/=type_005Fname/Expression/@EntryValue">typeName()</s:String> |
| 80 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Field/=type_005Fname/InitialRange/@EntryValue">-1</s:Int64> |
| 81 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Field/=type_005Fname/Order/@EntryValue">0</s:Int64> |
| 82 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/@KeyIndexDefined">True</s:Boolean> |
| 83 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String> |
| 84 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/Type/@EntryValue">InCSharpTypeMember</s:String> |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Shortcut/@EntryValue">eq</s:String> |
| 89 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/ShortenQualifiedReferences/@EntryValue">True</s:Boolean> |
| 90 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6DCBB4DD2349E149B01440190986BD55/Text/@EntryValue"> public override bool Equals(object obj) => |
| 91 | + Equals(obj as $type_name$); |
| 92 | + |
| 93 | + public bool Equals($type_name$ other) |
| 94 | + { |
| 95 | + if (object.ReferenceEquals(other, null)) { return false; } |
| 96 | + if (object.ReferenceEquals(this, other)) { return true; } |
| 97 | + return |
| 98 | + base.Equals(other) && |
| 99 | + // compare members here. |
| 100 | + $END$; |
| 101 | + }</s:String> |
| 102 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6FAA6736247D464489DF536819A6D103/Field/=HEADER/@KeyIndexDefined">False</s:Boolean> |
| 103 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6FAA6736247D464489DF536819A6D103/Field/=INTERFACE/Order/@EntryValue">0</s:Int64> |
| 104 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6FAA6736247D464489DF536819A6D103/Field/=NAMESPACE/Order/@EntryValue">1</s:Int64> |
| 105 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=6FAA6736247D464489DF536819A6D103/Text/@EntryValue">/* Copyright 2010-present MongoDB Inc. |
| 106 | +* |
| 107 | +* Licensed under the Apache License, Version 2.0 (the "License"); |
| 108 | +* you may not use this file except in compliance with the License. |
| 109 | +* You may obtain a copy of the License at |
| 110 | +* |
| 111 | +* http://www.apache.org/licenses/LICENSE-2.0 |
| 112 | +* |
| 113 | +* Unless required by applicable law or agreed to in writing, software |
| 114 | +* distributed under the License is distributed on an "AS IS" BASIS, |
| 115 | +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 116 | +* See the License for the specific language governing permissions and |
| 117 | +* limitations under the License. |
| 118 | +*/ |
| 119 | + |
| 120 | +namespace $NAMESPACE$ |
| 121 | +{ |
| 122 | + public interface $INTERFACE$ {$END$} |
| 123 | +}</s:String> |
| 124 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=7B10AC30B0320A4F95A3763001E1DBF6/Field/=ENUM/Order/@EntryValue">0</s:Int64> |
| 125 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=7B10AC30B0320A4F95A3763001E1DBF6/Field/=HEADER/@KeyIndexDefined">False</s:Boolean> |
| 126 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=7B10AC30B0320A4F95A3763001E1DBF6/Field/=NAMESPACE/Order/@EntryValue">1</s:Int64> |
| 127 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=7B10AC30B0320A4F95A3763001E1DBF6/Text/@EntryValue">/* Copyright 2010-present MongoDB Inc. |
| 128 | +* |
| 129 | +* Licensed under the Apache License, Version 2.0 (the "License"); |
| 130 | +* you may not use this file except in compliance with the License. |
| 131 | +* You may obtain a copy of the License at |
| 132 | +* |
| 133 | +* http://www.apache.org/licenses/LICENSE-2.0 |
| 134 | +* |
| 135 | +* Unless required by applicable law or agreed to in writing, software |
| 136 | +* distributed under the License is distributed on an "AS IS" BASIS, |
| 137 | +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 138 | +* See the License for the specific language governing permissions and |
| 139 | +* limitations under the License. |
| 140 | +*/ |
| 141 | + |
| 142 | +namespace $NAMESPACE$ |
| 143 | +{ |
| 144 | + public enum $ENUM$ {$END$} |
| 145 | +}</s:String> |
| 146 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=9BB83ED0FF792E47BAAB217C25589C77/Field/=HEADER/@KeyIndexDefined">False</s:Boolean> |
| 147 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=9BB83ED0FF792E47BAAB217C25589C77/Field/=NAMESPACE/Order/@EntryValue">1</s:Int64> |
| 148 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=9BB83ED0FF792E47BAAB217C25589C77/Field/=STRUCT/Order/@EntryValue">0</s:Int64> |
| 149 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=9BB83ED0FF792E47BAAB217C25589C77/Text/@EntryValue">/* Copyright 2010-present MongoDB Inc. |
| 150 | +* |
| 151 | +* Licensed under the Apache License, Version 2.0 (the "License"); |
| 152 | +* you may not use this file except in compliance with the License. |
| 153 | +* You may obtain a copy of the License at |
| 154 | +* |
| 155 | +* http://www.apache.org/licenses/LICENSE-2.0 |
| 156 | +* |
| 157 | +* Unless required by applicable law or agreed to in writing, software |
| 158 | +* distributed under the License is distributed on an "AS IS" BASIS, |
| 159 | +* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 160 | +* See the License for the specific language governing permissions and |
| 161 | +* limitations under the License. |
| 162 | +*/ |
| 163 | + |
| 164 | +namespace $NAMESPACE$ |
| 165 | +{ |
| 166 | + public struct $STRUCT$ {$END$} |
| 167 | +}</s:String> |
| 168 | + |
| 169 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/@KeyIndexDefined">True</s:Boolean> |
| 170 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Applicability/=Live/@EntryIndexedValue">True</s:Boolean> |
| 171 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Description/@EntryValue">Equals for non-polymorpic class</s:String> |
| 172 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Field/=type_005Fname/@KeyIndexDefined">True</s:Boolean> |
| 173 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Field/=type_005Fname/Expression/@EntryValue">typeName()</s:String> |
| 174 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Field/=type_005Fname/InitialRange/@EntryValue">-1</s:Int64> |
| 175 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Field/=type_005Fname/Order/@EntryValue">0</s:Int64> |
| 176 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/@KeyIndexDefined">True</s:Boolean> |
| 177 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String> |
| 178 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/Type/@EntryValue">InCSharpTypeMember</s:String> |
| 179 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Shortcut/@EntryValue">eq</s:String> |
| 180 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/ShortenQualifiedReferences/@EntryValue">True</s:Boolean> |
| 181 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=D90BFD2FB7CCB641BC2598FAB9C52289/Text/@EntryValue"> public override bool Equals(object obj) => |
| 182 | + Equals(obj as $type_name$); |
| 183 | + |
| 184 | + public bool Equals($type_name$ other) |
| 185 | + { |
| 186 | + if (object.ReferenceEquals(other, null)) { return false; } |
| 187 | + if (object.ReferenceEquals(this, other)) { return true; } |
| 188 | + |
| 189 | + // compare members here |
| 190 | + return $END$; |
| 191 | + }</s:String> |
| 192 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/@KeyIndexDefined">True</s:Boolean> |
| 193 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Text/@EntryValue"> public override bool Equals(object obj) => |
| 194 | + obj is $type_name$ other && Equals(other); |
| 195 | + |
| 196 | + public bool Equals($type_name$ other) |
| 197 | + { |
| 198 | + // compare members here |
| 199 | + return $END$; |
| 200 | + }</s:String> |
| 201 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/ShortenQualifiedReferences/@EntryValue">True</s:Boolean> |
| 202 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Applicability/=Live/@EntryIndexedValue">True</s:Boolean> |
| 203 | + |
| 204 | + |
| 205 | + |
| 206 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/@KeyIndexDefined">True</s:Boolean> |
| 207 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/Type/@EntryValue">InCSharpTypeMember</s:String> |
| 208 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Scope/=B68999B9D6B43E47A02B22C12A54C3CC/CustomProperties/=minimumLanguageVersion/@EntryIndexedValue">2.0</s:String> |
| 209 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Shortcut/@EntryValue">eq</s:String> |
| 210 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Description/@EntryValue">Equals for struct</s:String> |
| 211 | + <s:Boolean x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Field/=type_005Fname/@KeyIndexDefined">True</s:Boolean> |
| 212 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Field/=type_005Fname/Order/@EntryValue">0</s:Int64> |
| 213 | + <s:String x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Field/=type_005Fname/Expression/@EntryValue">typeName()</s:String> |
| 214 | + <s:Int64 x:Key="/Default/PatternsAndTemplates/LiveTemplates/Template/=E088F73D748623478354C00CB41593B9/Field/=type_005Fname/InitialRange/@EntryValue">-1</s:Int64></wpf:ResourceDictionary> |
0 commit comments