Exemplo n.º 1
0
 public SecurityDeclaration FromByteArray(SecurityAction action, byte [] declaration)
 {
     if (m_secReader == null)
     {
         m_secReader = new SecurityDeclarationReader(Image.MetadataRoot, m_controller.Reader);
     }
     return(m_secReader.FromByteArray(action, declaration));
 }
 public SecurityDeclaration BuildSecurityDeclaration(Mono.Cecil.SecurityAction action, byte [] permset)
 {
     if (m_secReader == null)
     {
         m_secReader = new SecurityDeclarationReader(m_root, this);
     }
     return(m_secReader.FromByteArray(action, permset));
 }
Exemplo n.º 3
0
		internal SecurityDeclaration (SecurityAction action, SecurityDeclarationReader reader)
		{
			m_action = action;
			m_reader = reader;
		}
Exemplo n.º 4
0
 internal SecurityDeclaration(SecurityAction action, SecurityDeclarationReader reader)
 {
     m_action = action;
     m_reader = reader;
 }
Exemplo n.º 5
0
        public SecurityDeclaration BuildSecurityDeclaration(SecurityAction action, byte [] permset)
        {
            if (m_secReader == null)
                m_secReader = new SecurityDeclarationReader (m_root, this);

            return m_secReader.FromByteArray (action, permset);
        }
Exemplo n.º 6
0
 public SecurityDeclaration FromByteArray(SecurityAction action, byte [] declaration)
 {
     if (m_secReader == null)
         m_secReader = new SecurityDeclarationReader (Image.MetadataRoot, m_controller.Reader);
     return m_secReader.FromByteArray (action, declaration);
 }