Format:
Recent snippets matching tags of Virtual
NameVirtualHost www.domain.local <VirtualHost www.domain.local> DocumentRoot "C:\Documents and Settings\Aria Radmand\" ServerName www.domain.local </VirtualHost> <Directory "C:\Documents and Settings\Aria Radmand\"> DirectoryIndex index.php AllowOverride All Order allow,deny Allow from all
64 Views
no comments
private IEnumerable<MemberInfo> GetImportMembers(Type type) { var local = new HashSet<string>(); if (type.IsAbstract) { yield break; } foreach (var member in GetDeclaredOnlyImportMembers(type)) {
309 Views
no comments
namespace Entity { public interface IBase { string Name { get; } } [Export("Base2", typeof(IBase))] [PartCreationPolicy(CreationPolicy.NonShared)] public class Base2 : IBase
368 Views
no comments
//this is the MEF Team Code namespace System.ComponentModel.Composition.AttributedModel { internal class AttributedPartCreationInfo : IReflectionPartCreationInfo { private IEnumerable<MemberInfo> GetImportMembers(Type type) { if (type.IsAbstract) { yield break;
314 Views
no comments
using System; namespace SharpVM { /// <summary> /// http://pastebin.com/f22e2c91 /// /// A little playground for VM and JIT testing. The basic idea is to have an instruction set that is /// EXTREMELY EASY to decode: we prefer more instructions versus complex decoding logic. For example, /// most opcodes have a W version that lets the last argument (usually a word) take up an entire
220 Views
no comments
************************************************************************ * wwProcess :: GetUrlBasePath **************************************** *** Function: Method responsible for establishing the base path *** for this application. *** Assume: *** Pass: *** Return: ************************************************************************ FUNCTION GetUrlBasePath()
404 Views
no comments
*-- CLASS IasWebServer *-- Some test code, demonstrating how the class works *-- Make sure that webserver.vcx can be found by this program *-- Also make sure that wwipstuff.dll can be found by this program CLEAR o = CREATEOBJECT("IasWebServer") *-- Ask for the physical path of the virtual root for the default website:
346 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
