当前位置: 首页>>代码示例>>C#>>正文


C# Org类代码示例

本文整理汇总了C#中Org的典型用法代码示例。如果您正苦于以下问题:C# Org类的具体用法?C# Org怎么用?C# Org使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Org类属于命名空间,在下文中一共展示了Org类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Append

 public override void Append(ref Dictionary<string, object> variables, Org.Reddragonit.Stringtemplate.Outputs.IOutputWriter writer)
 {
     object obj = Utility.LocateObjectInVariables(val, variables);
     if (obj == null)
         throw new Exception("Unable to locate a variable of the name " + val + " in order to extract the type name");
     writer.Append(obj.GetType().FullName);
 }
开发者ID:marquismark,项目名称:stringtemplate,代码行数:7,代码来源:TypeName.cs

示例2: IsValid

 public bool IsValid(Org.BouncyCastle.Asn1.X509.X509CertificateStructure[] certs)
 {
     if (OnVerifyCertificate != null)
         return OnVerifyCertificate(certs);
     else
         return true;
 }
开发者ID:phiree,项目名称:dzdocs,代码行数:7,代码来源:CertificateVerifier.cs

示例3: Append

 public override void  Append(ref Dictionary<string,object> variables, Org.Reddragonit.Stringtemplate.Outputs.IOutputWriter writer)
 {
     object obj = Utility.LocateObjectInVariables(_variable, variables);
     _format = (Utility.LocateObjectInVariables(_format, variables) != null ? Utility.LocateObjectInVariables(_format, variables) : _format).ToString();
     if (obj != null)
         writer.Append(((IFormattable)Utility.LocateObjectInVariables(_variable, variables)).ToString(_format, null));
 }
开发者ID:marquismark,项目名称:stringtemplate,代码行数:7,代码来源:Format.cs

示例4: GetChildren2Response

  public GetChildren2Response(
  System.Collections.Generic.IEnumerable<string> children
,
  Org.Apache.Zookeeper.Data.Stat stat
) {
Children=children;
Stat=stat;
  }
开发者ID:CMTelecom,项目名称:kafka-net,代码行数:8,代码来源:GetChildren2Response.cs

示例5: GetACLResponse

  public GetACLResponse(
  System.Collections.Generic.IEnumerable<Org.Apache.Zookeeper.Data.ACL> acl
,
  Org.Apache.Zookeeper.Data.Stat stat
) {
Acl=acl;
Stat=stat;
  }
开发者ID:CMTelecom,项目名称:kafka-net,代码行数:8,代码来源:GetACLResponse.cs

示例6: PkcsCertificate

 /// <summary>
 /// Public constructor for a Pkcs certificate, takes in values to describe it's state.
 /// </summary>
 /// <param name="password">The value used to secure (encrypt) the private key with the certificate</param>
 /// <param name="keypair">An object used for manipulating/accessing the public and private key of a certificate</param>
 /// <param name="cert">An easy to manipulate version of an X509 certificate</param>
 /// <param name="store">A store of Pkcs12 certificates used to store and manipulate certificat chains and key associations</param>
 public PkcsCertificate(string password ,AsymmetricCipherKeyPair keypair, Org.BouncyCastle.X509.X509Certificate cert, Pkcs12Store store)
 {
     this.Password = password;
     this.Keypair = keypair;
     this.X509Certificate = cert;
     this.PkcsStore = store;
     // this is not the best place to do this
 }
开发者ID:hughshanahan,项目名称:GWydiR,代码行数:15,代码来源:PkcsCertificate.cs

示例7: GetAttributeSet

 public static Asn1Set GetAttributeSet(Org.BouncyCastle.Asn1.Cms.AttributeTable attr)
 {
     if (attr != null)
     {
         return new DerSet(attr.ToAsn1EncodableVector());
     }
     return null;
 }
开发者ID:bibou1324,项目名称:clienteafirma,代码行数:8,代码来源:SigUtils.cs

示例8: GetDataResponse

  public GetDataResponse(
  byte[] data
,
  Org.Apache.Zookeeper.Data.Stat stat
) {
Data=data;
Stat=stat;
  }
开发者ID:CMTelecom,项目名称:kafka-net,代码行数:8,代码来源:GetDataResponse.cs

示例9: ACL

  public ACL(
  int perms
,
  Org.Apache.Zookeeper.Data.ZKId id
) {
Perms=perms;
Id=id;
  }
开发者ID:CMTelecom,项目名称:kafka-net,代码行数:8,代码来源:ACL.cs

示例10: ToByteArray

		public static byte[] ToByteArray(Org.BouncyCastle.Math.BigInteger bigint, int expectedLength)
		{
			byte[] data = bigint.ToByteArray ();
			if (data.Length == expectedLength + 1) {
				return data.Skip (1).Take (expectedLength).ToArray ();
			}
			return data;
		}
开发者ID:lukedoolittle,项目名称:telehash.net,代码行数:8,代码来源:Helpers.cs

示例11: CodelistExporter

 public CodelistExporter(string code,Org.Sdmxsource.Sdmx.Api.Model.Objects.Codelist.ICodelistObject codelist)
 {
     _codelist = codelist;
     _code = code;
     _xmlDoc = null;
     _dataFilename = string.Empty;
     _dataView = null;
 }
开发者ID:alcardac,项目名称:SDMX_BUILD_LOAD,代码行数:8,代码来源:Exporter.cs

示例12: AddOrg

 public int AddOrg(string orgCode)
 {
     CQGJModel.Org org = new Org();
     org.OrgCode = orgCode;
     cqgj.AddToOrg(org);
     cqgj.SaveChanges();
     return org.OrgID;
 }
开发者ID:dalinhuang,项目名称:cqgj,代码行数:8,代码来源:CQGJWebServices.asmx.cs

示例13: CanLoad

		public bool CanLoad(Org.Reddragonit.Stringtemplate.Tokenizers.Token token)
		{
			foreach(char c in _reserved)
			{
				if (token.Content.Contains(c.ToString()))
					return false;
			}
			return true;
		}
开发者ID:marquismark,项目名称:stringtemplate,代码行数:9,代码来源:ParameterComponent.cs

示例14: Serialize

        public static void Serialize(string fileName, Org.Apache.REEF.Tang.Implementations.InjectionPlan.InjectionPlan ip)
        {
            Org.Apache.REEF.Tang.Protobuf.InjectionPlan plan = Serialize(ip);

            using (var file = File.Create(fileName))
            {
                Serializer.Serialize<Org.Apache.REEF.Tang.Protobuf.InjectionPlan>(file, plan);
            }
        }
开发者ID:kijungs,项目名称:incubator-reef,代码行数:9,代码来源:ProtocolBufferInjectionPlan.cs

示例15: ComponentObjectBaseCore

		public ComponentObjectBaseCore(Org.Sdmxsource.Sdmx.Api.Model.Objects.Base.IComponent componentBean,
				ICodelistObjectBase codeListBean1, IConceptObjectBase conceptSuperBean2) : base(componentBean) {
			this.Icomponent = componentBean;
			this.Icodelist = codeListBean1;
			if (codeListBean1 == null) {
				this.Icodelist = conceptSuperBean2.CoreRepresentation;
			}
			this.IconceptSuper = conceptSuperBean2;
		}
开发者ID:alcardac,项目名称:SDMXRI_WS_OF,代码行数:9,代码来源:ComponentSuperBeanImpl.cs


注:本文中的Org类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。