117 instantiations of Singleton
System.Data.Entity (117)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
39
this.spatialReader = new
Singleton
<DbSpatialDataReader>(CreateSpatialDataReader);
System\Data\Spatial\DbSpatialServices.cs (1)
21
private static readonly Singleton<DbSpatialServices> defaultServices = new
Singleton
<DbSpatialServices>(LoadDefaultServices);
System\Data\SqlClient\SqlSpatialDataReader.cs (2)
51
private static readonly Singleton<Func<BinaryReader, object>> sqlGeographyFromBinaryReader = new
Singleton
<Func<BinaryReader, object>>(() => CreateBinaryReadDelegate(SqlProviderServices.GetSqlTypesAssembly().SqlGeographyType));
52
private static readonly Singleton<Func<BinaryReader, object>> sqlGeometryFromBinaryReader = new
Singleton
<Func<BinaryReader, object>>(() => CreateBinaryReadDelegate(SqlProviderServices.GetSqlTypesAssembly().SqlGeometryType));
System\Data\SqlClient\SqlSpatialServices.cs (1)
41
this._sqlTypesAssemblySingleton = new
Singleton
<SqlTypesAssembly>(getSqlTypes);
System\Data\SqlClient\SqlSpatialServices.Generated.cs (111)
1156
this.smi_SqlGeography_Parse = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("Parse", SqlTypes.SqlStringType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member Parse"); return result; });
1157
this.smi_SqlGeography_STGeomFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STGeomFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeomFromText"); return result; });
1158
this.smi_SqlGeography_STPointFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STPointFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPointFromText"); return result; });
1159
this.smi_SqlGeography_STLineFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STLineFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STLineFromText"); return result; });
1160
this.smi_SqlGeography_STPolyFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STPolyFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPolyFromText"); return result; });
1161
this.smi_SqlGeography_STMPointFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMPointFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMPointFromText"); return result; });
1162
this.smi_SqlGeography_STMLineFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMLineFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMLineFromText"); return result; });
1163
this.smi_SqlGeography_STMPolyFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMPolyFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMPolyFromText"); return result; });
1164
this.smi_SqlGeography_STGeomCollFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STGeomCollFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeomCollFromText"); return result; });
1165
this.smi_SqlGeography_STGeomFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STGeomFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeomFromWKB"); return result; });
1166
this.smi_SqlGeography_STPointFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STPointFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPointFromWKB"); return result; });
1167
this.smi_SqlGeography_STLineFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STLineFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STLineFromWKB"); return result; });
1168
this.smi_SqlGeography_STPolyFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STPolyFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPolyFromWKB"); return result; });
1169
this.smi_SqlGeography_STMPointFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMPointFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMPointFromWKB"); return result; });
1170
this.smi_SqlGeography_STMLineFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMLineFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMLineFromWKB"); return result; });
1171
this.smi_SqlGeography_STMPolyFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STMPolyFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STMPolyFromWKB"); return result; });
1172
this.smi_SqlGeography_STGeomCollFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("STGeomCollFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeomCollFromWKB"); return result; });
1173
this.smi_SqlGeography_GeomFromGml = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyStaticMethod("GeomFromGml", SqlTypes.SqlXmlType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member GeomFromGml"); return result; });
1174
this.ipi_SqlGeography_STSrid = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeographyProperty("STSrid"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeography member STSrid"); return result; });
1175
this.imi_SqlGeography_STGeometryType = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STGeometryType"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeometryType"); return result; });
1176
this.imi_SqlGeography_STDimension = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDimension"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDimension"); return result; });
1177
this.imi_SqlGeography_STAsBinary = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STAsBinary"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STAsBinary"); return result; });
1178
this.imi_SqlGeography_AsGml = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("AsGml"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member AsGml"); return result; });
1179
this.imi_SqlGeography_STAsText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STAsText"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STAsText"); return result; });
1180
this.imi_SqlGeography_STIsEmpty = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIsEmpty"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIsEmpty"); return result; });
1181
this.imi_SqlGeography_STEquals = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STEquals", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STEquals"); return result; });
1182
this.imi_SqlGeography_STDisjoint = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDisjoint", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDisjoint"); return result; });
1183
this.imi_SqlGeography_STIntersects = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIntersects", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIntersects"); return result; });
1184
this.imi_SqlGeography_STBuffer = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STBuffer", typeof(double)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STBuffer"); return result; });
1185
this.imi_SqlGeography_STDistance = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDistance", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDistance"); return result; });
1186
this.imi_SqlGeography_STIntersection = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIntersection", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIntersection"); return result; });
1187
this.imi_SqlGeography_STUnion = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STUnion", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STUnion"); return result; });
1188
this.imi_SqlGeography_STDifference = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STDifference", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STDifference"); return result; });
1189
this.imi_SqlGeography_STSymDifference = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STSymDifference", SqlTypes.SqlGeographyType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STSymDifference"); return result; });
1190
this.imi_SqlGeography_STNumGeometries = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STNumGeometries"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STNumGeometries"); return result; });
1191
this.imi_SqlGeography_STGeometryN = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STGeometryN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STGeometryN"); return result; });
1192
this.ipi_SqlGeography_Lat = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeographyProperty("Lat"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeography member Lat"); return result; });
1193
this.ipi_SqlGeography_Long = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeographyProperty("Long"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeography member Long"); return result; });
1194
this.ipi_SqlGeography_Z = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeographyProperty("Z"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeography member Z"); return result; });
1195
this.ipi_SqlGeography_M = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeographyProperty("M"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeography member M"); return result; });
1196
this.imi_SqlGeography_STLength = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STLength"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STLength"); return result; });
1197
this.imi_SqlGeography_STStartPoint = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STStartPoint"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STStartPoint"); return result; });
1198
this.imi_SqlGeography_STEndPoint = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STEndPoint"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STEndPoint"); return result; });
1199
this.imi_SqlGeography_STIsClosed = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STIsClosed"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STIsClosed"); return result; });
1200
this.imi_SqlGeography_STNumPoints = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STNumPoints"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STNumPoints"); return result; });
1201
this.imi_SqlGeography_STPointN = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STPointN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STPointN"); return result; });
1202
this.imi_SqlGeography_STArea = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeographyMethod("STArea"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeography member STArea"); return result; });
1203
this.smi_SqlGeometry_Parse = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("Parse", SqlTypes.SqlStringType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member Parse"); return result; });
1204
this.smi_SqlGeometry_STGeomFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STGeomFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeomFromText"); return result; });
1205
this.smi_SqlGeometry_STPointFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STPointFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPointFromText"); return result; });
1206
this.smi_SqlGeometry_STLineFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STLineFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STLineFromText"); return result; });
1207
this.smi_SqlGeometry_STPolyFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STPolyFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPolyFromText"); return result; });
1208
this.smi_SqlGeometry_STMPointFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMPointFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMPointFromText"); return result; });
1209
this.smi_SqlGeometry_STMLineFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMLineFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMLineFromText"); return result; });
1210
this.smi_SqlGeometry_STMPolyFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMPolyFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMPolyFromText"); return result; });
1211
this.smi_SqlGeometry_STGeomCollFromText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STGeomCollFromText", SqlTypes.SqlCharsType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeomCollFromText"); return result; });
1212
this.smi_SqlGeometry_STGeomFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STGeomFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeomFromWKB"); return result; });
1213
this.smi_SqlGeometry_STPointFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STPointFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPointFromWKB"); return result; });
1214
this.smi_SqlGeometry_STLineFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STLineFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STLineFromWKB"); return result; });
1215
this.smi_SqlGeometry_STPolyFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STPolyFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPolyFromWKB"); return result; });
1216
this.smi_SqlGeometry_STMPointFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMPointFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMPointFromWKB"); return result; });
1217
this.smi_SqlGeometry_STMLineFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMLineFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMLineFromWKB"); return result; });
1218
this.smi_SqlGeometry_STMPolyFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STMPolyFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STMPolyFromWKB"); return result; });
1219
this.smi_SqlGeometry_STGeomCollFromWKB = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("STGeomCollFromWKB", SqlTypes.SqlBytesType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeomCollFromWKB"); return result; });
1220
this.smi_SqlGeometry_GeomFromGml = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryStaticMethod("GeomFromGml", SqlTypes.SqlXmlType, typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member GeomFromGml"); return result; });
1221
this.ipi_SqlGeometry_STSrid = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeometryProperty("STSrid"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeometry member STSrid"); return result; });
1222
this.imi_SqlGeometry_STGeometryType = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STGeometryType"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeometryType"); return result; });
1223
this.imi_SqlGeometry_STDimension = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STDimension"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STDimension"); return result; });
1224
this.imi_SqlGeometry_STEnvelope = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STEnvelope"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STEnvelope"); return result; });
1225
this.imi_SqlGeometry_STAsBinary = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STAsBinary"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STAsBinary"); return result; });
1226
this.imi_SqlGeometry_AsGml = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("AsGml"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member AsGml"); return result; });
1227
this.imi_SqlGeometry_STAsText = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STAsText"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STAsText"); return result; });
1228
this.imi_SqlGeometry_STIsEmpty = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsEmpty"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsEmpty"); return result; });
1229
this.imi_SqlGeometry_STIsSimple = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsSimple"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsSimple"); return result; });
1230
this.imi_SqlGeometry_STBoundary = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STBoundary"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STBoundary"); return result; });
1231
this.imi_SqlGeometry_STIsValid = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsValid"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsValid"); return result; });
1232
this.imi_SqlGeometry_STEquals = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STEquals", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STEquals"); return result; });
1233
this.imi_SqlGeometry_STDisjoint = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STDisjoint", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STDisjoint"); return result; });
1234
this.imi_SqlGeometry_STIntersects = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIntersects", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIntersects"); return result; });
1235
this.imi_SqlGeometry_STTouches = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STTouches", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STTouches"); return result; });
1236
this.imi_SqlGeometry_STCrosses = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STCrosses", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STCrosses"); return result; });
1237
this.imi_SqlGeometry_STWithin = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STWithin", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STWithin"); return result; });
1238
this.imi_SqlGeometry_STContains = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STContains", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STContains"); return result; });
1239
this.imi_SqlGeometry_STOverlaps = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STOverlaps", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STOverlaps"); return result; });
1240
this.imi_SqlGeometry_STRelate = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STRelate", SqlTypes.SqlGeometryType, typeof(string)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STRelate"); return result; });
1241
this.imi_SqlGeometry_STBuffer = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STBuffer", typeof(double)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STBuffer"); return result; });
1242
this.imi_SqlGeometry_STDistance = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STDistance", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STDistance"); return result; });
1243
this.imi_SqlGeometry_STConvexHull = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STConvexHull"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STConvexHull"); return result; });
1244
this.imi_SqlGeometry_STIntersection = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIntersection", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIntersection"); return result; });
1245
this.imi_SqlGeometry_STUnion = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STUnion", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STUnion"); return result; });
1246
this.imi_SqlGeometry_STDifference = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STDifference", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STDifference"); return result; });
1247
this.imi_SqlGeometry_STSymDifference = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STSymDifference", SqlTypes.SqlGeometryType); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STSymDifference"); return result; });
1248
this.imi_SqlGeometry_STNumGeometries = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STNumGeometries"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STNumGeometries"); return result; });
1249
this.imi_SqlGeometry_STGeometryN = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STGeometryN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STGeometryN"); return result; });
1250
this.ipi_SqlGeometry_STX = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeometryProperty("STX"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeometry member STX"); return result; });
1251
this.ipi_SqlGeometry_STY = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeometryProperty("STY"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeometry member STY"); return result; });
1252
this.ipi_SqlGeometry_Z = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeometryProperty("Z"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeometry member Z"); return result; });
1253
this.ipi_SqlGeometry_M = new
Singleton
<PropertyInfo>(() => { PropertyInfo result = FindSqlGeometryProperty("M"); Debug.Assert(result != null, "Could not retrieve PropertyInfo for SqlGeometry member M"); return result; });
1254
this.imi_SqlGeometry_STLength = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STLength"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STLength"); return result; });
1255
this.imi_SqlGeometry_STStartPoint = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STStartPoint"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STStartPoint"); return result; });
1256
this.imi_SqlGeometry_STEndPoint = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STEndPoint"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STEndPoint"); return result; });
1257
this.imi_SqlGeometry_STIsClosed = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsClosed"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsClosed"); return result; });
1258
this.imi_SqlGeometry_STIsRing = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STIsRing"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STIsRing"); return result; });
1259
this.imi_SqlGeometry_STNumPoints = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STNumPoints"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STNumPoints"); return result; });
1260
this.imi_SqlGeometry_STPointN = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STPointN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPointN"); return result; });
1261
this.imi_SqlGeometry_STArea = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STArea"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STArea"); return result; });
1262
this.imi_SqlGeometry_STCentroid = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STCentroid"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STCentroid"); return result; });
1263
this.imi_SqlGeometry_STPointOnSurface = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STPointOnSurface"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STPointOnSurface"); return result; });
1264
this.imi_SqlGeometry_STExteriorRing = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STExteriorRing"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STExteriorRing"); return result; });
1265
this.imi_SqlGeometry_STNumInteriorRing = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STNumInteriorRing"); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STNumInteriorRing"); return result; });
1266
this.imi_SqlGeometry_STInteriorRingN = new
Singleton
<MethodInfo>(() => { MethodInfo result = FindSqlGeometryMethod("STInteriorRingN", typeof(int)); Debug.Assert(result != null, "Could not retrieve MethodInfo for SqlGeometry member STInteriorRingN"); return result; });
System\Data\SqlClient\SqlTypesAssembly.cs (1)
146
private static Singleton<SqlTypesAssembly> latestVersion = new
Singleton
<SqlTypesAssembly>(BindToLatest);
117 references to Singleton
System.Data.Entity (117)
System\Data\Common\Internal\Materialization\Shaper.cs (1)
605
private readonly
Singleton
<DbSpatialDataReader> spatialReader;
System\Data\Spatial\DbSpatialServices.cs (1)
21
private static readonly
Singleton
<DbSpatialServices> defaultServices = new Singleton<DbSpatialServices>(LoadDefaultServices);
System\Data\SqlClient\SqlSpatialDataReader.cs (2)
51
private static readonly
Singleton
<Func<BinaryReader, object>> sqlGeographyFromBinaryReader = new Singleton<Func<BinaryReader, object>>(() => CreateBinaryReadDelegate(SqlProviderServices.GetSqlTypesAssembly().SqlGeographyType));
52
private static readonly
Singleton
<Func<BinaryReader, object>> sqlGeometryFromBinaryReader = new Singleton<Func<BinaryReader, object>>(() => CreateBinaryReadDelegate(SqlProviderServices.GetSqlTypesAssembly().SqlGeometryType));
System\Data\SqlClient\SqlSpatialServices.cs (1)
36
private readonly
Singleton
<SqlTypesAssembly> _sqlTypesAssemblySingleton;
System\Data\SqlClient\SqlSpatialServices.Generated.cs (111)
932
private
Singleton
<MethodInfo> smi_SqlGeography_Parse;
934
private
Singleton
<MethodInfo> smi_SqlGeography_STGeomFromText;
936
private
Singleton
<MethodInfo> smi_SqlGeography_STPointFromText;
938
private
Singleton
<MethodInfo> smi_SqlGeography_STLineFromText;
940
private
Singleton
<MethodInfo> smi_SqlGeography_STPolyFromText;
942
private
Singleton
<MethodInfo> smi_SqlGeography_STMPointFromText;
944
private
Singleton
<MethodInfo> smi_SqlGeography_STMLineFromText;
946
private
Singleton
<MethodInfo> smi_SqlGeography_STMPolyFromText;
948
private
Singleton
<MethodInfo> smi_SqlGeography_STGeomCollFromText;
950
private
Singleton
<MethodInfo> smi_SqlGeography_STGeomFromWKB;
952
private
Singleton
<MethodInfo> smi_SqlGeography_STPointFromWKB;
954
private
Singleton
<MethodInfo> smi_SqlGeography_STLineFromWKB;
956
private
Singleton
<MethodInfo> smi_SqlGeography_STPolyFromWKB;
958
private
Singleton
<MethodInfo> smi_SqlGeography_STMPointFromWKB;
960
private
Singleton
<MethodInfo> smi_SqlGeography_STMLineFromWKB;
962
private
Singleton
<MethodInfo> smi_SqlGeography_STMPolyFromWKB;
964
private
Singleton
<MethodInfo> smi_SqlGeography_STGeomCollFromWKB;
966
private
Singleton
<MethodInfo> smi_SqlGeography_GeomFromGml;
968
private
Singleton
<PropertyInfo> ipi_SqlGeography_STSrid;
970
private
Singleton
<MethodInfo> imi_SqlGeography_STGeometryType;
972
private
Singleton
<MethodInfo> imi_SqlGeography_STDimension;
974
private
Singleton
<MethodInfo> imi_SqlGeography_STAsBinary;
976
private
Singleton
<MethodInfo> imi_SqlGeography_AsGml;
978
private
Singleton
<MethodInfo> imi_SqlGeography_STAsText;
980
private
Singleton
<MethodInfo> imi_SqlGeography_STIsEmpty;
982
private
Singleton
<MethodInfo> imi_SqlGeography_STEquals;
984
private
Singleton
<MethodInfo> imi_SqlGeography_STDisjoint;
986
private
Singleton
<MethodInfo> imi_SqlGeography_STIntersects;
988
private
Singleton
<MethodInfo> imi_SqlGeography_STBuffer;
990
private
Singleton
<MethodInfo> imi_SqlGeography_STDistance;
992
private
Singleton
<MethodInfo> imi_SqlGeography_STIntersection;
994
private
Singleton
<MethodInfo> imi_SqlGeography_STUnion;
996
private
Singleton
<MethodInfo> imi_SqlGeography_STDifference;
998
private
Singleton
<MethodInfo> imi_SqlGeography_STSymDifference;
1000
private
Singleton
<MethodInfo> imi_SqlGeography_STNumGeometries;
1002
private
Singleton
<MethodInfo> imi_SqlGeography_STGeometryN;
1004
private
Singleton
<PropertyInfo> ipi_SqlGeography_Lat;
1006
private
Singleton
<PropertyInfo> ipi_SqlGeography_Long;
1008
private
Singleton
<PropertyInfo> ipi_SqlGeography_Z;
1010
private
Singleton
<PropertyInfo> ipi_SqlGeography_M;
1012
private
Singleton
<MethodInfo> imi_SqlGeography_STLength;
1014
private
Singleton
<MethodInfo> imi_SqlGeography_STStartPoint;
1016
private
Singleton
<MethodInfo> imi_SqlGeography_STEndPoint;
1018
private
Singleton
<MethodInfo> imi_SqlGeography_STIsClosed;
1020
private
Singleton
<MethodInfo> imi_SqlGeography_STNumPoints;
1022
private
Singleton
<MethodInfo> imi_SqlGeography_STPointN;
1024
private
Singleton
<MethodInfo> imi_SqlGeography_STArea;
1026
private
Singleton
<MethodInfo> smi_SqlGeometry_Parse;
1028
private
Singleton
<MethodInfo> smi_SqlGeometry_STGeomFromText;
1030
private
Singleton
<MethodInfo> smi_SqlGeometry_STPointFromText;
1032
private
Singleton
<MethodInfo> smi_SqlGeometry_STLineFromText;
1034
private
Singleton
<MethodInfo> smi_SqlGeometry_STPolyFromText;
1036
private
Singleton
<MethodInfo> smi_SqlGeometry_STMPointFromText;
1038
private
Singleton
<MethodInfo> smi_SqlGeometry_STMLineFromText;
1040
private
Singleton
<MethodInfo> smi_SqlGeometry_STMPolyFromText;
1042
private
Singleton
<MethodInfo> smi_SqlGeometry_STGeomCollFromText;
1044
private
Singleton
<MethodInfo> smi_SqlGeometry_STGeomFromWKB;
1046
private
Singleton
<MethodInfo> smi_SqlGeometry_STPointFromWKB;
1048
private
Singleton
<MethodInfo> smi_SqlGeometry_STLineFromWKB;
1050
private
Singleton
<MethodInfo> smi_SqlGeometry_STPolyFromWKB;
1052
private
Singleton
<MethodInfo> smi_SqlGeometry_STMPointFromWKB;
1054
private
Singleton
<MethodInfo> smi_SqlGeometry_STMLineFromWKB;
1056
private
Singleton
<MethodInfo> smi_SqlGeometry_STMPolyFromWKB;
1058
private
Singleton
<MethodInfo> smi_SqlGeometry_STGeomCollFromWKB;
1060
private
Singleton
<MethodInfo> smi_SqlGeometry_GeomFromGml;
1062
private
Singleton
<PropertyInfo> ipi_SqlGeometry_STSrid;
1064
private
Singleton
<MethodInfo> imi_SqlGeometry_STGeometryType;
1066
private
Singleton
<MethodInfo> imi_SqlGeometry_STDimension;
1068
private
Singleton
<MethodInfo> imi_SqlGeometry_STEnvelope;
1070
private
Singleton
<MethodInfo> imi_SqlGeometry_STAsBinary;
1072
private
Singleton
<MethodInfo> imi_SqlGeometry_AsGml;
1074
private
Singleton
<MethodInfo> imi_SqlGeometry_STAsText;
1076
private
Singleton
<MethodInfo> imi_SqlGeometry_STIsEmpty;
1078
private
Singleton
<MethodInfo> imi_SqlGeometry_STIsSimple;
1080
private
Singleton
<MethodInfo> imi_SqlGeometry_STBoundary;
1082
private
Singleton
<MethodInfo> imi_SqlGeometry_STIsValid;
1084
private
Singleton
<MethodInfo> imi_SqlGeometry_STEquals;
1086
private
Singleton
<MethodInfo> imi_SqlGeometry_STDisjoint;
1088
private
Singleton
<MethodInfo> imi_SqlGeometry_STIntersects;
1090
private
Singleton
<MethodInfo> imi_SqlGeometry_STTouches;
1092
private
Singleton
<MethodInfo> imi_SqlGeometry_STCrosses;
1094
private
Singleton
<MethodInfo> imi_SqlGeometry_STWithin;
1096
private
Singleton
<MethodInfo> imi_SqlGeometry_STContains;
1098
private
Singleton
<MethodInfo> imi_SqlGeometry_STOverlaps;
1100
private
Singleton
<MethodInfo> imi_SqlGeometry_STRelate;
1102
private
Singleton
<MethodInfo> imi_SqlGeometry_STBuffer;
1104
private
Singleton
<MethodInfo> imi_SqlGeometry_STDistance;
1106
private
Singleton
<MethodInfo> imi_SqlGeometry_STConvexHull;
1108
private
Singleton
<MethodInfo> imi_SqlGeometry_STIntersection;
1110
private
Singleton
<MethodInfo> imi_SqlGeometry_STUnion;
1112
private
Singleton
<MethodInfo> imi_SqlGeometry_STDifference;
1114
private
Singleton
<MethodInfo> imi_SqlGeometry_STSymDifference;
1116
private
Singleton
<MethodInfo> imi_SqlGeometry_STNumGeometries;
1118
private
Singleton
<MethodInfo> imi_SqlGeometry_STGeometryN;
1120
private
Singleton
<PropertyInfo> ipi_SqlGeometry_STX;
1122
private
Singleton
<PropertyInfo> ipi_SqlGeometry_STY;
1124
private
Singleton
<PropertyInfo> ipi_SqlGeometry_Z;
1126
private
Singleton
<PropertyInfo> ipi_SqlGeometry_M;
1128
private
Singleton
<MethodInfo> imi_SqlGeometry_STLength;
1130
private
Singleton
<MethodInfo> imi_SqlGeometry_STStartPoint;
1132
private
Singleton
<MethodInfo> imi_SqlGeometry_STEndPoint;
1134
private
Singleton
<MethodInfo> imi_SqlGeometry_STIsClosed;
1136
private
Singleton
<MethodInfo> imi_SqlGeometry_STIsRing;
1138
private
Singleton
<MethodInfo> imi_SqlGeometry_STNumPoints;
1140
private
Singleton
<MethodInfo> imi_SqlGeometry_STPointN;
1142
private
Singleton
<MethodInfo> imi_SqlGeometry_STArea;
1144
private
Singleton
<MethodInfo> imi_SqlGeometry_STCentroid;
1146
private
Singleton
<MethodInfo> imi_SqlGeometry_STPointOnSurface;
1148
private
Singleton
<MethodInfo> imi_SqlGeometry_STExteriorRing;
1150
private
Singleton
<MethodInfo> imi_SqlGeometry_STNumInteriorRing;
1152
private
Singleton
<MethodInfo> imi_SqlGeometry_STInteriorRingN;
System\Data\SqlClient\SqlTypesAssembly.cs (1)
146
private static
Singleton
<SqlTypesAssembly> latestVersion = new Singleton<SqlTypesAssembly>(BindToLatest);