3 writes to PrivateNamesUsed
System.Management (3)
202 references to PrivateNamesUsed
System.Management (202)
WmiGenerator.cs (202)
271cc = new CodeTypeDeclaration (PrivateNamesUsed["GeneratedClassName"].ToString());
273cc.BaseTypes.Add(new CodeTypeReference(PrivateNamesUsed["ComponentClass"].ToString()));
309GeneratePrivateMember(PrivateNamesUsed["CreationWmiNamespace"].ToString(),"System.String",
315GeneratePrivateMember(PrivateNamesUsed["CreationClassName"].ToString(),"System.String",
324PrivateNamesUsed["SystemPropertiesObject"].ToString(),true,true,
333PrivateNamesUsed["CurrentObject"].ToString(),true,false,
357new CodeSnippetExpression(PrivateNamesUsed["AutoCommitProperty"].ToString()),false,
373GeneratePrivateMember(PrivateNamesUsed["statMgmtScope"].ToString(),PublicNamesUsed["ScopeClass"].ToString(),
377GeneratePublicProperty(PrivateNamesUsed["staticScope"].ToString(),PublicNamesUsed["ScopeClass"].ToString(),
378new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString()),true, GetString("COMMENT_STATICSCOPEPROPERTY"),true);
474GeneratePrivateMember(PrivateNamesUsed["SystemPropertiesObject"].ToString(),PublicNamesUsed["SystemPropertiesClass"].ToString(),null);
477GeneratePrivateMember(PrivateNamesUsed["LateBoundObject"].ToString(),PublicNamesUsed["LateBoundClass"].ToString(),GetString("COMMENT_LATEBOUNDOBJ"));
480GeneratePrivateMember(PrivateNamesUsed["AutoCommitProperty"].ToString(),"System.Boolean" ,new CodePrimitiveExpression(true),false,GetString("COMMENT_PRIVAUTOCOMMIT"));
483GeneratePrivateMember(PrivateNamesUsed["EmbeddedObject"].ToString(),PublicNamesUsed["BaseObjClass"].ToString(),GetString("COMMENT_EMBEDDEDOBJ"));
486GeneratePrivateMember(PrivateNamesUsed["CurrentObject"].ToString(),PublicNamesUsed["BaseObjClass"].ToString(),GetString("COMMENT_CURRENTOBJ"));
489GeneratePrivateMember(PrivateNamesUsed["IsEmbedded"].ToString(),"System.Boolean",new CodePrimitiveExpression(false),false,GetString("COMMENT_FLAGFOREMBEDDED"));
683PrivateNamesUsed.Add("SystemPropertiesObject","PrivateSystemProperties");
684PrivateNamesUsed.Add("LateBoundObject","PrivateLateBoundObject");
685PrivateNamesUsed.Add("AutoCommitProperty","AutoCommitProp");
686PrivateNamesUsed.Add("Privileges","EnablePrivileges");
687PrivateNamesUsed.Add("ComponentClass","System.ComponentModel.Component");
688PrivateNamesUsed.Add("ScopeParam","mgmtScope");
689PrivateNamesUsed.Add("NullRefExcep","System.NullReferenceException");
690PrivateNamesUsed.Add("ConverterClass","WMIValueTypeConverter");
691PrivateNamesUsed.Add("EnumParam","enumOptions");
692PrivateNamesUsed.Add("CreationClassName" , "CreatedClassName");
693PrivateNamesUsed.Add("CreationWmiNamespace" , "CreatedWmiNamespace");
694PrivateNamesUsed.Add("ClassNameCheckFunc","CheckIfProperClass");
695PrivateNamesUsed.Add("EmbeddedObject","embeddedObj");
696PrivateNamesUsed.Add("CurrentObject","curObj");
697PrivateNamesUsed.Add("IsEmbedded","isEmbedded");
698PrivateNamesUsed.Add("ToDateTimeMethod","ToDateTime");
699PrivateNamesUsed.Add("ToDMTFDateTimeMethod" , "ToDmtfDateTime");
700PrivateNamesUsed.Add("ToDMTFTimeIntervalMethod" , "ToDmtfTimeInterval");
701PrivateNamesUsed.Add("ToTimeSpanMethod" , "ToTimeSpan");
702PrivateNamesUsed.Add("SetMgmtScope" , "SetStaticManagementScope");
703PrivateNamesUsed.Add("statMgmtScope" , "statMgmtScope");
704PrivateNamesUsed.Add("staticScope" , "StaticScope");
705PrivateNamesUsed.Add("initVariable", "Initialize");
706PrivateNamesUsed.Add("putOptions", "putOptions");
707PrivateNamesUsed.Add("InitialObjectFunc" , "InitializeObject");
771PrivateNamesUsed.SetByIndex(nIndex,ResolveCollision(s,false));
783PrivateNamesUsed.SetByIndex(nIndex,ResolveCollision(s,false));
802string strTemp = PrivateNamesUsed["GeneratedClassName"].ToString()+"Collection";
803PrivateNamesUsed.Add("CollectionClass",ResolveCollision(strTemp,true));
805strTemp = PrivateNamesUsed["GeneratedClassName"].ToString()+"Enumerator";
806PrivateNamesUsed.Add("EnumeratorClass",ResolveCollision(strTemp,true));
928PrivateNamesUsed.Add ("GeneratedClassName", strClass);
929PrivateNamesUsed.Add("GeneratedNamespace",strNs);
942cn = new CodeNamespace(PrivateNamesUsed["GeneratedNamespace"].ToString());
1067PrivateNamesUsed["LateBoundObject"].ToString()),
1072cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString());
1085cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString());
1092cmie.Method.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
1139cctor.Statements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()),new CodeVariableReferenceExpression("ManagedObject")));
1189new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()),
1197cf.Name = PrivateNamesUsed["LateBoundObject"].ToString();
1287new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
1350caa.Value = new CodeTypeOfExpression (PrivateNamesUsed["ConverterClass"].ToString()) ;
1573cmie.Method.TargetObject = new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
1577cboe = new CodeBinaryOperatorExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["AutoCommitProperty"].ToString()),
1581CodeBinaryOperatorExpression cboe1 = new CodeBinaryOperatorExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString()),
2156cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2165cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2198cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2223cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2252cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2255cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2281new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString())));
2284cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2323cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2353cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2377cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2381cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2384cmieInit.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2403PrivateNamesUsed["ScopeParam"].ToString()));
2406cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2409cmieInit.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2411cmie.Method.TargetObject =new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2443cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2448cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2475PrivateNamesUsed["ScopeParam"].ToString()));
2482cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2485cmieInit.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2488cmie.Method.TargetObject = new CodeTypeReferenceExpression(PrivateNamesUsed["GeneratedClassName"].ToString());
2535cctor.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2540cmieInit.Method.MethodName = PrivateNamesUsed["InitialObjectFunc"].ToString();
2543cmieInit.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2586cmie.Method.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
2596new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()),
2601coce.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()));
2602cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["SystemPropertiesObject"].ToString()),coce));
2603cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
2604new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString())));
2651cmie.Method.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
2664new CodeVariableReferenceExpression(PrivateNamesUsed["EmbeddedObject"].ToString()),
2670cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["SystemPropertiesObject"].ToString()),coce));
2671cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
2672new CodeVariableReferenceExpression(PrivateNamesUsed["EmbeddedObject"].ToString())));
2674cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString()),
2720cmmInit.Name = PrivateNamesUsed["InitialObjectFunc"].ToString();
2723cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2739cmie.Method.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
2742cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2761coce.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
2765PrivateNamesUsed["LateBoundObject"].ToString()),
2769coce.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()));
2771PrivateNamesUsed["SystemPropertiesObject"].ToString()),
2774cmmInit.Statements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
2775new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString())));
2784new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()),
2849string strTemp = PrivateNamesUsed["LateBoundObject"].ToString();
2895cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString());
2914cocePath.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["CreationClassName"].ToString()));
2919coce1.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString()));
2936new CodeVariableReferenceExpression(bStatic ? strClassObj : PrivateNamesUsed["LateBoundObject"].ToString()),
2942PrivateNamesUsed["Privileges"].ToString(),cprePriveleges));
3236cis.TrueStatements.Add(new CodeAssignStatement(cprePriveleges, new CodeVariableReferenceExpression(PrivateNamesUsed["Privileges"].ToString())));
3336cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3366cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3397cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3429cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3476cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3477cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3479PrivateNamesUsed["EnumParam"].ToString()));
3488cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString());
3495cboe1.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString());
3502cis1.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),coce));
3505new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),
3510cis1.FalseStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),
3511new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString())));
3533coce.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
3542cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString());
3549cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString()),
3552new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString()),
3560coce.CreateType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3564cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString()));
3587cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3588cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3596cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
3619cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3620cmm.Parameters.Add(new CodeParameterDeclarationExpression(PublicNamesUsed["ScopeClass"].ToString(),PrivateNamesUsed["ScopeParam"].ToString()));
3628cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
3660cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3662cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3668cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString());
3676cboe1.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString());
3683cis1.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),coce));
3686new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),
3690cis1.FalseStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),
3691new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString())));
3704coce.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
3715PrivateNamesUsed["EnumParam"].ToString(),coce));
3718new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString()),
3727new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString())));
3730coce.CreateType = new CodeTypeReference(PrivateNamesUsed["CollectionClass"].ToString());
3800CodeTypeDeclaration CodeConvertorClass = new CodeTypeDeclaration(PrivateNamesUsed["ConverterClass"].ToString());
4302ccc = new CodeTypeDeclaration(PrivateNamesUsed["CollectionClass"].ToString());
4449coce.CreateType = new CodeTypeReference(PrivateNamesUsed["GeneratedClassName"].ToString());
4471coce.CreateType = new CodeTypeReference(PrivateNamesUsed["EnumeratorClass"].ToString());
4517ecc = new CodeTypeDeclaration(PrivateNamesUsed["EnumeratorClass"].ToString());
4563coce.CreateType = new CodeTypeReference(PrivateNamesUsed["GeneratedClassName"].ToString());
4824return PrivateNamesUsed["GeneratedNamespace"].ToString() + "." +
4825PrivateNamesUsed["GeneratedClassName"].ToString();
5063cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString());
5069cmie.Method.TargetObject = new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
5084cpde.Name = PrivateNamesUsed["putOptions"].ToString();
5097cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString());
5103cmie.Method.TargetObject = new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
5105cmie.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["putOptions"].ToString()));
5440new CodeVariableReferenceExpression(PrivateNamesUsed["CreationClassName"].ToString())));
5445cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString());
5453cboe1.Left = new CodePropertyReferenceExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
5463new CodeIndexerExpression(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
5486new CodeVariableReferenceExpression(PrivateNamesUsed["CreationClassName"].ToString())));
5506cmm.Name = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
5510cmm.Parameters.Add(new CodeParameterDeclarationExpression(new CodeTypeReference(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
5552coce.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()));
5557cmre.MethodName = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
5580cmm.Name = PrivateNamesUsed["ClassNameCheckFunc"].ToString();
5996cmie.Method.MethodName = PrivateNamesUsed["ToDateTimeMethod"].ToString();
6018cmie.Method.MethodName = PrivateNamesUsed["ToTimeSpanMethod"].ToString();
6046cmie1.Method.MethodName = PrivateNamesUsed["ToDMTFDateTimeMethod"].ToString();
6054cmie2.Method.MethodName = PrivateNamesUsed["ToDMTFTimeIntervalMethod"].ToString();
6097cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString());
6103new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()),"Scope");
6111cboe.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString());
6299cmm.ReturnType = new CodeTypeReference(PrivateNamesUsed["GeneratedClassName"].ToString());
6318cboe1.Left = new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString());
6330new CodeVariableReferenceExpression(PrivateNamesUsed["CreationWmiNamespace"].ToString())));
6334new CodeVariableReferenceExpression(PrivateNamesUsed["statMgmtScope"].ToString())));
6341cocePath.Parameters.Add(new CodeVariableReferenceExpression(PrivateNamesUsed["CreationClassName"].ToString()));
6358coce.CreateType = new CodeTypeReference(PrivateNamesUsed["GeneratedClassName"].ToString());
6391cmie1.Method.TargetObject = new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString());
6439cmmdt.Name = PrivateNamesUsed["ToDateTimeMethod"].ToString();
6890cmmts.Name = PrivateNamesUsed["ToDMTFTimeIntervalMethod"].ToString();
7152cmmdt.Name = PrivateNamesUsed["ToDMTFDateTimeMethod"].ToString();
7479cmmts.Name = PrivateNamesUsed["ToTimeSpanMethod"].ToString();
7799cmieInit.Method.MethodName = PrivateNamesUsed["initVariable"].ToString();
7808cmmInit.Name = PrivateNamesUsed["initVariable"].ToString();
7813cmmInit.Statements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["AutoCommitProperty"].ToString()),
7815cmmInit.Statements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString()),