196 references to CimType
System.Management (196)
Instrumentation\SchemaMapping.cs (23)
191
props.Add("ProcessId",
CimType
.String, false);
192
props.Add("InstanceId",
CimType
.String, false);
462
CimType
cimtype =
CimType
.String;
488
CimType
cimType = prop.Type;
511
cimtype =
CimType
.Object;
513
cimtype =
CimType
.Object;
515
cimtype =
CimType
.Object;
517
cimtype =
CimType
.SInt8;
519
cimtype =
CimType
.UInt8;
521
cimtype =
CimType
.SInt16;
523
cimtype =
CimType
.UInt16;
525
cimtype =
CimType
.SInt32;
527
cimtype =
CimType
.UInt32;
529
cimtype =
CimType
.SInt64;
531
cimtype =
CimType
.UInt64;
533
cimtype =
CimType
.Real32;
535
cimtype =
CimType
.Real64;
537
cimtype =
CimType
.Boolean;
539
cimtype =
CimType
.String;
541
cimtype =
CimType
.Char16;
543
cimtype =
CimType
.DateTime;
545
cimtype =
CimType
.DateTime;
Instrumentation\SchemaRegistration.cs (12)
625
props.Add("InstrumentedAssembliesClassName", InstrumentedAssembliesClassName,
CimType
.String);
650
props.Add("Name",
CimType
.String, false);
653
props.Add("RegisteredBuild",
CimType
.String, false);
654
props.Add("FullName",
CimType
.String, false);
655
props.Add("PathToAssembly",
CimType
.String, false);
656
props.Add("Code",
CimType
.String, false);
657
props.Add("Mof",
CimType
.String, false);
666
props.Add("NamespaceName",
CimType
.String, false);
677
props.Add("HostingModel", "Decoupled:Com",
CimType
.String);
678
props.Add("SecurityDescriptor",
CimType
.String, false);
679
props.Add("Version", 1,
CimType
.UInt32);
689
props.Add("Assembly",
CimType
.String, false);
property.cs (82)
140
(
CimType
)(propertyType & ~(int)tag_CIMTYPE_ENUMERATION.CIM_FLAG_ARRAY),
147
(
CimType
)(propertyType & ~(int)tag_CIMTYPE_ENUMERATION.CIM_FLAG_ARRAY),
173
/// <para>A <see cref='System.Management.
CimType
'/> value
176
public
CimType
Type {
179
return (
CimType
)(propertyType & ~(int)tag_CIMTYPE_ENUMERATION.CIM_FLAG_ARRAY);
272
internal static object MapWmiValueToValue(object wmiValue,
CimType
type, bool isArray)
285
case
CimType
.UInt16:
292
case
CimType
.UInt32:
299
case
CimType
.UInt64:
306
case
CimType
.SInt8:
313
case
CimType
.SInt64:
320
case
CimType
.Char16:
327
case
CimType
.Object:
343
case
CimType
.SInt8:
347
case
CimType
.UInt16:
351
case
CimType
.UInt32:
355
case
CimType
.UInt64:
359
case
CimType
.SInt64:
363
case
CimType
.Char16:
367
case
CimType
.Object:
387
internal static object MapValueToWmiValue(object val,
CimType
type, bool isArray)
400
case
CimType
.SInt8:
406
case
CimType
.UInt8:
417
case
CimType
.SInt16:
428
case
CimType
.UInt16:
434
case
CimType
.SInt32:
445
case
CimType
.UInt32:
451
case
CimType
.SInt64:
457
case
CimType
.UInt64:
463
case
CimType
.Real32:
474
case
CimType
.Real64:
485
case
CimType
.Char16:
491
case
CimType
.String:
492
case
CimType
.DateTime:
493
case
CimType
.Reference:
504
case
CimType
.Boolean:
515
case
CimType
.Object:
538
case
CimType
.SInt8:
542
case
CimType
.UInt8:
546
case
CimType
.SInt16:
550
case
CimType
.UInt16:
554
case
CimType
.SInt32:
558
case
CimType
.UInt32:
562
case
CimType
.SInt64:
566
case
CimType
.UInt64:
570
case
CimType
.Real32:
574
case
CimType
.Real64:
578
case
CimType
.Char16:
582
case
CimType
.String:
583
case
CimType
.DateTime:
584
case
CimType
.Reference:
588
case
CimType
.Boolean:
592
case
CimType
.Object:
619
internal static object MapValueToWmiValue(object val, out bool isArray, out
CimType
type)
642
type =
CimType
.UInt8;
652
type =
CimType
.SInt8;
660
type =
CimType
.Boolean;
667
type =
CimType
.UInt16;
675
type =
CimType
.SInt16;
680
type =
CimType
.SInt32;
687
type =
CimType
.UInt32;
697
type =
CimType
.UInt64;
707
type =
CimType
.SInt64;
715
type =
CimType
.Real32;
720
type =
CimType
.Real64;
727
type =
CimType
.Char16;
739
type =
CimType
.String;
749
type =
CimType
.Object;
769
type =
CimType
.UInt16;
774
type =
CimType
.UInt32;
782
type =
CimType
.UInt64;
787
type =
CimType
.SInt8;
792
type =
CimType
.UInt8;
797
type =
CimType
.SInt16;
802
type =
CimType
.SInt32;
807
type =
CimType
.SInt64;
812
type =
CimType
.Boolean;
817
type =
CimType
.Real32;
822
type =
CimType
.Real64;
827
type =
CimType
.Char16;
832
type =
CimType
.String;
840
type =
CimType
.Object;
propertyset.cs (3)
412
CimType
cimType = 0;
443
public void Add(string propertyName, Object propertyValue,
CimType
propertyType)
485
public void Add(string propertyName,
CimType
propertyType, bool isArray)
WmiGenerator.cs (76)
1235
if(prop.Type ==
CimType
.DateTime)
1358
if(prop.Type !=
CimType
.DateTime)
1441
if (prop.Type ==
CimType
.Reference)
1449
if (prop.Type ==
CimType
.DateTime)
1501
if (prop.Type ==
CimType
.Reference)
1509
if (prop.Type ==
CimType
.DateTime)
2836
CimType
cimRetType =
CimType
.SInt8; // Initialized to remove warnings
2975
if( prop.Type ==
CimType
.DateTime)
3003
if (prop.Type ==
CimType
.Reference)
3010
if (prop.Type ==
CimType
.DateTime)
3089
if( prop.Type ==
CimType
.DateTime)
3107
if( prop.Type ==
CimType
.DateTime)
3120
if (prop.Type ==
CimType
.Reference)
3127
if (prop.Type ==
CimType
.DateTime)
3142
if(prop.IsArray || prop.Type ==
CimType
.Object)
3162
if(prop.Type ==
CimType
.DateTime && prop.IsArray == false)
4651
private CodeTypeReference ConvertCIMType(
CimType
cType,bool isArray)
4656
case
CimType
.SInt8:
4661
case
CimType
.UInt8: //
4666
case
CimType
.SInt16:
4671
case
CimType
.UInt16:
4683
case
CimType
.SInt32:
4688
case
CimType
.UInt32:
4700
case
CimType
.SInt64:
4705
case
CimType
.UInt64:
4717
case
CimType
.Real32:
4722
case
CimType
.Real64:
4727
case
CimType
.Boolean:
4732
case
CimType
.String:
4737
case
CimType
.DateTime:
4742
case
CimType
.Reference:
4747
case
CimType
.Char16:
4752
case
CimType
.Object:
4772
private static bool isTypeInt(
CimType
cType)
4777
case
CimType
.UInt8: //
4778
case
CimType
.UInt16:
4779
case
CimType
.UInt32: // FIXX VB code generator cannot have Long enumerators
4780
case
CimType
.SInt8:
4781
case
CimType
.SInt16:
4782
case
CimType
.SInt32:
4787
case
CimType
.SInt64:
4788
case
CimType
.UInt64:
4789
case
CimType
.Real32:
4790
case
CimType
.Real64:
4791
case
CimType
.Boolean:
4792
case
CimType
.String:
4793
case
CimType
.DateTime:
4794
case
CimType
.Reference:
4795
case
CimType
.Char16:
4796
case
CimType
.Object:
5144
String GetConversionFunction(
CimType
cimType)
5150
case
CimType
.UInt8:
5154
case
CimType
.SInt8:
5158
case
CimType
.SInt16:
5162
case
CimType
.UInt16:
5173
case
CimType
.SInt32:
5178
case
CimType
.UInt32:
5190
case
CimType
.SInt64:
5195
case
CimType
.UInt64:
5207
case
CimType
.Real32:
5212
case
CimType
.Real64:
5217
case
CimType
.Boolean:
5223
case
CimType
.Char16:
5229
case
CimType
.String:
5255
private static bool IsPropertyValueType(
CimType
cType)
5260
case
CimType
.String:
5261
case
CimType
.Reference:
5262
case
CimType
.Object:
5293
private static string ConvertToNumericValueAndAddToArray(
CimType
cimType, string numericValue,ArrayList arrayToAdd,out string enumType)
5300
case
CimType
.UInt8:
5301
case
CimType
.SInt8:
5302
case
CimType
.SInt16:
5303
case
CimType
.UInt16:
5304
case
CimType
.SInt32:
5310
case
CimType
.UInt32: